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