Lines Matching refs:ioctl

1 		Summary of CDROM ioctl calls.
8 This document attempts to describe the ioctl(2) calls supported by
12 ioctl values are listed in <linux/cdrom.h>. As of this writing, they
81 Unless otherwise specified, all ioctl calls return 0 on success
85 Unless otherwise specified, all ioctl calls return -1 and set
101 ioctl(fd, CDROMPAUSE, 0);
115 ioctl(fd, CDROMRESUME, 0);
130 ioctl(fd, CDROMPLAYMSF, &msf);
154 ioctl(fd, CDROMPLAYTRKIND, &ti);
175 ioctl(fd, CDROMREADTOCHDR, &header);
193 ioctl(fd, CDROMREADTOCENTRY, &entry);
218 ioctl(fd, CDROMSTOP, 0);
228 Exact interpretation of this ioctl depends on the device,
236 ioctl(fd, CDROMSTART, 0);
246 Exact interpretation of this ioctl depends on the device,
248 Other devices ignore the ioctl completely.
255 ioctl(fd, CDROMEJECT, 0);
274 ioctl(fd, CDROMCLOSETRAY, 0);
294 ioctl(fd, CDROMVOLCTRL, &volume);
313 ioctl(fd, CDROMVOLREAD, &volume);
330 ioctl(fd, CDROMSUBCHNL, &q);
357 ioctl(fd, CDROMREADRAW, &arg);
372 ioctl accepts a cdrom_read structure, but actual source code
406 ioctl(fd, CDROMREADAUDIO, &ra);
427 ioctl(fd, CDROMEJECT_SW, val);
447 ioctl(fd, CDROMMULTISESSION, &ms_info);
467 ioctl(fd, CDROM_GET_MCN, &mcn);
499 ioctl(fd, CDROMRESET, 0);
517 ioctl(fd, CDROMREADCOOKED, buffer);
541 ioctl(fd, CDROMSEEK, &msf);
555 ioctl(fd, CDROMPLAYBLK, &blk);
569 ioctl(fd, CDROMGETSPINDOWN, &spindown);
584 ioctl(fd, CDROMSETSPINDOWN, &spindown);
600 ioctl(fd, CDROM_SET_OPTIONS, options);
612 ioctl return value. Returns -1 on error.
632 ioctl(fd, CDROM_SELECT_SPEED, speed);
649 ioctl(fd, CDROM_SELECT_DISC, disk);
666 ioctl(fd, CDROM_MEDIA_CHANGED, slot);
688 ioctl(fd, CDROM_DRIVE_STATUS, slot);
717 ioctl(fd, CDROM_DISC_STATUS, 0);
737 the CDROM_DISC_STATUS ioctl is flawed. It makes the false
751 User level programmers might feel the ioctl is not very
762 ioctl(fd, CDROM_CHANGER_NSLOTS, 0);
767 The ioctl return value will be the number of slots in a
779 ioctl(fd, CDROM_LOCKDOOR, lock);
806 ioctl(fd, CDROM_DEBUG, debug);
812 The ioctl return value will be the new debug flag.
823 ioctl(fd, CDROM_GET_CAPABILITY, 0);
828 The ioctl return value is the current device capability
838 ioctl(fd, CDROMAUDIOBUFSIZ, val);
844 The ioctl return value is the new audio buffer size, or -1
860 ioctl(fd, DVD_READ_STRUCT, &s);
897 ioctl(fd, DVD_AUTH, &ai);
915 ioctl(fd, CDROM_SEND_PACKET, &cgc);
938 ioctl(fd, CDROM_NEXT_WRITABLE, &next);
946 If the device does not support this ioctl directly, the
947 ioctl will return CDROM_LAST_WRITTEN + 7.
956 ioctl(fd, CDROM_LAST_WRITTEN, &last);
964 If the device does not support this ioctl directly, the
966 table of contents can't be read, this ioctl returns an