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);
728 ioctl(fd, CDROMGETSPINDOWN, &spindown);
749 ioctl(fd, CDROMSETSPINDOWN, &spindown);
771 ioctl(fd, CDROM_SET_OPTIONS, options);
786 ioctl return value. Returns -1 on error.
811 ioctl(fd, CDROM_SELECT_SPEED, speed);
834 ioctl(fd, CDROM_SELECT_DISC, disk);
857 ioctl(fd, CDROM_MEDIA_CHANGED, slot);
884 ioctl(fd, CDROM_DRIVE_STATUS, slot);
919 ioctl(fd, CDROM_DISC_STATUS, 0);
946 the CDROM_DISC_STATUS ioctl is flawed. It makes the false
960 User level programmers might feel the ioctl is not very
973 ioctl(fd, CDROM_CHANGER_NSLOTS, 0);
981 The ioctl return value will be the number of slots in a
997 ioctl(fd, CDROM_LOCKDOOR, lock);
1034 ioctl(fd, CDROM_DEBUG, debug);
1041 The ioctl return value will be the new debug flag.
1055 ioctl(fd, CDROM_GET_CAPABILITY, 0);
1063 The ioctl return value is the current device capability
1076 ioctl(fd, CDROMAUDIOBUFSIZ, val);
1083 The ioctl return value is the new audio buffer size, or -1
1101 ioctl(fd, DVD_READ_STRUCT, &s);
1145 ioctl(fd, DVD_AUTH, &ai);
1168 ioctl(fd, CDROM_SEND_PACKET, &cgc);
1203 ioctl(fd, CDROM_NEXT_WRITABLE, &next);
1214 If the device does not support this ioctl directly, the
1216 ioctl will return CDROM_LAST_WRITTEN + 7.
1228 ioctl(fd, CDROM_LAST_WRITTEN, &last);
1239 If the device does not support this ioctl directly, the
1241 table of contents can't be read, this ioctl returns an