Lines Matching +full:sense +full:- +full:mode

5  * SPDX-License-Identifier:	GPL-2.0+
11 #include <linux/dma-direction.h>
15 /* for request sense */
26 unsigned char sensecmdlen; /* Sense command len */
27 unsigned long sensedatalen; /* Sense data len */
28 unsigned char sensecmd[6]; /* Sense command */
36 /*-----------------------------------------------------------
40 **-----------------------------------------------------------
119 #define SCSI_LOG_SENSE 0x4D /* Log Sense (O) */
120 #define SCSI_MODE_SEL6 0x15 /* Mode Select 6-byte (Device Specific) */
121 #define SCSI_MODE_SEL10 0x55 /* Mode Select 10-byte (Device Specific) */
122 #define SCSI_MODE_SEN6 0x1A /* Mode Sense 6-byte (Device Specific) */
123 #define SCSI_MODE_SEN10 0x5A /* Mode Sense 10-byte (Device Specific) */
125 #define SCSI_REQ_SENSE 0x03 /* Request Sense (MANDATORY) */
137 #define SCSI_READ6 0x08 /* Read 6-byte (MANDATORY) */
138 #define SCSI_READ10 0x28 /* Read 10-byte (MANDATORY) */
152 #define SCSI_SEEK6 0x0B /* Seek 6-Byte (O) */
153 #define SCSI_SEEK10 0x2B /* Seek 10-Byte (O) */
159 #define SCSI_WRITE6 0x0A /* Write 6-Byte (MANDATORY) */
160 #define SCSI_WRITE10 0x2A /* Write 10-Byte (MANDATORY) */
166 * struct scsi_platdata - stores information about SCSI controller
181 * exec() - execute a command
185 * @return 0 if OK, -ve on error
190 * bus_reset() - reset the bus
193 * @return 0 if OK, -ve on error
198 #define scsi_get_ops(dev) ((struct scsi_ops *)(dev)->driver->ops)
203 * scsi_exec() - execute a command
207 * @return 0 if OK, -ve on error
212 * scsi_bus_reset() - reset the bus
215 * @return 0 if OK, -ve on error
220 * scsi_scan() - Scan all SCSI controllers for available devices
227 * scsi_scan_dev() - scan a SCSI bus and create devices