Lines Matching refs:ioctl
2 Summary of CDROM ioctl calls
9 This document attempts to describe the ioctl(2) calls supported by
13 ioctl values are listed in <linux/cdrom.h>. As of this writing, they
83 Unless otherwise specified, all ioctl calls return 0 on success
87 Unless otherwise specified, all ioctl calls return -1 and set
105 ioctl(fd, CDROMPAUSE, 0);
126 ioctl(fd, CDROMRESUME, 0);
151 ioctl(fd, CDROMPLAYMSF, &msf);
182 ioctl(fd, CDROMPLAYTRKIND, &ti);
211 ioctl(fd, CDROMREADTOCHDR, &header);
236 ioctl(fd, CDROMREADTOCENTRY, &entry);
265 ioctl(fd, CDROMSTOP, 0);
280 - Exact interpretation of this ioctl depends on the device,
290 ioctl(fd, CDROMSTART, 0);
305 - Exact interpretation of this ioctl depends on the device,
307 Other devices ignore the ioctl completely.
316 ioctl(fd, CDROMEJECT, 0);
343 ioctl(fd, CDROMCLOSETRAY, 0);
372 ioctl(fd, CDROMVOLCTRL, &volume);
397 ioctl(fd, CDROMVOLREAD, &volume);
422 ioctl(fd, CDROMSUBCHNL, &q);
454 ioctl(fd, CDROMREADRAW, &arg);
471 ioctl accepts a cdrom_read structure, but actual source code
511 ioctl(fd, CDROMREADAUDIO, &ra);
536 ioctl(fd, CDROMEJECT_SW, val);
562 ioctl(fd, CDROMMULTISESSION, &ms_info);
588 ioctl(fd, CDROM_GET_MCN, &mcn);
627 ioctl(fd, CDROMRESET, 0);
653 ioctl(fd, CDROMREADCOOKED, buffer);
686 ioctl(fd, CDROMSEEK, &msf);
708 ioctl(fd, CDROMPLAYBLK, &blk);
725 ioctl(fd, CDROMGETSPINDOWN, &spindown);
743 ioctl(fd, CDROMSETSPINDOWN, &spindown);
765 ioctl(fd, CDROM_SET_OPTIONS, options);
780 ioctl return value. Returns -1 on error.
805 ioctl(fd, CDROM_SELECT_SPEED, speed);
828 ioctl(fd, CDROM_SELECT_DISC, disk);
851 ioctl(fd, CDROM_MEDIA_CHANGED, slot);
878 ioctl(fd, CDROM_DRIVE_STATUS, slot);
913 ioctl(fd, CDROM_DISC_STATUS, 0);
940 the CDROM_DISC_STATUS ioctl is flawed. It makes the false
954 User level programmers might feel the ioctl is not very
967 ioctl(fd, CDROM_CHANGER_NSLOTS, 0);
975 The ioctl return value will be the number of slots in a
991 ioctl(fd, CDROM_LOCKDOOR, lock);
1028 ioctl(fd, CDROM_DEBUG, debug);
1035 The ioctl return value will be the new debug flag.
1049 ioctl(fd, CDROM_GET_CAPABILITY, 0);
1057 The ioctl return value is the current device capability
1070 ioctl(fd, CDROMAUDIOBUFSIZ, val);
1077 The ioctl return value is the new audio buffer size, or -1
1095 ioctl(fd, DVD_READ_STRUCT, &s);
1139 ioctl(fd, DVD_AUTH, &ai);
1162 ioctl(fd, CDROM_SEND_PACKET, &cgc);
1197 ioctl(fd, CDROM_NEXT_WRITABLE, &next);
1208 If the device does not support this ioctl directly, the
1210 ioctl will return CDROM_LAST_WRITTEN + 7.
1222 ioctl(fd, CDROM_LAST_WRITTEN, &last);
1233 If the device does not support this ioctl directly, the
1235 table of contents can't be read, this ioctl returns an