Lines Matching full:ioctl
2 Summary of `HDIO_` ioctl calls
9 This document attempts to describe the ioctl(2) calls supported by
13 ioctl values are listed in <linux/hdreg.h>. As of this writing, they
48 HDIO_SET_KEEPSETTINGS keep ioctl settings on reset
74 Unless otherwise specified, all ioctl calls return 0 on success
77 Unless otherwise specified, all ioctl calls return -1 and set
94 ioctl(fd, HDIO_GETGEO, &geom);
132 ioctl will not return a meaningful value on drives with more
149 ioctl(fd, HDIO_GET_UNMASKINTR, &val);
171 ioctl(fd, HDIO_SET_UNMASKINTR, val);
200 ioctl(fd, HDIO_GET_MULTCOUNT, &val);
222 ioctl(fd, HDIO_SET_MULTCOUNT, val);
247 If blockmode has already been set, this ioctl will fail with
285 ioctl(fd, HDIO_GET_IDENTITY, identity);
304 this ioctl does not re-probe the drive to update the
319 ioctl(fd, HDIO_GET_KEEPSETTINGS, &val);
338 keep ioctl settings on reset
345 ioctl(fd, HDIO_SET_KEEPSETTINGS, val);
373 ioctl(fd, HDIO_GET_32BIT, &val);
400 ioctl(fd, HDIO_GET_NOWERR, &val);
422 ioctl(fd, HDIO_GET_DMA, &val);
444 ioctl(fd, HDIO_GET_NICE, &nice);
474 ioctl(fd, HDIO_SET_NICE, nice);
492 This ioctl sets the DSC_OVERLAP and NICE_1 flags from values
510 ioctl(fd, HDIO_GET_WCACHE, &val);
532 ioctl(fd, HDIO_GET_ACOUSTIC, &val);
557 ioctl(fd, HDIO_GET_ADDRESS, &val);
584 ioctl(fd, HDIO_SCAN_HWIF, &state);
610 ioctl(fd, HDIO_SCAN_HWIF, state);
645 ioctl(fd, HDIO_DRIVE_RESET, args);
678 handy, you should probably ignore this ioctl.
696 ioctl(fd, HDIO_DRIVE_TASKFILE, &task);
701 (See below for details on memory area passed to ioctl.)
739 [1] READ THE FOLLOWING NOTES *CAREFULLY*. THIS IOCTL IS
741 this ioctl. A mistake can easily corrupt data or hang the
767 [5] The argument to the ioctl is a pointer to a region of
904 handy, you should probably ignore this ioctl.
911 ioctl(fd, HDIO_DRIVE_CMD, args);
979 handy, you should probably ignore this ioctl.
986 ioctl(fd, HDIO_DRIVE_TASK, args);
1045 ioctl(fd, HDIO_SET_32BIT, val);
1074 ioctl(fd, HDIO_SET_NOWERR, val);
1103 ioctl(fd, HDIO_SET_DMA, val);
1131 ioctl(fd, HDIO_SET_PIO_MODE, val);
1160 ioctl(fd, HDIO_SCAN_HWIF, args);
1182 This ioctl initializes the addresses and irq for a disk
1196 ioctl(fd, HDIO_UNREGISTER_HWIF, index);
1212 This ioctl removes a hardware interface from the kernel.
1214 Currently (2.6.8) this ioctl silently fails if any drive on
1227 ioctl(fd, HDIO_SET_WCACHE, val);
1255 ioctl(fd, HDIO_SET_ACOUSTIC, val);
1291 ioctl(fd, HDIO_SET_ADDRESS, val);
1321 ioctl(fd, HDIO_SET_IDE_SCSI, val);