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