1 /* emulated ioctl list */ 2 3 IOCTL(TCGETS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios))) 4 IOCTL(TCGETS, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios))) 5 IOCTL(TCSETSF, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios))) 6 IOCTL(TCSETSW, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios))) 7 IOCTL(TIOCGWINSZ, IOC_R, MK_PTR(MK_STRUCT(STRUCT_winsize))) 8 IOCTL(TIOCSWINSZ, IOC_W, MK_PTR(MK_STRUCT(STRUCT_winsize))) 9 IOCTL(FIONREAD, IOC_R, MK_PTR(TYPE_INT)) 10 IOCTL(TCGETA, IOC_R, MK_PTR(TYPE_INT)) 11 IOCTL(TCSETA, IOC_W, MK_PTR(TYPE_INT)) 12 IOCTL(TCSETAW, IOC_W, MK_PTR(TYPE_INT)) 13 IOCTL(TCSETAF, IOC_W, MK_PTR(TYPE_INT)) 14 IOCTL(TCSBRK, 0, TYPE_INT) 15 IOCTL(TCSBRKP, 0, TYPE_INT) 16 IOCTL(TCXONC, 0, TYPE_INT) 17 IOCTL(TCFLSH, 0, TYPE_INT) 18 IOCTL(TIOCEXCL, 0, TYPE_NULL) 19 IOCTL(TIOCNXCL, 0, TYPE_NULL) 20 IOCTL(TIOCSCTTY, 0, TYPE_INT) 21 IOCTL(TIOCGPGRP, IOC_R, MK_PTR(TYPE_INT)) 22 IOCTL(TIOCSPGRP, IOC_W, MK_PTR(TYPE_INT)) 23 IOCTL(TIOCOUTQ, IOC_R, MK_PTR(TYPE_INT)) 24 IOCTL(TIOCSTI, IOC_W, MK_PTR(TYPE_INT)) 25 IOCTL(TIOCMGET, IOC_R, MK_PTR(TYPE_INT)) 26 IOCTL(TIOCMBIS, IOC_W, MK_PTR(TYPE_INT)) 27 IOCTL(TIOCMBIC, IOC_W, MK_PTR(TYPE_INT)) 28 IOCTL(TIOCMSET, IOC_W, MK_PTR(TYPE_INT)) 29 IOCTL(TIOCGSOFTCAR, IOC_R, MK_PTR(TYPE_INT)) 30 IOCTL(TIOCSSOFTCAR, IOC_W, MK_PTR(TYPE_INT)) 31 IOCTL(TIOCLINUX, IOC_R | IOC_W, MK_PTR(TYPE_INT)) 32 IOCTL(TIOCCONS, 0, TYPE_NULL) 33 IOCTL(TIOCGSERIAL, IOC_R, MK_PTR(TYPE_INT)) 34 IOCTL(TIOCSSERIAL, IOC_W, MK_PTR(TYPE_INT)) 35 IOCTL(TIOCPKT, IOC_W, MK_PTR(TYPE_INT)) 36 IOCTL(FIONBIO, IOC_W, MK_PTR(TYPE_INT)) 37 IOCTL(TIOCNOTTY, 0, TYPE_NULL) 38 IOCTL(TIOCGETD, IOC_R, MK_PTR(TYPE_INT)) 39 IOCTL(TIOCSETD, IOC_W, MK_PTR(TYPE_INT)) 40 IOCTL(FIOCLEX, 0, TYPE_NULL) 41 IOCTL(FIONCLEX, 0, TYPE_NULL) 42 IOCTL(FIOASYNC, IOC_W, MK_PTR(TYPE_INT)) 43 IOCTL(TIOCGLCKTRMIOS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios))) 44 IOCTL(TIOCSLCKTRMIOS, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios))) 45 IOCTL(TIOCSERCONFIG, 0, TYPE_NULL) 46 IOCTL(TIOCSERGETLSR, IOC_R, MK_PTR(TYPE_INT)) 47 IOCTL(TIOCSERGETMULTI, IOC_R, MK_PTR(MK_STRUCT(STRUCT_serial_multiport_struct))) 48 IOCTL(TIOCSERSETMULTI, IOC_W, MK_PTR(MK_STRUCT(STRUCT_serial_multiport_struct))) 49 IOCTL(TIOCMIWAIT, 0, TYPE_INT) 50 IOCTL(TIOCGICOUNT, IOC_R, MK_PTR(MK_STRUCT(STRUCT_serial_icounter_struct))) 51 52 IOCTL(BLKROSET, IOC_W, MK_PTR(TYPE_INT)) 53 IOCTL(BLKROGET, IOC_R, MK_PTR(TYPE_INT)) 54 IOCTL(BLKRRPART, 0, TYPE_NULL) 55 IOCTL(BLKGETSIZE, IOC_R, MK_PTR(TYPE_ULONG)) 56 #ifdef BLKGETSIZE64 57 IOCTL(BLKGETSIZE64, IOC_R, MK_PTR(TYPE_ULONGLONG)) 58 #endif 59 IOCTL(BLKFLSBUF, 0, TYPE_NULL) 60 IOCTL(BLKRASET, 0, TYPE_INT) 61 IOCTL(BLKRAGET, IOC_R, MK_PTR(TYPE_LONG)) 62 #ifdef FIBMAP 63 IOCTL(FIBMAP, IOC_W | IOC_R, MK_PTR(TYPE_LONG)) 64 #endif 65 #ifdef FIGETBSZ 66 IOCTL(FIGETBSZ, IOC_R, MK_PTR(TYPE_LONG)) 67 #endif 68 69 IOCTL(SIOCADDRT, IOC_W, MK_PTR(MK_STRUCT(STRUCT_rtentry))) 70 IOCTL(SIOCDELRT, IOC_W, MK_PTR(MK_STRUCT(STRUCT_rtentry))) 71 IOCTL(SIOCGIFNAME, IOC_RW, MK_PTR(TYPE_INT)) 72 IOCTL(SIOCGIFFLAGS, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_short_ifreq))) 73 IOCTL(SIOCSIFFLAGS, IOC_W, MK_PTR(MK_STRUCT(STRUCT_short_ifreq))) 74 IOCTL(SIOCGIFADDR, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 75 IOCTL(SIOCSIFADDR, IOC_W, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 76 IOCTL(SIOCGIFBRDADDR, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 77 IOCTL(SIOCSIFBRDADDR, IOC_W, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 78 IOCTL(SIOCGIFDSTADDR, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 79 IOCTL(SIOCSIFDSTADDR, IOC_W, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 80 IOCTL(SIOCGIFNETMASK, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 81 IOCTL(SIOCSIFNETMASK, IOC_W, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 82 IOCTL(SIOCGIFHWADDR, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 83 IOCTL(SIOCSIFHWADDR, IOC_W, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 84 IOCTL(SIOCGIFTXQLEN, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 85 IOCTL(SIOCSIFTXQLEN, IOC_W, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 86 IOCTL(SIOCGIFMETRIC, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_int_ifreq))) 87 IOCTL(SIOCSIFMETRIC, IOC_W, MK_PTR(MK_STRUCT(STRUCT_int_ifreq))) 88 IOCTL(SIOCGIFMTU, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_int_ifreq))) 89 IOCTL(SIOCSIFMTU, IOC_W, MK_PTR(MK_STRUCT(STRUCT_int_ifreq))) 90 IOCTL(SIOCGIFMAP, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_ifmap_ifreq))) 91 IOCTL(SIOCSIFMAP, IOC_W, MK_PTR(MK_STRUCT(STRUCT_ifmap_ifreq))) 92 IOCTL(SIOCGIFSLAVE, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_char_ifreq))) 93 IOCTL(SIOCSIFSLAVE, IOC_W, MK_PTR(MK_STRUCT(STRUCT_char_ifreq))) 94 IOCTL(SIOCGIFMEM, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_ptr_ifreq))) 95 IOCTL(SIOCSIFMEM, IOC_W, MK_PTR(MK_STRUCT(STRUCT_ptr_ifreq))) 96 IOCTL(SIOCADDMULTI, IOC_W, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 97 IOCTL(SIOCDELMULTI, IOC_W, MK_PTR(MK_STRUCT(STRUCT_sockaddr_ifreq))) 98 IOCTL(SIOCSIFLINK, 0, TYPE_NULL) 99 IOCTL(SIOCGIFCONF, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_ifconf))) 100 IOCTL(SIOCGIFENCAP, IOC_RW, MK_PTR(TYPE_INT)) 101 IOCTL(SIOCSIFENCAP, IOC_W, MK_PTR(TYPE_INT)) 102 IOCTL(SIOCDARP, IOC_W, MK_PTR(MK_STRUCT(STRUCT_arpreq))) 103 IOCTL(SIOCSARP, IOC_W, MK_PTR(MK_STRUCT(STRUCT_arpreq))) 104 IOCTL(SIOCGARP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_arpreq))) 105 IOCTL(SIOCDRARP, IOC_W, MK_PTR(MK_STRUCT(STRUCT_arpreq))) 106 IOCTL(SIOCSRARP, IOC_W, MK_PTR(MK_STRUCT(STRUCT_arpreq))) 107 IOCTL(SIOCGRARP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_arpreq))) 108 109 IOCTL(CDROMPAUSE, 0, TYPE_NULL) 110 IOCTL(CDROMSTART, 0, TYPE_NULL) 111 IOCTL(CDROMSTOP, 0, TYPE_NULL) 112 IOCTL(CDROMRESUME, 0, TYPE_NULL) 113 IOCTL(CDROMEJECT, 0, TYPE_NULL) 114 IOCTL(CDROMEJECT_SW, 0, TYPE_INT) 115 IOCTL(CDROMCLOSETRAY, 0, TYPE_NULL) 116 IOCTL(CDROMRESET, 0, TYPE_NULL) 117 IOCTL(CDROMPLAYMSF, IOC_W, MK_PTR(TYPE_INT)) 118 IOCTL(CDROMPLAYTRKIND, IOC_W, MK_PTR(TYPE_INT)) 119 IOCTL(CDROMREADTOCHDR, IOC_R, MK_PTR(TYPE_INT)) 120 IOCTL(CDROMREADTOCENTRY, IOC_RW, MK_PTR(TYPE_INT)) 121 IOCTL(CDROMVOLCTRL, IOC_W, MK_PTR(TYPE_INT)) 122 IOCTL(CDROMSUBCHNL, IOC_RW, MK_PTR(TYPE_INT)) 123 /* XXX: incorrect (need specific handling) */ 124 IOCTL(CDROMREADAUDIO, IOC_W, MK_PTR(MK_STRUCT(STRUCT_cdrom_read_audio))) 125 IOCTL(CDROMREADCOOKED, IOC_RW, MK_PTR(TYPE_INT)) 126 IOCTL(CDROMREADRAW, IOC_RW, MK_PTR(TYPE_INT)) 127 IOCTL(CDROMREADMODE1, IOC_RW, MK_PTR(TYPE_INT)) 128 IOCTL(CDROMREADMODE2, IOC_RW, MK_PTR(TYPE_INT)) 129 IOCTL(CDROMREADALL, IOC_RW, MK_PTR(TYPE_INT)) 130 IOCTL(CDROMMULTISESSION, IOC_RW, MK_PTR(TYPE_INT)) 131 IOCTL(CDROM_GET_UPC, IOC_R, MK_PTR(TYPE_INT)) 132 IOCTL(CDROMVOLREAD, IOC_R, MK_PTR(TYPE_INT)) 133 IOCTL(CDROMSEEK, IOC_W, MK_PTR(TYPE_INT)) 134 IOCTL(CDROMPLAYBLK, IOC_W, MK_PTR(TYPE_INT)) 135 IOCTL(CDROM_MEDIA_CHANGED, 0, TYPE_NULL) 136 IOCTL(CDROM_SET_OPTIONS, 0, TYPE_INT) 137 IOCTL(CDROM_CLEAR_OPTIONS, 0, TYPE_INT) 138 IOCTL(CDROM_SELECT_SPEED, 0, TYPE_INT) 139 IOCTL(CDROM_SELECT_DISC, 0, TYPE_INT) 140 IOCTL(CDROM_DRIVE_STATUS, 0, TYPE_NULL) 141 IOCTL(CDROM_DISC_STATUS, 0, TYPE_NULL) 142 IOCTL(CDROMAUDIOBUFSIZ, 0, TYPE_INT) 143 144 IOCTL(SNDCTL_COPR_HALT, IOC_RW, MK_PTR(TYPE_INT)) 145 IOCTL(SNDCTL_COPR_LOAD, IOC_RW, MK_PTR(TYPE_INT)) 146 IOCTL(SNDCTL_COPR_RCODE, IOC_RW, MK_PTR(TYPE_INT)) 147 IOCTL(SNDCTL_COPR_RCVMSG, IOC_R, MK_PTR(TYPE_INT)) 148 IOCTL(SNDCTL_COPR_RDATA, IOC_RW, MK_PTR(TYPE_INT)) 149 IOCTL(SNDCTL_COPR_RESET, 0, TYPE_NULL) 150 IOCTL(SNDCTL_COPR_RUN, IOC_RW, MK_PTR(TYPE_INT)) 151 IOCTL(SNDCTL_COPR_SENDMSG, IOC_RW, MK_PTR(TYPE_INT)) 152 IOCTL(SNDCTL_COPR_WCODE, IOC_W, MK_PTR(TYPE_INT)) 153 IOCTL(SNDCTL_COPR_WDATA, IOC_W, MK_PTR(TYPE_INT)) 154 IOCTL(SNDCTL_DSP_CHANNELS, IOC_RW, MK_PTR(TYPE_INT)) 155 IOCTL(SNDCTL_DSP_GETBLKSIZE, IOC_RW, MK_PTR(TYPE_INT)) 156 IOCTL(SNDCTL_DSP_GETCAPS, IOC_R, MK_PTR(TYPE_INT)) 157 IOCTL(SNDCTL_DSP_GETFMTS, IOC_R, MK_PTR(TYPE_INT)) 158 IOCTL(SNDCTL_DSP_GETIPTR, IOC_R, MK_PTR(TYPE_INT)) 159 IOCTL(SNDCTL_DSP_GETISPACE, IOC_R, MK_PTR(TYPE_INT)) 160 IOCTL(SNDCTL_DSP_GETOPTR, IOC_R, MK_PTR(TYPE_INT)) 161 IOCTL(SNDCTL_DSP_GETOSPACE, IOC_R, MK_PTR(TYPE_INT)) 162 IOCTL(SNDCTL_DSP_GETTRIGGER, IOC_R, MK_PTR(TYPE_INT)) 163 IOCTL(SNDCTL_DSP_MAPINBUF, IOC_R, MK_PTR(TYPE_INT)) 164 IOCTL(SNDCTL_DSP_MAPOUTBUF, IOC_R, MK_PTR(TYPE_INT)) 165 IOCTL(SNDCTL_DSP_NONBLOCK, 0, TYPE_NULL) 166 IOCTL(SNDCTL_DSP_POST, 0, TYPE_NULL) 167 IOCTL(SNDCTL_DSP_RESET, 0, TYPE_NULL) 168 IOCTL(SNDCTL_DSP_SETDUPLEX, 0, TYPE_NULL) 169 IOCTL(SNDCTL_DSP_SETFMT, IOC_RW, MK_PTR(TYPE_INT)) 170 IOCTL(SNDCTL_DSP_SETFRAGMENT, IOC_RW, MK_PTR(TYPE_INT)) 171 IOCTL(SNDCTL_DSP_SETSYNCRO, 0, TYPE_NULL) 172 IOCTL(SNDCTL_DSP_SETTRIGGER, IOC_W, MK_PTR(TYPE_INT)) 173 IOCTL(SNDCTL_DSP_SPEED, IOC_RW, MK_PTR(TYPE_INT)) 174 IOCTL(SNDCTL_DSP_STEREO, IOC_RW, MK_PTR(TYPE_INT)) 175 IOCTL(SNDCTL_DSP_SUBDIVIDE, IOC_RW, MK_PTR(TYPE_INT)) 176 IOCTL(SNDCTL_DSP_SYNC, 0, TYPE_NULL) 177 IOCTL(SNDCTL_FM_4OP_ENABLE, IOC_W, MK_PTR(TYPE_INT)) 178 IOCTL(SNDCTL_FM_LOAD_INSTR, IOC_W, MK_PTR(TYPE_INT)) 179 IOCTL(SNDCTL_MIDI_INFO, IOC_RW, MK_PTR(TYPE_INT)) 180 IOCTL(SNDCTL_MIDI_MPUCMD, IOC_RW, MK_PTR(TYPE_INT)) 181 IOCTL(SNDCTL_MIDI_MPUMODE, IOC_RW, MK_PTR(TYPE_INT)) 182 IOCTL(SNDCTL_MIDI_PRETIME, IOC_RW, MK_PTR(TYPE_INT)) 183 IOCTL(SNDCTL_SEQ_CTRLRATE, IOC_RW, MK_PTR(TYPE_INT)) 184 IOCTL(SNDCTL_SEQ_GETINCOUNT, IOC_R, MK_PTR(TYPE_INT)) 185 IOCTL(SNDCTL_SEQ_GETOUTCOUNT, IOC_R, MK_PTR(TYPE_INT)) 186 IOCTL(SNDCTL_SEQ_NRMIDIS, IOC_R, MK_PTR(TYPE_INT)) 187 IOCTL(SNDCTL_SEQ_NRSYNTHS, IOC_R, MK_PTR(TYPE_INT)) 188 IOCTL(SNDCTL_SEQ_OUTOFBAND, IOC_W, MK_PTR(TYPE_INT)) 189 IOCTL(SNDCTL_SEQ_PANIC, 0, TYPE_NULL) 190 IOCTL(SNDCTL_SEQ_PERCMODE, IOC_W, MK_PTR(TYPE_INT)) 191 IOCTL(SNDCTL_SEQ_RESET, 0, TYPE_NULL) 192 IOCTL(SNDCTL_SEQ_RESETSAMPLES, IOC_W, MK_PTR(TYPE_INT)) 193 IOCTL(SNDCTL_SEQ_SYNC, 0, TYPE_NULL) 194 IOCTL(SNDCTL_SEQ_TESTMIDI, IOC_W, MK_PTR(TYPE_INT)) 195 IOCTL(SNDCTL_SEQ_THRESHOLD, IOC_W, MK_PTR(TYPE_INT)) 196 IOCTL(SNDCTL_SYNTH_INFO, IOC_RW, MK_PTR(TYPE_INT)) 197 IOCTL(SNDCTL_SYNTH_MEMAVL, IOC_RW, MK_PTR(TYPE_INT)) 198 IOCTL(SNDCTL_TMR_CONTINUE, 0, TYPE_NULL) 199 IOCTL(SNDCTL_TMR_METRONOME, IOC_W, MK_PTR(TYPE_INT)) 200 IOCTL(SNDCTL_TMR_SELECT, IOC_W, MK_PTR(TYPE_INT)) 201 IOCTL(SNDCTL_TMR_SOURCE, IOC_RW, MK_PTR(TYPE_INT)) 202 IOCTL(SNDCTL_TMR_START, 0, TYPE_NULL) 203 IOCTL(SNDCTL_TMR_STOP, 0, TYPE_NULL) 204 IOCTL(SNDCTL_TMR_TEMPO, IOC_RW, MK_PTR(TYPE_INT)) 205 IOCTL(SNDCTL_TMR_TIMEBASE, IOC_RW, MK_PTR(TYPE_INT)) 206 207 IOCTL(SOUND_PCM_WRITE_FILTER, IOC_W | IOC_R, MK_PTR(TYPE_INT)) 208 IOCTL(SOUND_PCM_READ_RATE, IOC_R, MK_PTR(TYPE_INT)) 209 IOCTL(SOUND_PCM_READ_CHANNELS, IOC_R, MK_PTR(TYPE_INT)) 210 IOCTL(SOUND_PCM_READ_BITS, IOC_R, MK_PTR(TYPE_INT)) 211 IOCTL(SOUND_PCM_READ_FILTER, IOC_R, MK_PTR(TYPE_INT)) 212 IOCTL(SOUND_MIXER_INFO, IOC_R, MK_PTR(TYPE_INT)) 213 IOCTL(SOUND_MIXER_ACCESS, 0, TYPE_PTRVOID) 214 IOCTL(SOUND_MIXER_PRIVATE1, IOC_RW, MK_PTR(TYPE_INT)) 215 IOCTL(SOUND_MIXER_PRIVATE2, IOC_RW, MK_PTR(TYPE_INT)) 216 IOCTL(SOUND_MIXER_PRIVATE3, IOC_RW, MK_PTR(TYPE_INT)) 217 IOCTL(SOUND_MIXER_PRIVATE4, IOC_RW, MK_PTR(TYPE_INT)) 218 IOCTL(SOUND_MIXER_PRIVATE5, IOC_RW, MK_PTR(TYPE_INT)) 219 IOCTL(SOUND_MIXER_READ_VOLUME, IOC_R, MK_PTR(TYPE_INT)) 220 IOCTL(SOUND_MIXER_READ_BASS, IOC_R, MK_PTR(TYPE_INT)) 221 IOCTL(SOUND_MIXER_READ_TREBLE, IOC_R, MK_PTR(TYPE_INT)) 222 IOCTL(SOUND_MIXER_READ_SYNTH, IOC_R, MK_PTR(TYPE_INT)) 223 IOCTL(SOUND_MIXER_READ_PCM, IOC_R, MK_PTR(TYPE_INT)) 224 IOCTL(SOUND_MIXER_READ_SPEAKER, IOC_R, MK_PTR(TYPE_INT)) 225 IOCTL(SOUND_MIXER_READ_LINE, IOC_R, MK_PTR(TYPE_INT)) 226 IOCTL(SOUND_MIXER_READ_MIC, IOC_R, MK_PTR(TYPE_INT)) 227 IOCTL(SOUND_MIXER_READ_CD, IOC_R, MK_PTR(TYPE_INT)) 228 IOCTL(SOUND_MIXER_READ_IMIX, IOC_R, MK_PTR(TYPE_INT)) 229 IOCTL(SOUND_MIXER_READ_ALTPCM, IOC_R, MK_PTR(TYPE_INT)) 230 IOCTL(SOUND_MIXER_READ_RECLEV, IOC_R, MK_PTR(TYPE_INT)) 231 IOCTL(SOUND_MIXER_READ_IGAIN, IOC_R, MK_PTR(TYPE_INT)) 232 IOCTL(SOUND_MIXER_READ_OGAIN, IOC_R, MK_PTR(TYPE_INT)) 233 IOCTL(SOUND_MIXER_READ_LINE1, IOC_R, MK_PTR(TYPE_INT)) 234 IOCTL(SOUND_MIXER_READ_LINE2, IOC_R, MK_PTR(TYPE_INT)) 235 IOCTL(SOUND_MIXER_READ_LINE3, IOC_R, MK_PTR(TYPE_INT)) 236 IOCTL(SOUND_MIXER_READ_MUTE, IOC_R, MK_PTR(TYPE_INT)) 237 IOCTL(SOUND_MIXER_READ_ENHANCE, IOC_R, MK_PTR(TYPE_INT)) 238 IOCTL(SOUND_MIXER_READ_LOUD, IOC_R, MK_PTR(TYPE_INT)) 239 IOCTL(SOUND_MIXER_READ_RECSRC, IOC_R, MK_PTR(TYPE_INT)) 240 IOCTL(SOUND_MIXER_READ_DEVMASK, IOC_R, MK_PTR(TYPE_INT)) 241 IOCTL(SOUND_MIXER_READ_RECMASK, IOC_R, MK_PTR(TYPE_INT)) 242 IOCTL(SOUND_MIXER_READ_STEREODEVS, IOC_R, MK_PTR(TYPE_INT)) 243 IOCTL(SOUND_MIXER_READ_CAPS, IOC_R, MK_PTR(TYPE_INT)) 244 245 IOCTL(SOUND_MIXER_WRITE_VOLUME, IOC_W, MK_PTR(TYPE_INT)) 246 IOCTL(SOUND_MIXER_WRITE_BASS, IOC_W, MK_PTR(TYPE_INT)) 247 IOCTL(SOUND_MIXER_WRITE_TREBLE, IOC_W, MK_PTR(TYPE_INT)) 248 IOCTL(SOUND_MIXER_WRITE_SYNTH, IOC_W, MK_PTR(TYPE_INT)) 249 IOCTL(SOUND_MIXER_WRITE_PCM, IOC_W, MK_PTR(TYPE_INT)) 250 IOCTL(SOUND_MIXER_WRITE_SPEAKER, IOC_W, MK_PTR(TYPE_INT)) 251 IOCTL(SOUND_MIXER_WRITE_LINE, IOC_W, MK_PTR(TYPE_INT)) 252 IOCTL(SOUND_MIXER_WRITE_MIC, IOC_W, MK_PTR(TYPE_INT)) 253 IOCTL(SOUND_MIXER_WRITE_CD, IOC_W, MK_PTR(TYPE_INT)) 254 IOCTL(SOUND_MIXER_WRITE_IMIX, IOC_W, MK_PTR(TYPE_INT)) 255 IOCTL(SOUND_MIXER_WRITE_ALTPCM, IOC_W, MK_PTR(TYPE_INT)) 256 IOCTL(SOUND_MIXER_WRITE_RECLEV, IOC_W, MK_PTR(TYPE_INT)) 257 IOCTL(SOUND_MIXER_WRITE_IGAIN, IOC_W, MK_PTR(TYPE_INT)) 258 IOCTL(SOUND_MIXER_WRITE_OGAIN, IOC_W, MK_PTR(TYPE_INT)) 259 IOCTL(SOUND_MIXER_WRITE_LINE1, IOC_W, MK_PTR(TYPE_INT)) 260 IOCTL(SOUND_MIXER_WRITE_LINE2, IOC_W, MK_PTR(TYPE_INT)) 261 IOCTL(SOUND_MIXER_WRITE_LINE3, IOC_W, MK_PTR(TYPE_INT)) 262 IOCTL(SOUND_MIXER_WRITE_MUTE, IOC_W, MK_PTR(TYPE_INT)) 263 IOCTL(SOUND_MIXER_WRITE_ENHANCE, IOC_W, MK_PTR(TYPE_INT)) 264 IOCTL(SOUND_MIXER_WRITE_LOUD, IOC_W, MK_PTR(TYPE_INT)) 265 IOCTL(SOUND_MIXER_WRITE_RECSRC, IOC_W, MK_PTR(TYPE_INT)) 266 267 IOCTL(HDIO_GETGEO, IOC_R, MK_PTR(MK_STRUCT(STRUCT_hd_geometry))) 268 IOCTL(HDIO_GET_UNMASKINTR, IOC_R, MK_PTR(TYPE_INT)) 269 IOCTL(HDIO_GET_MULTCOUNT, IOC_R, MK_PTR(TYPE_INT)) 270 IOCTL(HDIO_GET_IDENTITY, IOC_R, MK_PTR(TYPE_INT)) 271 IOCTL(HDIO_GET_KEEPSETTINGS, IOC_R, MK_PTR(TYPE_INT)) 272 IOCTL(HDIO_GET_NOWERR, IOC_R, MK_PTR(TYPE_INT)) 273 IOCTL(HDIO_GET_DMA, IOC_R, MK_PTR(TYPE_INT)) 274 IOCTL(HDIO_GET_32BIT, IOC_R, MK_PTR(TYPE_INT)) 275 IOCTL(HDIO_DRIVE_CMD, IOC_R, MK_PTR(TYPE_INT)) 276 IOCTL(HDIO_SET_UNMASKINTR, 0, TYPE_INT) 277 IOCTL(HDIO_SET_MULTCOUNT, 0, TYPE_INT) 278 IOCTL(HDIO_SET_KEEPSETTINGS, 0, TYPE_INT) 279 IOCTL(HDIO_SET_NOWERR, 0, TYPE_INT) 280 IOCTL(HDIO_SET_DMA, 0, TYPE_INT) 281 IOCTL(HDIO_SET_32BIT, 0, TYPE_INT) 282 IOCTL(HDIO_SET_PIO_MODE, 0, TYPE_INT) 283