Lines Matching +full:sense +full:- +full:mode
1 /* SPDX-License-Identifier: GPL-2.0+ */
11 /* for request sense */
22 unsigned char sensecmdlen; /* Sense command len */
23 unsigned long sensedatalen; /* Sense data len */
24 unsigned char sensecmd[6]; /* Sense command */
31 /*-----------------------------------------------------------
35 **-----------------------------------------------------------
114 #define SCSI_LOG_SENSE 0x4D /* Log Sense (O) */
115 #define SCSI_MODE_SEL6 0x15 /* Mode Select 6-byte (Device Specific) */
116 #define SCSI_MODE_SEL10 0x55 /* Mode Select 10-byte (Device Specific) */
117 #define SCSI_MODE_SEN6 0x1A /* Mode Sense 6-byte (Device Specific) */
118 #define SCSI_MODE_SEN10 0x5A /* Mode Sense 10-byte (Device Specific) */
120 #define SCSI_REQ_SENSE 0x03 /* Request Sense (MANDATORY) */
132 #define SCSI_READ6 0x08 /* Read 6-byte (MANDATORY) */
133 #define SCSI_READ10 0x28 /* Read 10-byte (MANDATORY) */
147 #define SCSI_SEEK6 0x0B /* Seek 6-Byte (O) */
148 #define SCSI_SEEK10 0x2B /* Seek 10-Byte (O) */
154 #define SCSI_WRITE6 0x0A /* Write 6-Byte (MANDATORY) */
155 #define SCSI_WRITE10 0x2A /* Write 10-Byte (MANDATORY) */
161 * struct scsi_platdata - stores information about SCSI controller
176 * exec() - execute a command
180 * @return 0 if OK, -ve on error
185 * bus_reset() - reset the bus
188 * @return 0 if OK, -ve on error
193 #define scsi_get_ops(dev) ((struct scsi_ops *)(dev)->driver->ops)
198 * scsi_exec() - execute a command
202 * @return 0 if OK, -ve on error
207 * scsi_bus_reset() - reset the bus
210 * @return 0 if OK, -ve on error
215 * scsi_scan() - Scan all SCSI controllers for available devices
222 * scsi_scan_dev() - scan a SCSI bus and create devices