Lines Matching +full:non +full:- +full:overlap +full:- +full:time

1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
17 #define IDE_DRIVE_TASK_INVALID -1
137 * 0x01->0x02 Reserved
141 * 0x04->0x07 Reserved
146 * 0x09->0x0F Reserved
151 * 0x10->0x1F Reserved
153 #define WIN_READ 0x20 /* 28-Bit */
154 #define WIN_READ_ONCE 0x21 /* 28-Bit without retries */
155 #define WIN_READ_LONG 0x22 /* 28-Bit */
156 #define WIN_READ_LONG_ONCE 0x23 /* 28-Bit without retries */
157 #define WIN_READ_EXT 0x24 /* 48-Bit */
158 #define WIN_READDMA_EXT 0x25 /* 48-Bit */
159 #define WIN_READDMA_QUEUED_EXT 0x26 /* 48-Bit */
160 #define WIN_READ_NATIVE_MAX_EXT 0x27 /* 48-Bit */
164 #define WIN_MULTREAD_EXT 0x29 /* 48-Bit */
166 * 0x2A->0x2F Reserved
168 #define WIN_WRITE 0x30 /* 28-Bit */
169 #define WIN_WRITE_ONCE 0x31 /* 28-Bit without retries */
170 #define WIN_WRITE_LONG 0x32 /* 28-Bit */
171 #define WIN_WRITE_LONG_ONCE 0x33 /* 28-Bit without retries */
172 #define WIN_WRITE_EXT 0x34 /* 48-Bit */
173 #define WIN_WRITEDMA_EXT 0x35 /* 48-Bit */
174 #define WIN_WRITEDMA_QUEUED_EXT 0x36 /* 48-Bit */
175 #define WIN_SET_MAX_EXT 0x37 /* 48-Bit */
177 #define WIN_MULTWRITE_EXT 0x39 /* 48-Bit */
179 * 0x3A->0x3B Reserved
181 #define WIN_WRITE_VERIFY 0x3C /* 28-Bit */
183 * 0x3D->0x3F Reserved
185 #define WIN_VERIFY 0x40 /* 28-Bit - Read Verify Sectors */
186 #define WIN_VERIFY_ONCE 0x41 /* 28-Bit - without retries */
187 #define WIN_VERIFY_EXT 0x42 /* 48-Bit */
189 * 0x43->0x4F Reserved
193 * 0x51->0x5F Reserved
197 * 0x61->0x5F Reserved
199 #define WIN_SEEK 0x70 /* 0x70-0x7F Reserved */
216 #define WIN_SMART 0xB0 /* self-monitoring and reporting */
223 #define WIN_READDMA_ONCE 0xC9 /* 28-Bit - without retries */
225 #define WIN_WRITEDMA_ONCE 0xCB /* 28-Bit - without retries */
229 #define WIN_ACKMEDIACHANGE 0xDB /* ATA-1, ATA-2 vendor */
243 #define WIN_WRITE_SAME 0xE9 /* read ata-2 to use */
245 #define WIN_FLUSH_CACHE_EXT 0xEA /* 48-Bit */
261 /* WIN_SMART sub-commands */
281 /* WIN_SETFEATURES sub-commands */
282 #define SETFEATURES_EN_8BIT 0x01 /* Enable 8-Bit Transfers */
286 #define SETFEATURES_EN_SAME_R 0x22 /* for a region ATA-1 */
292 #define SETFEATURES_DIS_RLA 0x55 /* Disable read look-ahead feature */
297 #define SETFEATURES_DIS_8BIT 0x81 /* Disable 8-Bit Transfers */
304 #define SETFEATURES_EN_RLA 0xAA /* Enable read look-ahead feature */
306 #define SETFEATURES_EN_REST 0xAC /* ATA-1 */
311 #define SETFEATURES_EN_SAME_M 0xDD /* for a entire device ATA-1 */
314 /* WIN_SECURITY sub-commands */
335 #define HDIO_GET_QDMA 0x0305 /* get use-qdma flag */
340 #define HDIO_GET_KEEPSETTINGS 0x0308 /* get keep-settings-on-reset flag */
342 #define HDIO_GET_NOWERR 0x030a /* get ignore-write-error flag */
343 #define HDIO_GET_DMA 0x030b /* get use-dma flag */
358 /* hd/ide ctl's that pass (arg) non-ptr values are numbered 0x032n/0x033n */
363 #define HDIO_SET_NOWERR 0x0325 /* change ignore-write-error flag */
364 #define HDIO_SET_DMA 0x0326 /* change use-dma flag */
371 #define HDIO_SET_WCACHE 0x032b /* change write cache enable-disable */
374 #define HDIO_SET_QDMA 0x032e /* change use-qdma flag */
385 /* 0x330 is reserved - used to be HDIO_GETGEO_BIG */
386 /* 0x331 is reserved - used to be HDIO_GETGEO_BIG_RAW */
387 /* 0x338 is reserved - used to be HDIO_SET_IDE_SCSI */
388 /* 0x339 is reserved - used to be HDIO_SET_SCSI_IDE */
435 * 1: eide_ok words 64-70
436 * 0: cur_ok words 54-58
446 unsigned short dma_1word; /* Obsolete, single-word dma info */
447 unsigned short dma_mword; /* multiple-word dma info */
449 unsigned short eide_dma_min; /* min mword dma cycle time (ns) */
450 unsigned short eide_dma_time; /* recommended mword dma cycle time (ns) */
451 unsigned short eide_pio; /* min cycle time (ns), no IORDY */
452 unsigned short eide_pio_iordy; /* min cycle time (ns), with IORDY */
453 unsigned short words69_70[2]; /* reserved words 69-70
454 * future command overlap and queuing
456 unsigned short words71_74[4]; /* reserved words 71-74
461 * 4:0 Maximum queue depth -1
463 unsigned short words76_79[4]; /* reserved words 76-79 */
476 * 6: look-ahead
490 * 10: 48-bit Address Feature Set
494 * 6: SetF sub-command Power-Up
495 * 5: Power-Up in Standby Feature Set
503 * cmd set-feature supported extensions
511 * 1: SMART selt-test supported
515 * command set-feature enabled
525 * 6: look-ahead
534 * command set-feature enabled
540 * 10: 48-bit Address Feature Set
544 * 6: SetF sub-command Power-Up
545 * 5: Power-Up in Standby Feature Set
553 * command set-feature default
561 * 1: SMART selt-test supported
565 unsigned short trseuc; /* time required for security erase */
566 unsigned short trsEuc; /* time required for enhanced erase */
592 unsigned short sxfert; /* stream transfer time */
595 unsigned long long lba_capacity_2;/* 48-bit total number of sectors */
596 unsigned short words104_125[22];/* reserved words 104-125 */
623 * 1: read-look-ahead
626 unsigned short words130_155[26];/* reserved vendor words 130-155 */
628 unsigned short words157_159[3];/* reserved vendor words 157-159 */
638 unsigned short words206_254[49];/* reserved words 206-254 */
651 #define IDE_NICE_DSC_OVERLAP (0) /* per the DSC overlap protocol */