Lines Matching +full:0 +full:xc100

26 #define SCSI_MAX_PROT_SG_SEGMENTS	0xFFFF
32 #define SCAN_WILD_CARD ~0
56 #define SCSI_W_LUN_BASE 0xc100
63 return (lun & 0xff00) == SCSI_W_LUN_BASE; in scsi_is_wlun()
76 if (status < 0) in scsi_status_is_check_condition()
78 status &= 0xfe; in scsi_status_is_check_condition()
85 #define EXTENDED_MODIFY_DATA_POINTER 0x00
86 #define EXTENDED_SDTR 0x01
87 #define EXTENDED_EXTENDED_IDENTIFY 0x02 /* SCSI-I only */
88 #define EXTENDED_WDTR 0x03
89 #define EXTENDED_PPR 0x04
90 #define EXTENDED_MODIFY_BIDI_DATA_PTR 0x05
96 NEEDS_RETRY = 0x2001,
97 SUCCESS = 0x2002,
98 FAILED = 0x2003,
99 QUEUED = 0x2004,
100 SOFT_ERROR = 0x2005,
101 ADD_TO_MLQUEUE = 0x2006,
102 TIMEOUT_ERROR = 0x2007,
103 SCSI_RETURN_NOT_HANDLED = 0x2008,
104 FAST_IO_FAIL = 0x2009,
110 #define SCSI_MLQUEUE_HOST_BUSY 0x1055
111 #define SCSI_MLQUEUE_DEVICE_BUSY 0x1056
112 #define SCSI_MLQUEUE_EH_RETRY 0x1057
113 #define SCSI_MLQUEUE_TARGET_BUSY 0x1058
124 #define status_byte(result) (result & 0xff)
125 #define host_byte(result) (((result) >> 16) & 0xff)
127 #define sense_class(sense) (((sense) >> 4) & 0x7)
128 #define sense_error(sense) ((sense) & 0xf)
129 #define sense_valid(sense) ((sense) & 0x80)
141 #define IDENTIFY_BASE 0x80
143 ((can_disconnect) ? 0x40 : 0) |\
144 ((lun) & 0x07))
153 #define SCSI_UNKNOWN 0
167 #define SCSI_INQ_PQ_CON 0x00
168 #define SCSI_INQ_PQ_NOT_CON 0x01
169 #define SCSI_INQ_PQ_NOT_CAP 0x03
175 * Note that include/linux/cdrom.h also defines IOCTL 0x5300 - 0x5395
179 #define SCSI_IOCTL_GET_IDLUN 0x5382
181 /* 0x5383 and 0x5384 were used for SCSI_IOCTL_TAGGED_{ENABLE,DISABLE} */
184 #define SCSI_IOCTL_PROBE_HOST 0x5385
187 #define SCSI_IOCTL_GET_BUS_NUMBER 0x5386
190 #define SCSI_IOCTL_GET_PCI 0x5387
202 if (status < 0) in scsi_status_is_good()
213 status &= 0xfe; in scsi_status_is_good()