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);
356 ioctl(fd, CDROMREADRAW, &arg);
371 ioctl accepts a cdrom_read structure, but actual source code
405 ioctl(fd, CDROMREADAUDIO, &ra);
426 ioctl(fd, CDROMEJECT_SW, val);
446 ioctl(fd, CDROMMULTISESSION, &ms_info);
466 ioctl(fd, CDROM_GET_MCN, &mcn);
498 ioctl(fd, CDROMRESET, 0);
516 ioctl(fd, CDROMREADCOOKED, buffer);
540 ioctl(fd, CDROMSEEK, &msf);
554 ioctl(fd, CDROMPLAYBLK, &blk);
568 ioctl(fd, CDROMGETSPINDOWN, &spindown);
583 ioctl(fd, CDROMSETSPINDOWN, &spindown);
599 ioctl(fd, CDROM_SET_OPTIONS, options);
611 ioctl return value. Returns -1 on error.
631 ioctl(fd, CDROM_SELECT_SPEED, speed);
648 ioctl(fd, CDROM_SELECT_DISC, disk);
665 ioctl(fd, CDROM_MEDIA_CHANGED, slot);
687 ioctl(fd, CDROM_DRIVE_STATUS, slot);
716 ioctl(fd, CDROM_DISC_STATUS, 0);
736 the CDROM_DISC_STATUS ioctl is flawed. It makes the false
750 User level programmers might feel the ioctl is not very
761 ioctl(fd, CDROM_CHANGER_NSLOTS, 0);
766 The ioctl return value will be the number of slots in a
778 ioctl(fd, CDROM_LOCKDOOR, lock);
805 ioctl(fd, CDROM_DEBUG, debug);
811 The ioctl return value will be the new debug flag.
822 ioctl(fd, CDROM_GET_CAPABILITY, 0);
827 The ioctl return value is the current device capability
837 ioctl(fd, CDROMAUDIOBUFSIZ, val);
843 The ioctl return value is the new audio buffer size, or -1
859 ioctl(fd, DVD_READ_STRUCT, &s);
896 ioctl(fd, DVD_AUTH, &ai);
914 ioctl(fd, CDROM_SEND_PACKET, &cgc);
937 ioctl(fd, CDROM_NEXT_WRITABLE, &next);
945 If the device does not support this ioctl directly, the
946 ioctl will return CDROM_LAST_WRITTEN + 7.
955 ioctl(fd, CDROM_LAST_WRITTEN, &last);
963 If the device does not support this ioctl directly, the
965 table of contents can't be read, this ioctl returns an