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