Lines Matching +full:sense +full:- +full:mode
1 /* SPDX-License-Identifier: GPL-2.0 */
10 /* FIXME - rename and use the following two types or delete them!
12 * INQUIRY packet command - Data Format (From Table 6-8 of QIC-157C)
16 unsigned reserved0_765 :3; /* Peripheral Qualifier - Reserved */
24 unsigned reserved3_6 :1; /* TrmIOP - Reserved */
25 unsigned reserved3_7 :1; /* AENC - Reserved */
26 u8 additional_length; /* Additional Length (total_length-4) */
31 u8 vendor_specific[20]; /* Vendor Specific - Optional */
32 u8 reserved56t95[40]; /* Reserved - Optional */
37 * READ POSITION packet command - Data Format (From Table 6-57)
50 u8 blocks_in_buffer[3]; /* Blocks In Buffer - (Optional) */
55 * Follows structures which are related to the SELECT SENSE / MODE SENSE
86 * REQUEST SENSE packet command result - Data Format.
90 unsigned valid :1; /* The information field conforms to QIC-157C */
91 u8 reserved1 :8; /* Segment Number - Reserved */
92 unsigned sense_key :4; /* Sense Key */
98 u8 asl; /* Additional sense length (n-7) */
100 u8 asc; /* Additional Sense Code */
101 u8 ascq; /* Additional Sense Code Qualifier */
103 unsigned sk_specific1 :7; /* Sense Key Specific */
104 unsigned sksv :1; /* Sense Key Specific information is valid */
105 u8 sk_specific2; /* Sense Key Specific */
106 u8 sk_specific3; /* Sense Key Specific */
111 * Mode Parameter Header for the MODE SENSE packet command
121 * Mode Parameter Block Descriptor the MODE SENSE packet command
133 * The Data Compression Page, as returned by the MODE SENSE packet command.
139 unsigned page_code :6; /* Page Code - Should be 0xf */
141 unsigned page_code :6; /* Page Code - Should be 0xf */
147 u8 page_length; /* Page Length - Should be 14 */
176 * The Medium Partition Page, as returned by the MODE SENSE packet command.
182 unsigned page_code :6; /* Page Code - Should be 0x11 */
184 unsigned page_code :6; /* Page Code - Should be 0x11 */
190 u8 page_length; /* Page Length - Should be 6 */
191 u8 map; /* Maximum Additional Partitions - Should be 0 */
192 u8 apd; /* Additional Partitions Defined - Should be 0 */
218 unsigned page_code :6; /* Page code - Should be 0x2a */
220 unsigned page_code :6; /* Page code - Should be 0x2a */
225 u8 page_length; /* Page Length - Should be 0x12 */
231 unsigned ro :1; /* Read Only Mode */
233 unsigned ro :1; /* Read Only Mode */
275 … unsigned blk32768 :1; /* slowb - the device restricts the byte count for PIO */
287 … unsigned blk32768 :1; /* slowb - the device restricts the byte count for PIO */
308 unsigned page_code :6; /* Page code - Should be 0x30 */
310 unsigned page_code :6; /* Page code - Should be 0x30 */
316 u8 page_length; /* Page Length - Should be 2 */
346 unsigned page_code :6; /* Page code - Should be 0x2b */
348 unsigned page_code :6; /* Page code - Should be 0x2b */
514 unsigned char dma; /* DMA-able buffer */
557 /* Mode characteristics */
594 * has been read into STp->buffer and is valid */
607 int linux_media; /* reading linux-specifc media */
635 unsigned char sense[SCSI_SENSE_BUFFERSIZE]; member