Lines Matching +full:sense +full:- +full:mode
1 /* SPDX-License-Identifier: GPL-2.0 */
22 * DIX-capable adapters effectively support infinite chaining for the
34 * standard mode-select header prepended to all mode-select commands
39 __u8 medium; /* device-specific medium type */
42 __u8 density; /* device-specific density code */
53 * The Well Known LUNS (SAM-3) in our int representation of a LUN
74 #define EXTENDED_EXTENDED_IDENTIFY 0x02 /* SCSI-I only */
91 #define INITIATE_RECOVERY 0x0f /* SCSI-II only */
92 #define RELEASE_RECOVERY 0x10 /* SCSI-II only */
120 #define DID_PASSTHROUGH 0x0a /* Force command past mid-layer */
181 * host_byte = set by low-level driver to indicate status.
182 * driver_byte = set by mid-level.
189 #define sense_class(sense) (((sense) >> 4) & 0x7) argument
190 #define sense_error(sense) ((sense) & 0xf) argument
191 #define sense_valid(sense) ((sense) & 0x80) argument
210 * prior to SCSI-2 (i.e. over 12 years old) this value is (resp[2] + 1)
234 * Note that include/linux/cdrom.h also defines IOCTL 0x5300 - 0x5395
251 /** scsi_status_is_good - check the status return.
265 * FIXME: bit0 is listed as reserved in SCSI-2, but is in scsi_status_is_good()
266 * significant in SCSI-3. For now, we follow the SCSI-2 in scsi_status_is_good()
272 /* Next two "intermediate" statuses are obsolete in SAM-4 */ in scsi_status_is_good()
275 /* FIXME: this is obsolete in SAM-3 */ in scsi_status_is_good()