Lines Matching +full:sense +full:- +full:mode
1 /* SPDX-License-Identifier: GPL-2.0 */
23 * DIX-capable adapters effectively support infinite chaining for the
35 * standard mode-select header prepended to all mode-select commands
40 __u8 medium; /* device-specific medium type */
43 __u8 density; /* device-specific density code */
54 * The Well Known LUNS (SAM-3) in our int representation of a LUN
67 * scsi_status_is_check_condition - check the status return.
87 #define EXTENDED_EXTENDED_IDENTIFY 0x02 /* SCSI-I only */
122 * host_byte = set by low-level driver to indicate status.
127 #define sense_class(sense) (((sense) >> 4) & 0x7) argument
128 #define sense_error(sense) ((sense) & 0xf) argument
129 #define sense_valid(sense) ((sense) & 0x80) argument
148 * prior to SCSI-2 (i.e. over 12 years old) this value is (resp[2] + 1)
175 * Note that include/linux/cdrom.h also defines IOCTL 0x5300 - 0x5395
192 /** scsi_status_is_good - check the status return.
209 * FIXME: bit0 is listed as reserved in SCSI-2, but is in scsi_status_is_good()
210 * significant in SCSI-3. For now, we follow the SCSI-2 in scsi_status_is_good()
216 /* Next two "intermediate" statuses are obsolete in SAM-4 */ in scsi_status_is_good()
219 /* FIXME: this is obsolete in SAM-3 */ in scsi_status_is_good()