Lines Matching refs:ioctl

1 		Summary of HDIO_ ioctl calls.
8 This document attempts to describe the ioctl(2) calls supported by
12 ioctl values are listed in <linux/hdreg.h>. As of this writing, they
44 HDIO_SET_KEEPSETTINGS keep ioctl settings on reset
73 Unless otherwise specified, all ioctl calls return 0 on success
76 Unless otherwise specified, all ioctl calls return -1 and set
90 ioctl(fd, HDIO_GETGEO, &geom);
122 ioctl will not return a meaningful value on drives with more
136 ioctl(fd, HDIO_GET_UNMASKINTR, &val);
150 ioctl(fd, HDIO_SET_UNMASKINTR, val);
171 ioctl(fd, HDIO_GET_MULTCOUNT, &val);
187 ioctl(fd, HDIO_SET_MULTCOUNT, val);
210 If blockmode has already been set, this ioctl will fail with
239 ioctl(fd, HDIO_GET_IDENTITY, identity);
257 this ioctl does not re-probe the drive to update the
269 ioctl(fd, HDIO_GET_KEEPSETTINGS, &val);
283 HDIO_SET_KEEPSETTINGS keep ioctl settings on reset
288 ioctl(fd, HDIO_SET_KEEPSETTINGS, val);
308 ioctl(fd, HDIO_GET_32BIT, &val);
326 ioctl(fd, HDIO_GET_NOWERR, &val);
340 ioctl(fd, HDIO_GET_DMA, &val);
354 ioctl(fd, HDIO_GET_NICE, &nice);
377 ioctl(fd, HDIO_SET_NICE, nice);
391 This ioctl sets the DSC_OVERLAP and NICE_1 flags from values
406 ioctl(fd, HDIO_GET_WCACHE, &val);
420 ioctl(fd, HDIO_GET_ACOUSTIC, &val);
438 ioctl(fd, HDIO_GET_ADDRESS, &val);
456 ioctl(fd, HDIO_SCAN_HWIF, &state);
476 ioctl(fd, HDIO_SCAN_HWIF, state);
503 ioctl(fd, HDIO_DRIVE_RESET, args);
527 handy, you should probably ignore this ioctl.
544 ioctl(fd, HDIO_DRIVE_TASKFILE, &task);
549 (See below for details on memory area passed to ioctl.)
583 this ioctl. A mistake can easily corrupt data or hang the
609 [5] The argument to the ioctl is a pointer to a region of
732 handy, you should probably ignore this ioctl.
738 ioctl(fd, HDIO_DRIVE_CMD, args);
795 handy, you should probably ignore this ioctl.
801 ioctl(fd, HDIO_DRIVE_TASK, args);
850 ioctl(fd, HDIO_SET_32BIT, val);
871 ioctl(fd, HDIO_SET_NOWERR, val);
892 ioctl(fd, HDIO_SET_DMA, val);
912 ioctl(fd, HDIO_SET_PIO_MODE, val);
933 ioctl(fd, HDIO_SCAN_HWIF, args);
948 This ioctl initializes the addresses and irq for a disk
959 ioctl(fd, HDIO_UNREGISTER_HWIF, index);
971 This ioctl removes a hardware interface from the kernel.
973 Currently (2.6.8) this ioctl silently fails if any drive on
983 ioctl(fd, HDIO_SET_WCACHE, val);
1003 ioctl(fd, HDIO_SET_ACOUSTIC, val);
1029 ioctl(fd, HDIO_SET_ADDRESS, val);
1052 ioctl(fd, HDIO_SET_IDE_SCSI, val);