_IO
#define SNDCTL_DSP_RESET _IO ('P', 0)
#define SNDCTL_DSP_SYNC _IO ('P', 1)
#define SNDCTL_DSP_POST _IO ('P', 8)
#define SNDCTL_DSP_NONBLOCK _IO ('P',14)
#define SNDCTL_DSP_SETSYNCRO _IO ('P', 21)
#define SNDCTL_DSP_SETDUPLEX _IO ('P', 22)
#define APM_IOC_STANDBY _IO('A', 1) /* put system into standby */
#define APM_IOC_SUSPEND _IO('A', 2) /* put system into suspend */
#define APM_IOC_STANDBY_REQ _IO('A', 7) /* request standby */
#define APM_IOC_SUSPEND_REQ _IO('A', 8) /* request suspend */
#define APM_IOC_HIBERNATE _IO('A', 9) /* put system into hibernate */
#define APM_IOC_STANDBY _IO('A', 1) /* put system into standby */
#define APM_IOC_SUSPEND _IO('A', 2) /* put system into suspend */
#define APM_IOC_STANDBY_REQ _IO('A', 7) /* request standby */
#define APM_IOC_SUSPEND_REQ _IO('A', 8) /* request suspend */
#define APM_IOC_HIBERNATE _IO('A', 9) /* put system into hibernate */
#define APM_IOC_STANDBY _IO('A', 1) /* put system into standby */
#define APM_IOC_SUSPEND _IO('A', 2) /* put system into suspend */
#define APM_IOC_STANDBY_REQ _IO('A', 7) /* request standby */
#define APM_IOC_SUSPEND_REQ _IO('A', 8) /* request suspend */
#define APM_IOC_HIBERNATE _IO('A', 9) /* put system into hibernate */
#define APM_IOC_STANDBY _IO('A', 1) /* put system into standby */
#define APM_IOC_SUSPEND _IO('A', 2) /* put system into suspend */
#define APM_IOC_STANDBY_REQ _IO('A', 7) /* request standby */
#define APM_IOC_SUSPEND_REQ _IO('A', 8) /* request suspend */
#define APM_IOC_HIBERNATE _IO('A', 9) /* put system into hibernate */
#define APM_IOC_STANDBY _IO('A', 1) /* put system into standby */
#define APM_IOC_SUSPEND _IO('A', 2) /* put system into suspend */
#define APM_IOC_STANDBY_REQ _IO('A', 7) /* request standby */
#define APM_IOC_SUSPEND_REQ _IO('A', 8) /* request suspend */
#define APM_IOC_HIBERNATE _IO('A', 9) /* put system into hibernate */
#define LCDCLS _IO('L', 1) /* Clear LCD screen */
#define LCDHOME _IO('L', 2) /* Move the cursor to left-upper */
#define LCDRESTORE _IO('L', 7) /* Restore boot-time LCD message */
#define APM_IOC_STANDBY _IO('A', 1) /* put system into standby */
#define APM_IOC_SUSPEND _IO('A', 2) /* put system into suspend */
#define APM_IOC_STANDBY_REQ _IO('A', 7) /* request standby */
#define APM_IOC_SUSPEND_REQ _IO('A', 8) /* request suspend */
#define APM_IOC_HIBERNATE _IO('A', 9) /* put system into hibernate */
#define APM_IOC_STANDBY _IO('A', 1) /* put system into standby */
#define APM_IOC_SUSPEND _IO('A', 2) /* put system into suspend */
#define APM_IOC_STANDBY_REQ _IO('A', 7) /* request standby */
#define APM_IOC_SUSPEND_REQ _IO('A', 8) /* request suspend */
#define APM_IOC_HIBERNATE _IO('A', 9) /* put system into hibernate */
#define APM_IOC_STANDBY _IO('A', 1) /* put system into standby */
#define APM_IOC_SUSPEND _IO('A', 2) /* put system into suspend */
#define APM_IOC_STANDBY_REQ _IO('A', 7) /* request standby */
#define APM_IOC_SUSPEND_REQ _IO('A', 8) /* request suspend */
#define APM_IOC_HIBERNATE _IO('A', 9) /* put system into hibernate */
case _IO('f', 100):
case _IO('f', 102):
#define APM_IOC_STANDBY _IO('A', 1) /* put system into standby */
#define APM_IOC_SUSPEND _IO('A', 2) /* put system into suspend */
#define APM_IOC_STANDBY_REQ _IO('A', 7) /* request standby */
#define APM_IOC_SUSPEND_REQ _IO('A', 8) /* request suspend */
#define APM_IOC_HIBERNATE _IO('A', 9) /* put system into hibernate */
#define BT848_MSP_RESET _IO('x', 76) /* MSP chip reset */
#define PSP_IOC_DF_FLUSH _IO('P', 1)
#define PSP_IOC_INIT _IO('P', 12)
#define PSP_IOC_SHUTDOWN _IO('P', 13)
#define SPKRTUNE _IO('S', 2) /* emit tone sequence */
#define DRM_IO(nr) _IO(DRM_IOCTL_BASE,nr)
#define I915_PERF_IOCTL_ENABLE _IO('i', 0x0)
#define I915_PERF_IOCTL_DISABLE _IO('i', 0x1)
#define I915_PERF_IOCTL_CONFIG _IO('i', 0x2)
#define AMDKFD_IO(nr) _IO(AMDKFD_IOCTL_BASE, nr)
#define WSKBDIO_BELL _IO('W', 1)
#define VT_RELDISP _IO('v', 4 /*, int */)
#define VT_ACTIVATE _IO('v', 5 /*, int */)
#define VT_WAITACTIVE _IO('v', 6 /*, int */)
#define KDSKBMODE _IO('K', 7 /*, int */) /* set keyboard mode */
#define KDMKTONE _IO('K', 8 /*, int */)
#define KDSETMODE _IO('K', 10 /*, int */)
#define KDENABIO _IO('K', 60) /* only allowed if euid == 0 */
#define KDDISABIO _IO('K', 61)
#define KDSETLED _IO('K', 66 /*, int */)
#define KDSETRAD _IO('K', 67 /*, int */)
#define BIOCFLUSH _IO('B',104)
#define BIOCPROMISC _IO('B',105)
#define BIOCLOCK _IO('B',118)
#define BIOCDWTIMEOUT _IO('B',126)
#define PPPIOCXFERUNIT _IO('t', 78) /* transfer PPP unit */
#define TUNDCAP _IO('t', 196)
#define DIOCSTART _IO ('D', 1)
#define DIOCSTOP _IO ('D', 2)
#define DIOCOSFPFLUSH _IO('D', 78)
#define DIOCCLRSRCNODES _IO('D', 85)
#define AUDIO_STOP _IO('A', 39)
#define AUDIO_START _IO('A', 38)
#define CDIOCSETMONO _IO('c', 12)
#define CDIOCSETSTEREO _IO('c', 13)
#define CDIOCSETMUTE _IO('c', 14)
#define CDIOCSETLEFT _IO('c', 15)
#define CDIOCSETRIGHT _IO('c', 16)
#define CDIOCSETDEBUG _IO('c', 17)
#define CDIOCCLRDEBUG _IO('c', 18)
#define CDIOCPAUSE _IO('c', 19)
#define CDIOCRESUME _IO('c', 20)
#define CDIOCRESET _IO('c', 21)
#define CDIOCSTART _IO('c', 22)
#define CDIOCSTOP _IO('c', 23)
#define CDIOCEJECT _IO('c', 24)
#define CDIOCALLOW _IO('c', 25)
#define CDIOCPREVENT _IO('c', 26)
#define CDIOCCLOSE _IO('c', 27)
#define DIOCEJECT _IO('d', 112) /* eject removable disk */
#define DIOCRLDINFO _IO('d', 115) /* reload disklabel */
#define FIOCLEX _IO('f', 1) /* set close on exec on fd */
#define FIONCLEX _IO('f', 2) /* remove close on exec */
#define KIODISABLE _IO('K', 3)
#define MTIOCIEOT _IO('m', 3) /* ignore EOT error */
#define MTIOCEEOT _IO('m', 4) /* enable EOT error */
#define SCIOCRESET _IO('Q', 7) /* reset the device */
#define TIOCSTOP _IO('t', 111) /* stop output, like ^S */
#define TIOCSTART _IO('t', 110) /* start output, like ^Q */
#define UIOCCMD(n) _IO('u', n) /* usr cntl op "n" */
#define TIOCSTAT _IO('t', 101) /* generate status message */
#define TIOCSCTTY _IO('t', 97) /* become controlling tty */
#define TIOCDRAIN _IO('t', 94) /* wait till output drained */
#define TIOCEXCL _IO('t', 13) /* set exclusive use of tty */
#define TIOCNXCL _IO('t', 14) /* reset exclusive use of tty */
#define TIOCCLRVERAUTH _IO('t', 29) /* clear verified auth */
#define TIOCCHKVERAUTH _IO('t', 30) /* check verified auth */
#define TIOCSBRK _IO('t', 123) /* set break bit */
#define TIOCCBRK _IO('t', 122) /* clear break bit */
#define TIOCSDTR _IO('t', 121) /* set data terminal ready */
#define TIOCCDTR _IO('t', 120) /* clear data terminal ready */
#define TIOCNOTTY _IO('t', 113) /* void tty association */
#define VIDIOC_LOG_STATUS _IO('V', 70)