Lines Matching +full:all +full:- +full:outputs
5 - Edward A. Falk <efalk@google.com>
10 the HD/IDE layer. These are by-and-large implemented (as of Linux 2.6)
22 HDIO_GET_QDMA get use-qdma flag
25 HDIO_GET_KEEPSETTINGS get keep-settings-on-reset flag
27 HDIO_GET_NOWERR get ignore-write-error flag
28 HDIO_GET_DMA get use-dma flag
43 ioctls that pass non-pointer values:
50 HDIO_SET_NOWERR change ignore-write-error flag
51 HDIO_SET_DMA change use-dma flag
56 HDIO_SET_WCACHE change write cache enable-disable
59 HDIO_SET_QDMA change use-qdma flag
70 ------------------------------------------------------------------------------
74 Unless otherwise specified, all ioctl calls return 0 on success
75 and -1 with errno set to an appropriate value on error.
77 Unless otherwise specified, all ioctl calls return -1 and set
81 Unless otherwise specified, all data structures and constants
84 ------------------------------------------------------------------------------
102 outputs:
115 - EINVAL
127 are the "bios" values -- presumably the values the drive had
156 outputs:
178 outputs:
184 - EINVAL Called on a partition instead of the whole disk device
185 - EACCES Access denied: requires CAP_SYS_ADMIN
186 - EINVAL value out of range [0 1]
187 - EBUSY Controller busy
207 outputs:
228 outputs:
234 - EINVAL Called on a partition instead of the whole disk device
235 - EACCES Access denied: requires CAP_SYS_ADMIN
236 - EINVAL value out of range supported by disk.
237 - EBUSY Controller busy or blockmode already set.
238 - EIO Drive did not accept new block mode.
243 This is tightly woven into the driver->do_special cannot
248 -EBUSY
253 get use-qdma flag
292 outputs:
298 - EINVAL Called on a partition instead of the whole disk device
299 - ENOMSG IDENTIFY DEVICE information not available
304 this ioctl does not re-probe the drive to update the
312 get keep-settings-on-reset flag
326 outputs:
352 outputs:
358 - EINVAL Called on a partition instead of the whole disk device
359 - EACCES Access denied: requires CAP_SYS_ADMIN
360 - EINVAL value out of range [0 1]
361 - EBUSY Controller busy
380 outputs:
386 0=16-bit, 1=32-bit, 2,3 = 32bit+sync
393 get ignore-write-error flag
407 outputs:
408 The value of the current ignore-write-error flag
415 get use-dma flag
429 outputs:
430 The value of the current use-dma flag
451 outputs:
457 Per-drive flags which determine when the system will give more
481 outputs:
487 - EACCES Access denied: requires CAP_SYS_ADMIN
488 - EPERM Flags other than DSC_OVERLAP and NICE_1 set.
489 - EPERM DSC_OVERLAP specified but not supported by drive
517 outputs:
539 outputs:
564 outputs:
568 0 28-bit
569 1 48-bit
570 2 48-bit doing 28-bit
571 3 64-bit
591 outputs:
596 - EACCES Access denied: requires CAP_SYS_ADMIN
616 outputs:
622 - EACCES Access denied: requires CAP_SYS_RAWIO
623 - EOPNOTSUPP Hardware interface does not support bus power control
652 outputs:
658 - EACCES Access denied: requires CAP_SYS_ADMIN
659 - ENXIO No such device: phy dead or ctl_addr == 0
660 - EIO I/O error: reset timed out or hardware error
664 - Execute a reset on the device as soon as the current IO
667 - Executes an ATAPI soft reset if applicable, otherwise
680 - Execute an ATA disk command directly by writing the "taskfile"
705 hob_ports[8] high-order bytes, for extended commands.
715 outputs:
719 hob_ports[] high-order bytes, for extended commands.
727 - EACCES CAP_SYS_ADMIN or CAP_SYS_RAWIO privilege not set.
728 - ENOMSG Device is not a disk drive.
729 - ENOMEM Unable to allocate memory for task
730 - EFAULT req_cmd == TASKFILE_IN_OUT (not implemented as of 2.6.8)
731 - EPERM
734 multi-count not yet set.
735 - EIO Drive failed the command.
748 zero, the following values are used for in_flags.all and
756 The association between in_flags.all and each enable
758 only uses inflags.b.data bit and ignores all other bits.
778 hob_ports[8] high-order bytes, for extended commands
788 out_size output (user->drive) buffer size, bytes
789 in_size input (drive->user) buffer size, bytes
814 travel on DD8-DD15 on little endian machines
815 and on DD0-DD7 on big endian machines.
817 travel on DD0-DD7 on little endian machines
818 and on DD8-DD15 on big endian machines.
843 DD8-DD15 on little endian machines and
844 DD0-DD7 on big endian machines.
846 DD0-DD7 on little endian machines and
847 DD8-DD15 on big endian machines.
891 [6] Do not access {in|out}_flags->all except for resetting
892 all the bits. Always access individual bit fields. ->all
932 outputs:
947 - EACCES Access denied: requires CAP_SYS_RAWIO
948 - ENOMEM Unable to allocate memory for task
949 - EIO Drive reports error
1001 outputs:
1016 - EACCES Access denied: requires CAP_SYS_RAWIO
1017 - ENOMEM Unable to allocate memory for task
1018 - ENOMSG Device is not a disk drive.
1019 - EIO Drive failed the command.
1024 appropriate value for the drive is used. All other bits
1052 outputs:
1058 - EINVAL Called on a partition instead of the whole disk device
1059 - EACCES Access denied: requires CAP_SYS_ADMIN
1060 - EINVAL value out of range [0 3]
1061 - EBUSY Controller busy
1067 change ignore-write-error flag
1077 New value for ignore-write-error flag. Used for ignoring
1082 outputs:
1088 - EINVAL Called on a partition instead of the whole disk device
1089 - EACCES Access denied: requires CAP_SYS_ADMIN
1090 - EINVAL value out of range [0 1]
1091 - EBUSY Controller busy
1096 change use-dma flag
1106 New value for use-dma flag
1110 outputs:
1116 - EINVAL Called on a partition instead of the whole disk device
1117 - EACCES Access denied: requires CAP_SYS_ADMIN
1118 - EINVAL value out of range [0 1]
1119 - EBUSY Controller busy
1138 outputs:
1144 - EINVAL Called on a partition instead of the whole disk device
1145 - EACCES Access denied: requires CAP_SYS_ADMIN
1146 - EINVAL value out of range [0 255]
1147 - EBUSY Controller busy
1172 outputs:
1178 - EACCES Access denied: requires CAP_SYS_RAWIO
1179 - EIO Probe failed.
1203 outputs:
1209 - EACCES Access denied: requires CAP_SYS_RAWIO
1220 change write cache enable-disable
1234 outputs:
1240 - EINVAL Called on a partition instead of the whole disk device
1241 - EACCES Access denied: requires CAP_SYS_ADMIN
1242 - EINVAL value out of range [0 1]
1243 - EBUSY Controller busy
1262 outputs:
1268 - EINVAL Called on a partition instead of the whole disk device
1269 - EACCES Access denied: requires CAP_SYS_ADMIN
1270 - EINVAL value out of range [0 254]
1271 - EBUSY Controller busy
1276 change use-qdma flag
1297 0 28-bit
1298 1 48-bit
1299 2 48-bit doing 28-bit
1302 outputs:
1308 - EINVAL Called on a partition instead of the whole disk device
1309 - EACCES Access denied: requires CAP_SYS_ADMIN
1310 - EINVAL value out of range [0 2]
1311 - EBUSY Controller busy
1312 - EIO Drive does not support lba48 mode.
1328 outputs:
1334 - EINVAL Called on a partition instead of the whole disk device
1335 - EACCES Access denied: requires CAP_SYS_ADMIN
1336 - EINVAL value out of range [0 1]
1337 - EBUSY Controller busy