_IOR
#define SNDCTL_DSP_GETODELAY _IOR ('P', 24, int)
#define MIXER_READ(dev) _IOR('M', dev, int)
#define SOUND_MIXER_INFO _IOR ('M', 101, mixer_info)
#define SOUND_OLD_MIXER_INFO _IOR ('M', 101, _old_mixer_info)
#define OSS_GETVERSION _IOR ('M', 118, int)
#define SOUND_PCM_READ_RATE _IOR ('P', 2, int)
#define SOUND_PCM_READ_BITS _IOR ('P', 5, int)
#define SOUND_PCM_READ_CHANNELS _IOR ('P', 6, int)
#define SOUND_PCM_READ_FILTER _IOR ('P', 7, int)
#define SNDCTL_DSP_GETFMTS _IOR ('P', 11, int)
#define SNDCTL_DSP_GETOSPACE _IOR ('P',12, struct audio_buf_info)
#define SNDCTL_DSP_GETISPACE _IOR ('P',13, struct audio_buf_info)
#define SNDCTL_DSP_GETCAPS _IOR ('P',15, int)
#define SNDCTL_DSP_GETTRIGGER _IOR ('P', 16, int)
#define SNDCTL_DSP_GETIPTR _IOR ('P', 17, struct count_info)
#define SNDCTL_DSP_GETOPTR _IOR ('P', 18, struct count_info)
#define SNDCTL_DSP_MAPINBUF _IOR ('P', 19, struct buffmem_desc)
#define SNDCTL_DSP_MAPOUTBUF _IOR ('P', 20, struct buffmem_desc)
#define FD_GTYPE _IOR('F', 62, struct fd_type) /* get drive type */
#define FD_GOPTS _IOR('F', 64, int) /* drive options, see below */
#define APM_IOC_GETPOWER _IOR('A', 3, struct apm_power_info) /* fetch battery state */
#define FD_GTYPE _IOR('F', 62, struct fd_type) /* get drive type */
#define FD_GOPTS _IOR('F', 64, int) /* drive options, see below */
#define KIOC_GETBOOTDUID _IOR('K', 2, u_char[8])
#define PCIOCRD _IOR('c', 1, struct pctrst) /* Read counter value */
#define APM_IOC_GETPOWER _IOR('A', 3, struct apm_power_info) /* fetch battery state */
#define OPIOCGETOPTNODE _IOR('O', 4, int) /* get openprom field */
#define APM_IOC_GETPOWER _IOR('A', 3, struct apm_power_info) /* fetch battery state */
#define OPIOCGETOPTNODE _IOR('O', 4, int) /* get openprom field */
#define APM_IOC_GETPOWER _IOR('A', 3, struct apm_power_info) /* fetch battery state */
#define FD_GTYPE _IOR('F', 62, struct fd_type) /* get drive type */
#define FD_GOPTS _IOR('F', 64, int) /* drive options, see below */
#define JOY_GETTIMEOUT _IOR('J', 2, int) /* get timeout */
#define JOY_GET_X_OFFSET _IOR('J', 5, int) /* get offset on X-axis */
#define JOY_GET_Y_OFFSET _IOR('J', 6, int) /* get offset on Y-axis */
#define PCIOCRD _IOR('c', 1, struct pctrst) /* Read counter value */
#define APM_IOC_GETPOWER _IOR('A', 3, struct apm_power_info) /* fetch battery state */
#define APM_IOC_GETPOWER _IOR('A', 3, struct apm_power_info) /* fetch battery state */
#define OPIOCGETOPTNODE _IOR('O', 4, int) /* get openprom field */
#define OBIOC_GETROOTDEV _IOR('O', 2, char[PATH_MAX])
#define OPIOCGETOPTNODE _IOR('O', 4, int) /* get openprom field */
#define APM_IOC_GETPOWER _IOR('A', 3, struct apm_power_info) /* fetch battery state */
#define KIOC_GETBOOTDUID _IOR('K', 2, u_char[8])
#define OPIOCGETOPTNODE _IOR('O', 4, int) /* get openprom field */
#define APM_IOC_GETPOWER _IOR('A', 3, struct apm_power_info) /* fetch battery state */
#define OPIOCGETOPTNODE _IOR('O', 4, int) /* get openprom field */
#define APM_IOC_GETPOWER _IOR('A', 3, struct apm_power_info) /* fetch battery state */
#define BPPIOCGPARAM _IOR('P', 0x2, struct bpp_param)
#define BPPIOCGSTAT _IOR('P', 0x4, int)
#define FD_GTYPE _IOR('F', 62, struct fd_type) /* get drive type */
#define FD_GOPTS _IOR('F', 64, int) /* drive options, see below */
#define OPIOCGETOPTNODE _IOR('O', 4, int) /* get openprom field */
#define DTIOCGSTATS _IOR('D', 2, struct dtioc_stat)
#define METEORGSIGNAL _IOR('x', 12, unsigned int) /* get signal */
#define METEORGVIDEO _IOR('x', 13, struct meteor_video) /* get video */
#define METEORGBRIG _IOR('x', 14, unsigned char) /* get brightness */
#define METEORGCSAT _IOR('x', 15, unsigned char) /* get uv saturation */
#define METEORGCONT _IOR('x', 16, unsigned char) /* get contrast */
#define METEORGBT254 _IOR('x', 17, unsigned short) /* get Bt254 reg */
#define METEORGHWS _IOR('x', 18, unsigned char) /* get hor start reg */
#define METEORGVWS _IOR('x', 19, unsigned char) /* get vert start reg */
#define METEORGTS _IOR('x', 20, unsigned char) /* get time stamp */
#define TVTUNER_GETCHNL _IOR('x', 32, unsigned int) /* get channel */
#define TVTUNER_GETTYPE _IOR('x', 33, unsigned int) /* get tuner type */
#define TVTUNER_GETSTATUS _IOR('x', 34, unsigned int) /* get tuner status */
#define TVTUNER_GETFREQ _IOR('x', 36, unsigned int) /* get frequency */
#define BT848_GHUE _IOR('x', 37, int) /* get hue */
#define BT848_GBRIG _IOR('x', 38, int) /* get brightness */
#define BT848_GCSAT _IOR('x', 39, int) /* get UV saturation */
#define BT848_GCONT _IOR('x', 40, int) /* get contrast */
#define BT848_GVSAT _IOR('x', 41, int) /* get V saturation */
#define BT848_GUSAT _IOR('x', 42, int) /* get U saturation */
#define BT848_SCBARS _IOR('x', 43, int) /* set colorbar */
#define BT848_CCBARS _IOR('x', 44, int) /* clear colorbar */
#define BT848_GAUDIO _IOR('x', 47, int) /* get audio channel */
#define BT848_GSTATUS _IOR('x', 49, unsigned int) /* reap status */
#define TVTUNER_GETAFC _IOR('x', 54, int) /* query AFC on/off */
#define BT848_GLNOTCH _IOR('x', 56, int) /* get luma notch */
#define RADIO_GETMODE _IOR('x', 58, unsigned char) /* get radio modes */
#define RADIO_GETFREQ _IOR('x', 59, unsigned int) /* set frequency */
#define METEORGACTPIXFMT _IOR('x', 64, int )
#define BT848GCLIP _IOR('x', 66, struct _bktr_clip )
#define BT848GFMT _IOR('x', 67, unsigned int )
#define BT848GCBUF _IOR('x', 68, int)
#define BT848_GCAPAREA _IOR('x', 69, struct bktr_capture_area)
#define REMOTE_GETKEY _IOR('x', 71, struct bktr_remote)/*read the remote */
#define BT848_GPIO_GET_EN _IOR('x', 73, int) /* get gpio_out_en */
#define BT848_GPIO_GET_DATA _IOR('x', 75, int) /* get gpio_data */
#define METEORGETGEO _IOR('x', 4, struct meteor_geomet) /* get geometry */
#define METEORSTATUS _IOR('x', 5, unsigned short) /* get status */
#define METEORGHUE _IOR('x', 6, signed char) /* get hue */
#define METEORGFMT _IOR('x', 7, unsigned int) /* get format */
#define METEORGINPUT _IOR('x', 8, unsigned int) /* get input dev */
#define METEORGCHCV _IOR('x', 9, unsigned char) /* get uv gain */
#define METEORGCOUNT _IOR('x',10, struct meteor_counts)
#define METEORGFPS _IOR('x',11, unsigned short) /* get fps */
#define PSP_IOC_GET_PSTATUS _IOR('P', 0, struct psp_platform_status)
#define PSP_IOC_SNP_GET_PSTATUS _IOR('P', 11, struct psp_snp_platform_status)
#define IPMICTL_GET_MY_ADDRESS_CMD _IOR(IPMI_IOC_MAGIC, 18, unsigned int)
#define IPMICTL_GET_MY_LUN_CMD _IOR(IPMI_IOC_MAGIC, 20, unsigned int)
#define DRM_IOR(nr,type) _IOR(DRM_IOCTL_BASE,nr,type)
#define CEC_ADAP_G_PHYS_ADDR _IOR('a', 1, __u16)
#define CEC_ADAP_G_LOG_ADDRS _IOR('a', 3, struct cec_log_addrs)
#define CEC_G_MODE _IOR('a', 8, __u32)
#define CEC_ADAP_G_CONNECTOR_INFO _IOR('a', 10, struct cec_connector_info)
#define AMDKFD_IOR(nr, type) _IOR(AMDKFD_IOCTL_BASE, nr, type)
#define USB_DEVICESTATS _IOR ('U', 5, struct usb_device_stats)
#define USB_GET_REPORT_DESC _IOR ('U', 21, struct usb_ctl_report_desc)
#define USB_GET_REPORT_ID _IOR ('U', 25, int)
#define USB_GET_CONFIG _IOR ('U', 100, int)
#define USB_GET_DEVICE_DESC _IOR ('U', 105, usb_device_descriptor_t)
#define USB_GET_DEVICEINFO _IOR ('U', 112, struct usb_device_info)
#define VSCSI_I2T _IOR('I', 0, struct vscsi_ioc_i2t)
#define WSKBDIO_GTYPE _IOR('W', 0, u_int)
#define WSKBDIO_GETBELL _IOR('W', 4, struct wskbd_bell_data)
#define WSKBDIO_GETDEFAULTBELL _IOR('W', 6, struct wskbd_bell_data)
#define WSKBDIO_GETKEYREPEAT _IOR('W', 8, struct wskbd_keyrepeat_data)
_IOR('W', 10, struct wskbd_keyrepeat_data)
#define WSKBDIO_GETLEDS _IOR('W', 12, int)
#define WSKBDIO_GETENCODING _IOR('W', 15, kbd_t)
#define WSKBDIO_GETBACKLIGHT _IOR('W', 17, struct wskbd_backlight)
#define WSKBDIO_GETMODE _IOR('W', 20, int)
#define WSMOUSEIO_GTYPE _IOR('W', 32, u_int)
#define WSMOUSEIO_GCALIBCOORDS _IOR('W', 37, struct wsmouse_calibcoords)
#define WSDISPLAYIO_GTYPE _IOR('W', 64, u_int)
#define WSDISPLAYIO_GINFO _IOR('W', 65, struct wsdisplay_fbinfo)
#define WSDISPLAYIO_GVIDEO _IOR('W', 68, u_int)
#define WSDISPLAYIO_GCURPOS _IOR('W', 70, struct wsdisplay_curpos)
#define WSDISPLAYIO_GCURMAX _IOR('W', 72, struct wsdisplay_curpos)
#define WSDISPLAYIO_GMODE _IOR('W', 75, u_int)
#define WSDISPLAYIO_GBURNER _IOR('W', 82, struct wsdisplay_burner)
#define WSDISPLAYIO_LINEBYTES _IOR('W', 95, u_int)
#define WSDISPLAYIO_GPCIID _IOR('W', 91, struct pcisel)
#define WSDISPLAYIO_GETSUPPORTEDDEPTH _IOR('W', 92, unsigned int)
#define VT_GETACTIVE _IOR('v', 7, int)
#define VT_GETSTATE _IOR('v', 100, struct vt_stat)
#define VT_OPENQRY _IOR('v', 1, int)
#define KDGKBMODE _IOR('K', 6, int) /* get keyboard mode */
#define KDGKBTYPE _IOR('K', 64, char)
#define VT_GETMODE _IOR('v', 3, vtmode_t)
#define KDGETLED _IOR('K', 65, int)
#define BIOCGDLT _IOR('B',106, u_int)
#define BIOCGETIF _IOR('B',107, struct ifreq)
#define BIOCGRTIMEOUT _IOR('B',110, struct timeval)
#define BIOCGSTATS _IOR('B',111, struct bpf_stat)
#define BIOCVERSION _IOR('B',113, struct bpf_version)
#define BIOCGRSIG _IOR('B',115, u_int)
#define BIOCGHDRCMPLT _IOR('B',116, u_int)
#define BIOCGFILDROP _IOR('B',120, u_int)
#define BIOCGDIRFILT _IOR('B',124, u_int)
#define BIOCGWTIMEOUT _IOR('B',126, struct timeval)
#define BIOCGBLEN _IOR('B',102, u_int)
#define PPPIOCGFLAGS _IOR('t', 90, int) /* get configuration flags */
#define PPPIOCGASYNCMAP _IOR('t', 88, int) /* get async map */
#define PPPIOCGUNIT _IOR('t', 86, int) /* get ppp unit number */
#define PPPIOCGRASYNCMAP _IOR('t', 85, int) /* get receive async map */
#define PPPIOCGMRU _IOR('t', 83, int) /* get max receive unit */
#define PPPIOCGXASYNCMAP _IOR('t', 80, ext_accm) /* get extended ACCM */
#define PPPIOCGIDLE _IOR('t', 74, struct ppp_idle) /* get idle time */
#define TUNGIFINFO _IOR('t', 92, struct tuninfo)
#define TUNGDEBUG _IOR('t', 95, int)
#define TUNGCAP _IOR('t', 196, struct tun_capabilities)
#define PIPEXGCLOSED _IOR ('p', 7, struct pipex_session_list_req)
#define AUDIO_GETSTATUS _IOR('A', 40, struct audio_status)
#define AUDIO_GETDEV _IOR('A', 27, struct audio_device)
#define AUDIO_GETPOS _IOR('A', 35, struct audio_pos)
#define AUDIO_GETPAR _IOR('A', 36, struct audio_swpar)
#define CDIOREADTOCHEADER _IOR('c', 4, struct ioc_toc_header)
#define CDIOCGETVOL _IOR('c', 10, struct ioc_vol)
#define CHIOGPICKER _IOR('c', 0x44, int)
#define CHIOGPARAMS _IOR('c', 0x46, struct changer_params)
#define DIOCGDINFO _IOR('d', 101, struct disklabel)/* get */
#define DIOCGPDINFO _IOR('d', 114, struct disklabel)/* get physical */
#define DIOCINQ _IOR('d', 116, struct dk_inquiry)
#define DIOCGCACHE _IOR('d', 117, struct dk_cache) /* get cache enabled */
#define FIONREAD _IOR('f', 127, int) /* get # bytes to read */
#define FIOGETOWN _IOR('f', 123, int) /* get owner */
#define GPIOINFO _IOR('G', 0, struct gpio_info)
#define KSTATIOC_VERSION _IOR('k', 1, unsigned int)
#define MTIOCGET _IOR('m', 2, struct mtget) /* get tape status */
#define MTIOCRDSPOS _IOR('m', 5, u_int32_t) /* get logical blk addr */
#define MTIOCRDHPOS _IOR('m', 6, u_int32_t) /* get hardware blk addr */
#define RIOCGINFO _IOR('R', 21, struct radio_info) /* get info */
#define SCIOCIDENTIFY _IOR('Q', 9, struct scsi_addr)
#define SIOCATMARK _IOR('s', 7, int) /* at oob mark? */
#define SIOCGPGRP _IOR('s', 9, int) /* get process group */
#define PTMGET _IOR('t', 1, struct ptmget) /* get ptys */
#define TIOCMGET _IOR('t', 106, int) /* get all modem bits */
#define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */
#define TIOCGSID _IOR('t', 99, int) /* get sid of tty */
#define TIOCGFLAGS _IOR('t', 93, int) /* get device flags */
#define TIOCGTSTAMP _IOR('t', 91, struct timeval) /* get timestamp */
#define TIOCGETA _IOR('t', 19, struct termios) /* get termios struct */
#define TIOCGETD _IOR('t', 26, int) /* get line discipline */
#define TIOCGPGRP _IOR('t', 119, int) /* get pgrp of tty */
#define TIOCOUTQ _IOR('t', 115, int) /* output queue size */
#define VIDIOC_QUERYCAP _IOR('V', 0, struct v4l2_capability)
#define VIDIOC_G_FBUF _IOR('V', 10, struct v4l2_framebuffer)
#define VIDIOC_G_STD _IOR('V', 23, v4l2_std_id)
#define VIDIOC_G_AUDIO _IOR('V', 33, struct v4l2_audio)
#define VIDIOC_G_INPUT _IOR('V', 38, int)
#define VIDIOC_G_OUTPUT _IOR('V', 46, int)
#define VIDIOC_G_AUDOUT _IOR('V', 49, struct v4l2_audioout)
#define VIDIOC_G_JPEGCOMP _IOR('V', 61, struct v4l2_jpegcompression)
#define VIDIOC_QUERYSTD _IOR('V', 63, v4l2_std_id)
#define VIDIOC_G_PRIORITY _IOR('V', 67, u_int32_t) /* enum v4l2_priority */
#define VIDIOC_G_ENC_INDEX _IOR('V', 76, struct v4l2_enc_idx)
#define VIDIOC_DQEVENT _IOR('V', 89, struct v4l2_event)
#define VIDIOC_QUERY_DV_TIMINGS _IOR('V', 99, struct v4l2_dv_timings)