1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef __LINUX_IXJUSER_H 20 #define __LINUX_IXJUSER_H 21 #include <linux/telephony.h> 22 #define IXJCTL_DSP_RESET _IO ('q', 0xC0) 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #define IXJCTL_RING PHONE_RING 25 #define IXJCTL_HOOKSTATE PHONE_HOOKSTATE 26 #define IXJCTL_MAXRINGS PHONE_MAXRINGS 27 #define IXJCTL_RING_CADENCE PHONE_RING_CADENCE 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 #define IXJCTL_RING_START PHONE_RING_START 30 #define IXJCTL_RING_STOP PHONE_RING_STOP 31 #define IXJCTL_CARDTYPE _IOR ('q', 0xC1, int) 32 #define IXJCTL_SERIAL _IOR ('q', 0xC2, int) 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 #define IXJCTL_DSP_TYPE _IOR ('q', 0xC3, int) 35 #define IXJCTL_DSP_VERSION _IOR ('q', 0xC4, int) 36 #define IXJCTL_VERSION _IOR ('q', 0xDA, char *) 37 #define IXJCTL_DSP_IDLE _IO ('q', 0xC5) 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 #define IXJCTL_TESTRAM _IO ('q', 0xC6) 40 #define IXJCTL_REC_CODEC PHONE_REC_CODEC 41 #define IXJCTL_REC_START PHONE_REC_START 42 #define IXJCTL_REC_STOP PHONE_REC_STOP 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 #define IXJCTL_REC_DEPTH PHONE_REC_DEPTH 45 #define IXJCTL_FRAME PHONE_FRAME 46 #define IXJCTL_REC_VOLUME PHONE_REC_VOLUME 47 #define IXJCTL_REC_LEVEL PHONE_REC_LEVEL 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 typedef enum { 50 f300_640 = 4, f300_500, f1100, f350, f400, f480, f440, f620, f20_50, 51 f133_200, f300, f300_420, f330, f300_425, f330_440, f340, f350_400, 52 f350_440, f350_450, f360, f380_420, f392, f400_425, f400_440, f400_450, 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 f420, f425, f425_450, f425_475, f435, f440_450, f440_480, f445, f450, 55 f452, f475, f480_620, f494, f500, f520, f523, f525, f540_660, f587, 56 f590, f600, f660, f700, f740, f750, f750_1450, f770, f800, f816, f850, 57 f857_1645, f900, f900_1300, f935_1215, f941_1477, f942, f950, f950_1400, 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 f975, f1000, f1020, f1050, f1100_1750, f1140, f1200, f1209, f1330, f1336, 60 lf1366, f1380, f1400, f1477, f1600, f1633_1638, f1800, f1860 61 } IXJ_FILTER_FREQ; 62 typedef struct { 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 unsigned int filter; 65 IXJ_FILTER_FREQ freq; 66 char enable; 67 } IXJ_FILTER; 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 typedef struct { 70 char enable; 71 char en_filter; 72 unsigned int filter; 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 unsigned int on1; 75 unsigned int off1; 76 unsigned int on2; 77 unsigned int off2; 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 unsigned int on3; 80 unsigned int off3; 81 } IXJ_FILTER_CADENCE; 82 #define IXJCTL_SET_FILTER _IOW ('q', 0xC7, IXJ_FILTER *) 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 #define IXJCTL_SET_FILTER_RAW _IOW ('q', 0xDD, IXJ_FILTER_RAW *) 85 #define IXJCTL_GET_FILTER_HIST _IOW ('q', 0xC8, int) 86 #define IXJCTL_FILTER_CADENCE _IOW ('q', 0xD6, IXJ_FILTER_CADENCE *) 87 #define IXJCTL_PLAY_CID _IO ('q', 0xD7) 88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 typedef enum { 90 hz20 = 0x7ffa, 91 hz50 = 0x7fe5, 92 hz133 = 0x7f4c, 93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94 hz200 = 0x7e6b, 95 hz261 = 0x7d50, 96 hz277 = 0x7cfa, 97 hz293 = 0x7c9f, 98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99 hz300 = 0x7c75, 100 hz311 = 0x7c32, 101 hz329 = 0x7bbf, 102 hz330 = 0x7bb8, 103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104 hz340 = 0x7b75, 105 hz349 = 0x7b37, 106 hz350 = 0x7b30, 107 hz360 = 0x7ae9, 108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109 hz369 = 0x7aa8, 110 hz380 = 0x7a56, 111 hz392 = 0x79fa, 112 hz400 = 0x79bb, 113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114 hz415 = 0x7941, 115 hz420 = 0x7918, 116 hz425 = 0x78ee, 117 hz435 = 0x7899, 118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119 hz440 = 0x786d, 120 hz445 = 0x7842, 121 hz450 = 0x7815, 122 hz452 = 0x7803, 123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 124 hz466 = 0x7784, 125 hz475 = 0x7731, 126 hz480 = 0x7701, 127 hz493 = 0x7685, 128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 129 hz494 = 0x767b, 130 hz500 = 0x7640, 131 hz520 = 0x7578, 132 hz523 = 0x7559, 133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 134 hz525 = 0x7544, 135 hz540 = 0x74a7, 136 hz554 = 0x7411, 137 hz587 = 0x72a1, 138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 139 hz590 = 0x727f, 140 hz600 = 0x720b, 141 hz620 = 0x711e, 142 hz622 = 0x7106, 143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 144 hz659 = 0x6f3b, 145 hz660 = 0x6f2e, 146 hz698 = 0x6d3d, 147 hz700 = 0x6d22, 148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 149 hz739 = 0x6b09, 150 hz740 = 0x6afa, 151 hz750 = 0x6a6c, 152 hz770 = 0x694b, 153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 154 hz783 = 0x688b, 155 hz800 = 0x678d, 156 hz816 = 0x6698, 157 hz830 = 0x65bf, 158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 159 hz850 = 0x6484, 160 hz857 = 0x6414, 161 hz880 = 0x629f, 162 hz900 = 0x6154, 163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 164 hz932 = 0x5f35, 165 hz935 = 0x5f01, 166 hz941 = 0x5e9a, 167 hz942 = 0x5e88, 168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 169 hz950 = 0x5dfd, 170 hz975 = 0x5c44, 171 hz1000 = 0x5a81, 172 hz1020 = 0x5912, 173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 174 hz1050 = 0x56e2, 175 hz1100 = 0x5320, 176 hz1140 = 0x5007, 177 hz1200 = 0x4b3b, 178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 179 hz1209 = 0x4a80, 180 hz1215 = 0x4a02, 181 hz1250 = 0x471c, 182 hz1300 = 0x42e0, 183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 184 hz1330 = 0x4049, 185 hz1336 = 0x3fc4, 186 hz1366 = 0x3d22, 187 hz1380 = 0x3be4, 188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 189 hz1400 = 0x3a1b, 190 hz1450 = 0x3596, 191 hz1477 = 0x331c, 192 hz1500 = 0x30fb, 193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 194 hz1600 = 0x278d, 195 hz1633 = 0x2462, 196 hz1638 = 0x23e7, 197 hz1645 = 0x233a, 198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 199 hz1750 = 0x18f8, 200 hz1800 = 0x1405, 201 hz1860 = 0xe0b, 202 hz2100 = 0xf5f6, 203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 204 hz2130 = 0xf2f5, 205 hz2450 = 0xd3b3, 206 hz2750 = 0xb8e4 207 } IXJ_FREQ; 208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 209 typedef enum { 210 C1 = hz261, 211 CS1 = hz277, 212 D1 = hz293, 213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 214 DS1 = hz311, 215 E1 = hz329, 216 F1 = hz349, 217 FS1 = hz369, 218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 219 G1 = hz392, 220 GS1 = hz415, 221 A1 = hz440, 222 AS1 = hz466, 223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 224 B1 = hz493, 225 C2 = hz523, 226 CS2 = hz554, 227 D2 = hz587, 228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 229 DS2 = hz622, 230 E2 = hz659, 231 F2 = hz698, 232 FS2 = hz739, 233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 234 G2 = hz783, 235 GS2 = hz830, 236 A2 = hz880, 237 AS2 = hz932, 238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 239 } IXJ_NOTE; 240 typedef struct { 241 int tone_index; 242 int freq0; 243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 244 int gain0; 245 int freq1; 246 int gain1; 247 } IXJ_TONE; 248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 249 #define IXJCTL_INIT_TONE _IOW ('q', 0xC9, IXJ_TONE *) 250 typedef struct { 251 int index; 252 int tone_on_time; 253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 254 int tone_off_time; 255 int freq0; 256 int gain0; 257 int freq1; 258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 259 int gain1; 260 } IXJ_CADENCE_ELEMENT; 261 typedef enum { 262 PLAY_ONCE, 263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 264 REPEAT_LAST_ELEMENT, 265 REPEAT_ALL 266 } IXJ_CADENCE_TERM; 267 typedef struct { 268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 269 int elements_used; 270 IXJ_CADENCE_TERM termination; 271 IXJ_CADENCE_ELEMENT __user *ce; 272 } IXJ_CADENCE; 273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 274 #define IXJCTL_TONE_CADENCE _IOW ('q', 0xCA, IXJ_CADENCE *) 275 #define IXJCTL_PLAY_CODEC PHONE_PLAY_CODEC 276 #define IXJCTL_PLAY_START PHONE_PLAY_START 277 #define IXJCTL_PLAY_STOP PHONE_PLAY_STOP 278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 279 #define IXJCTL_PLAY_DEPTH PHONE_PLAY_DEPTH 280 #define IXJCTL_PLAY_VOLUME PHONE_PLAY_VOLUME 281 #define IXJCTL_PLAY_LEVEL PHONE_PLAY_LEVEL 282 #define IXJCTL_AEC_START _IOW ('q', 0xCB, int) 283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 284 #define IXJCTL_AEC_STOP _IO ('q', 0xCC) 285 #define IXJCTL_AEC_GET_LEVEL _IO ('q', 0xCD) 286 #define AEC_OFF 0 287 #define AEC_LOW 1 288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 289 #define AEC_MED 2 290 #define AEC_HIGH 3 291 #define AEC_AUTO 4 292 #define AEC_AGC 5 293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 294 #define IXJCTL_DTMF_READY PHONE_DTMF_READY 295 #define IXJCTL_GET_DTMF PHONE_GET_DTMF 296 #define IXJCTL_GET_DTMF_ASCII PHONE_GET_DTMF_ASCII 297 #define IXJCTL_DTMF_OOB PHONE_DTMF_OOB 298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 299 #define IXJCTL_EXCEPTION PHONE_EXCEPTION 300 #define IXJCTL_PLAY_TONE PHONE_PLAY_TONE 301 #define IXJCTL_SET_TONE_ON_TIME PHONE_SET_TONE_ON_TIME 302 #define IXJCTL_SET_TONE_OFF_TIME PHONE_SET_TONE_OFF_TIME 303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 304 #define IXJCTL_GET_TONE_ON_TIME PHONE_GET_TONE_ON_TIME 305 #define IXJCTL_GET_TONE_OFF_TIME PHONE_GET_TONE_OFF_TIME 306 #define IXJCTL_GET_TONE_STATE PHONE_GET_TONE_STATE 307 #define IXJCTL_BUSY PHONE_BUSY 308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 309 #define IXJCTL_RINGBACK PHONE_RINGBACK 310 #define IXJCTL_DIALTONE PHONE_DIALTONE 311 #define IXJCTL_CPT_STOP PHONE_CPT_STOP 312 #define IXJCTL_SET_LED _IOW ('q', 0xCE, int) 313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 314 #define IXJCTL_MIXER _IOW ('q', 0xCF, int) 315 #define MIXER_MASTER_L 0x0000 316 #define MIXER_MASTER_R 0x0100 317 #define ATT00DB 0x00 318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 319 #define ATT02DB 0x01 320 #define ATT04DB 0x02 321 #define ATT06DB 0x03 322 #define ATT08DB 0x04 323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 324 #define ATT10DB 0x05 325 #define ATT12DB 0x06 326 #define ATT14DB 0x07 327 #define ATT16DB 0x08 328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 329 #define ATT18DB 0x09 330 #define ATT20DB 0x0A 331 #define ATT22DB 0x0B 332 #define ATT24DB 0x0C 333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 334 #define ATT26DB 0x0D 335 #define ATT28DB 0x0E 336 #define ATT30DB 0x0F 337 #define ATT32DB 0x10 338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 339 #define ATT34DB 0x11 340 #define ATT36DB 0x12 341 #define ATT38DB 0x13 342 #define ATT40DB 0x14 343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 344 #define ATT42DB 0x15 345 #define ATT44DB 0x16 346 #define ATT46DB 0x17 347 #define ATT48DB 0x18 348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 349 #define ATT50DB 0x19 350 #define ATT52DB 0x1A 351 #define ATT54DB 0x1B 352 #define ATT56DB 0x1C 353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 354 #define ATT58DB 0x1D 355 #define ATT60DB 0x1E 356 #define ATT62DB 0x1F 357 #define MASTER_MUTE 0x80 358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 359 #define MIXER_PORT_CD_L 0x0600 360 #define MIXER_PORT_CD_R 0x0700 361 #define MIXER_PORT_LINE_IN_L 0x0800 362 #define MIXER_PORT_LINE_IN_R 0x0900 363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 364 #define MIXER_PORT_POTS_REC 0x0C00 365 #define MIXER_PORT_MIC 0x0E00 366 #define GAIN12DB 0x00 367 #define GAIN10DB 0x01 368 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 369 #define GAIN08DB 0x02 370 #define GAIN06DB 0x03 371 #define GAIN04DB 0x04 372 #define GAIN02DB 0x05 373 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 374 #define GAIN00DB 0x06 375 #define GAIN_02DB 0x07 376 #define GAIN_04DB 0x08 377 #define GAIN_06DB 0x09 378 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 379 #define GAIN_08DB 0x0A 380 #define GAIN_10DB 0x0B 381 #define GAIN_12DB 0x0C 382 #define GAIN_14DB 0x0D 383 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 384 #define GAIN_16DB 0x0E 385 #define GAIN_18DB 0x0F 386 #define GAIN_20DB 0x10 387 #define GAIN_22DB 0x11 388 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 389 #define GAIN_24DB 0x12 390 #define GAIN_26DB 0x13 391 #define GAIN_28DB 0x14 392 #define GAIN_30DB 0x15 393 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 394 #define GAIN_32DB 0x16 395 #define GAIN_34DB 0x17 396 #define GAIN_36DB 0x18 397 #define GAIN_38DB 0x19 398 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 399 #define GAIN_40DB 0x1A 400 #define GAIN_42DB 0x1B 401 #define GAIN_44DB 0x1C 402 #define GAIN_46DB 0x1D 403 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 404 #define GAIN_48DB 0x1E 405 #define GAIN_50DB 0x1F 406 #define INPUT_MUTE 0x80 407 #define MIXER_PORT_POTS_PLAY 0x0F00 408 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 409 #define POTS_ATT_00DB 0x00 410 #define POTS_ATT_04DB 0x01 411 #define POTS_ATT_08DB 0x02 412 #define POTS_ATT_12DB 0x03 413 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 414 #define POTS_ATT_16DB 0x04 415 #define POTS_ATT_20DB 0x05 416 #define POTS_ATT_24DB 0x06 417 #define POTS_ATT_28DB 0x07 418 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 419 #define POTS_MUTE 0x80 420 #define IXJCTL_DAA_COEFF_SET _IOW ('q', 0xD0, int) 421 #define DAA_US 1 422 #define DAA_UK 2 423 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 424 #define DAA_FRANCE 3 425 #define DAA_GERMANY 4 426 #define DAA_AUSTRALIA 5 427 #define DAA_JAPAN 6 428 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 429 #define IXJCTL_PORT _IOW ('q', 0xD1, int) 430 #define PORT_QUERY 0 431 #define PORT_POTS 1 432 #define PORT_PSTN 2 433 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 434 #define PORT_SPEAKER 3 435 #define PORT_HANDSET 4 436 #define IXJCTL_PSTN_SET_STATE PHONE_PSTN_SET_STATE 437 #define IXJCTL_PSTN_GET_STATE PHONE_PSTN_GET_STATE 438 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 439 #define PSTN_ON_HOOK 0 440 #define PSTN_RINGING 1 441 #define PSTN_OFF_HOOK 2 442 #define PSTN_PULSE_DIAL 3 443 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 444 #define IXJCTL_DAA_AGAIN _IOW ('q', 0xD2, int) 445 #define AGRR00DB 0x00 446 #define AGRR3_5DB 0x10 447 #define AGRR06DB 0x30 448 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 449 #define AGX00DB 0x00 450 #define AGX_6DB 0x04 451 #define AGX3_5DB 0x08 452 #define AGX_2_5B 0x0C 453 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 454 #define IXJCTL_PSTN_LINETEST _IO ('q', 0xD3) 455 #define IXJCTL_CID _IOR ('q', 0xD4, PHONE_CID *) 456 #define IXJCTL_VMWI _IOR ('q', 0xD8, int) 457 #define IXJCTL_CIDCW _IOW ('q', 0xD9, PHONE_CID *) 458 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 459 #define IXJCTL_WINK_DURATION PHONE_WINK_DURATION 460 #define IXJCTL_POTS_PSTN _IOW ('q', 0xD5, int) 461 #define IXJCTL_HZ _IOW ('q', 0xE0, int) 462 #define IXJCTL_RATE _IOW ('q', 0xE1, int) 463 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 464 #define IXJCTL_FRAMES_READ _IOR ('q', 0xE2, unsigned long) 465 #define IXJCTL_FRAMES_WRITTEN _IOR ('q', 0xE3, unsigned long) 466 #define IXJCTL_READ_WAIT _IOR ('q', 0xE4, unsigned long) 467 #define IXJCTL_WRITE_WAIT _IOR ('q', 0xE5, unsigned long) 468 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 469 #define IXJCTL_DRYBUFFER_READ _IOR ('q', 0xE6, unsigned long) 470 #define IXJCTL_DRYBUFFER_CLEAR _IO ('q', 0xE7) 471 #define IXJCTL_DTMF_PRESCALE _IOW ('q', 0xE8, int) 472 typedef enum { 473 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 474 SIG_DTMF_READY, 475 SIG_HOOKSTATE, 476 SIG_FLASH, 477 SIG_PSTN_RING, 478 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 479 SIG_CALLER_ID, 480 SIG_PSTN_WINK, 481 SIG_F0, SIG_F1, SIG_F2, SIG_F3, 482 SIG_FC0, SIG_FC1, SIG_FC2, SIG_FC3, 483 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 484 SIG_READ_READY = 33, 485 SIG_WRITE_READY = 34 486 } IXJ_SIGEVENT; 487 typedef struct { 488 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 489 unsigned int event; 490 int signal; 491 } IXJ_SIGDEF; 492 #define IXJCTL_SIGCTL _IOW ('q', 0xE9, IXJ_SIGDEF *) 493 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 494 #define IXJCTL_SC_RXG _IOW ('q', 0xEA, int) 495 #define IXJCTL_SC_TXG _IOW ('q', 0xEB, int) 496 #define IXJCTL_INTERCOM_START _IOW ('q', 0xFD, int) 497 #define IXJCTL_INTERCOM_STOP _IOW ('q', 0xFE, int) 498 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 499 typedef struct { 500 unsigned int filter; 501 char enable; 502 unsigned int coeff[19]; 503 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 504 } IXJ_FILTER_RAW; 505 #endif 506