diff options
Diffstat (limited to 'libc/kernel/uapi/linux/ixjuser.h')
-rw-r--r-- | libc/kernel/uapi/linux/ixjuser.h | 590 |
1 files changed, 344 insertions, 246 deletions
diff --git a/libc/kernel/uapi/linux/ixjuser.h b/libc/kernel/uapi/linux/ixjuser.h index ca5dd38..cb2ea45 100644 --- a/libc/kernel/uapi/linux/ixjuser.h +++ b/libc/kernel/uapi/linux/ixjuser.h @@ -19,7 +19,7 @@ #ifndef __LINUX_IXJUSER_H #define __LINUX_IXJUSER_H #include <linux/telephony.h> -#define IXJCTL_DSP_RESET _IO ('q', 0xC0) +#define IXJCTL_DSP_RESET _IO('q', 0xC0) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IXJCTL_RING PHONE_RING #define IXJCTL_HOOKSTATE PHONE_HOOKSTATE @@ -28,15 +28,15 @@ /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IXJCTL_RING_START PHONE_RING_START #define IXJCTL_RING_STOP PHONE_RING_STOP -#define IXJCTL_CARDTYPE _IOR ('q', 0xC1, int) -#define IXJCTL_SERIAL _IOR ('q', 0xC2, int) +#define IXJCTL_CARDTYPE _IOR('q', 0xC1, int) +#define IXJCTL_SERIAL _IOR('q', 0xC2, int) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IXJCTL_DSP_TYPE _IOR ('q', 0xC3, int) -#define IXJCTL_DSP_VERSION _IOR ('q', 0xC4, int) -#define IXJCTL_VERSION _IOR ('q', 0xDA, char *) -#define IXJCTL_DSP_IDLE _IO ('q', 0xC5) +#define IXJCTL_DSP_TYPE _IOR('q', 0xC3, int) +#define IXJCTL_DSP_VERSION _IOR('q', 0xC4, int) +#define IXJCTL_VERSION _IOR('q', 0xDA, char *) +#define IXJCTL_DSP_IDLE _IO('q', 0xC5) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IXJCTL_TESTRAM _IO ('q', 0xC6) +#define IXJCTL_TESTRAM _IO('q', 0xC6) #define IXJCTL_REC_CODEC PHONE_REC_CODEC #define IXJCTL_REC_START PHONE_REC_START #define IXJCTL_REC_STOP PHONE_REC_STOP @@ -47,231 +47,321 @@ #define IXJCTL_REC_LEVEL PHONE_REC_LEVEL /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ typedef enum { - f300_640 = 4, f300_500, f1100, f350, f400, f480, f440, f620, f20_50, - f133_200, f300, f300_420, f330, f300_425, f330_440, f340, f350_400, - f350_440, f350_450, f360, f380_420, f392, f400_425, f400_440, f400_450, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - f420, f425, f425_450, f425_475, f435, f440_450, f440_480, f445, f450, - f452, f475, f480_620, f494, f500, f520, f523, f525, f540_660, f587, - f590, f600, f660, f700, f740, f750, f750_1450, f770, f800, f816, f850, - f857_1645, f900, f900_1300, f935_1215, f941_1477, f942, f950, f950_1400, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - f975, f1000, f1020, f1050, f1100_1750, f1140, f1200, f1209, f1330, f1336, - lf1366, f1380, f1400, f1477, f1600, f1633_1638, f1800, f1860 + f300_640 = 4, + f300_500, + f1100, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f350, + f400, + f480, + f440, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f620, + f20_50, + f133_200, + f300, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f300_420, + f330, + f300_425, + f330_440, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f340, + f350_400, + f350_440, + f350_450, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f360, + f380_420, + f392, + f400_425, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f400_440, + f400_450, + f420, + f425, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f425_450, + f425_475, + f435, + f440_450, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f440_480, + f445, + f450, + f452, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f475, + f480_620, + f494, + f500, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f520, + f523, + f525, + f540_660, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f587, + f590, + f600, + f660, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f700, + f740, + f750, + f750_1450, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f770, + f800, + f816, + f850, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f857_1645, + f900, + f900_1300, + f935_1215, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f941_1477, + f942, + f950, + f950_1400, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f975, + f1000, + f1020, + f1050, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f1100_1750, + f1140, + f1200, + f1209, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f1330, + f1336, + lf1366, + f1380, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f1400, + f1477, + f1600, + f1633_1638, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + f1800, + f1860 } IXJ_FILTER_FREQ; typedef struct { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int filter; - IXJ_FILTER_FREQ freq; - char enable; + unsigned int filter; + IXJ_FILTER_FREQ freq; + char enable; } IXJ_FILTER; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ typedef struct { - char enable; - char en_filter; - unsigned int filter; + char enable; + char en_filter; + unsigned int filter; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int on1; - unsigned int off1; - unsigned int on2; - unsigned int off2; + unsigned int on1; + unsigned int off1; + unsigned int on2; + unsigned int off2; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int on3; - unsigned int off3; + unsigned int on3; + unsigned int off3; } IXJ_FILTER_CADENCE; -#define IXJCTL_SET_FILTER _IOW ('q', 0xC7, IXJ_FILTER *) +#define IXJCTL_SET_FILTER _IOW('q', 0xC7, IXJ_FILTER *) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IXJCTL_SET_FILTER_RAW _IOW ('q', 0xDD, IXJ_FILTER_RAW *) -#define IXJCTL_GET_FILTER_HIST _IOW ('q', 0xC8, int) -#define IXJCTL_FILTER_CADENCE _IOW ('q', 0xD6, IXJ_FILTER_CADENCE *) -#define IXJCTL_PLAY_CID _IO ('q', 0xD7) +#define IXJCTL_SET_FILTER_RAW _IOW('q', 0xDD, IXJ_FILTER_RAW *) +#define IXJCTL_GET_FILTER_HIST _IOW('q', 0xC8, int) +#define IXJCTL_FILTER_CADENCE _IOW('q', 0xD6, IXJ_FILTER_CADENCE *) +#define IXJCTL_PLAY_CID _IO('q', 0xD7) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ typedef enum { - hz20 = 0x7ffa, - hz50 = 0x7fe5, - hz133 = 0x7f4c, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz200 = 0x7e6b, - hz261 = 0x7d50, - hz277 = 0x7cfa, - hz293 = 0x7c9f, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz300 = 0x7c75, - hz311 = 0x7c32, - hz329 = 0x7bbf, - hz330 = 0x7bb8, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz340 = 0x7b75, - hz349 = 0x7b37, - hz350 = 0x7b30, - hz360 = 0x7ae9, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz369 = 0x7aa8, - hz380 = 0x7a56, - hz392 = 0x79fa, - hz400 = 0x79bb, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz415 = 0x7941, - hz420 = 0x7918, - hz425 = 0x78ee, - hz435 = 0x7899, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz440 = 0x786d, - hz445 = 0x7842, - hz450 = 0x7815, - hz452 = 0x7803, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz466 = 0x7784, - hz475 = 0x7731, - hz480 = 0x7701, - hz493 = 0x7685, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz494 = 0x767b, - hz500 = 0x7640, - hz520 = 0x7578, - hz523 = 0x7559, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz525 = 0x7544, - hz540 = 0x74a7, - hz554 = 0x7411, - hz587 = 0x72a1, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz590 = 0x727f, - hz600 = 0x720b, - hz620 = 0x711e, - hz622 = 0x7106, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz659 = 0x6f3b, - hz660 = 0x6f2e, - hz698 = 0x6d3d, - hz700 = 0x6d22, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz739 = 0x6b09, - hz740 = 0x6afa, - hz750 = 0x6a6c, - hz770 = 0x694b, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz783 = 0x688b, - hz800 = 0x678d, - hz816 = 0x6698, - hz830 = 0x65bf, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz850 = 0x6484, - hz857 = 0x6414, - hz880 = 0x629f, - hz900 = 0x6154, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz932 = 0x5f35, - hz935 = 0x5f01, - hz941 = 0x5e9a, - hz942 = 0x5e88, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz950 = 0x5dfd, - hz975 = 0x5c44, - hz1000 = 0x5a81, - hz1020 = 0x5912, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz1050 = 0x56e2, - hz1100 = 0x5320, - hz1140 = 0x5007, - hz1200 = 0x4b3b, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz1209 = 0x4a80, - hz1215 = 0x4a02, - hz1250 = 0x471c, - hz1300 = 0x42e0, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz1330 = 0x4049, - hz1336 = 0x3fc4, - hz1366 = 0x3d22, - hz1380 = 0x3be4, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz1400 = 0x3a1b, - hz1450 = 0x3596, - hz1477 = 0x331c, - hz1500 = 0x30fb, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz1600 = 0x278d, - hz1633 = 0x2462, - hz1638 = 0x23e7, - hz1645 = 0x233a, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz1750 = 0x18f8, - hz1800 = 0x1405, - hz1860 = 0xe0b, - hz2100 = 0xf5f6, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - hz2130 = 0xf2f5, - hz2450 = 0xd3b3, - hz2750 = 0xb8e4 + hz20 = 0x7ffa, + hz50 = 0x7fe5, + hz133 = 0x7f4c, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz200 = 0x7e6b, + hz261 = 0x7d50, + hz277 = 0x7cfa, + hz293 = 0x7c9f, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz300 = 0x7c75, + hz311 = 0x7c32, + hz329 = 0x7bbf, + hz330 = 0x7bb8, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz340 = 0x7b75, + hz349 = 0x7b37, + hz350 = 0x7b30, + hz360 = 0x7ae9, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz369 = 0x7aa8, + hz380 = 0x7a56, + hz392 = 0x79fa, + hz400 = 0x79bb, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz415 = 0x7941, + hz420 = 0x7918, + hz425 = 0x78ee, + hz435 = 0x7899, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz440 = 0x786d, + hz445 = 0x7842, + hz450 = 0x7815, + hz452 = 0x7803, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz466 = 0x7784, + hz475 = 0x7731, + hz480 = 0x7701, + hz493 = 0x7685, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz494 = 0x767b, + hz500 = 0x7640, + hz520 = 0x7578, + hz523 = 0x7559, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz525 = 0x7544, + hz540 = 0x74a7, + hz554 = 0x7411, + hz587 = 0x72a1, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz590 = 0x727f, + hz600 = 0x720b, + hz620 = 0x711e, + hz622 = 0x7106, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz659 = 0x6f3b, + hz660 = 0x6f2e, + hz698 = 0x6d3d, + hz700 = 0x6d22, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz739 = 0x6b09, + hz740 = 0x6afa, + hz750 = 0x6a6c, + hz770 = 0x694b, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz783 = 0x688b, + hz800 = 0x678d, + hz816 = 0x6698, + hz830 = 0x65bf, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz850 = 0x6484, + hz857 = 0x6414, + hz880 = 0x629f, + hz900 = 0x6154, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz932 = 0x5f35, + hz935 = 0x5f01, + hz941 = 0x5e9a, + hz942 = 0x5e88, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz950 = 0x5dfd, + hz975 = 0x5c44, + hz1000 = 0x5a81, + hz1020 = 0x5912, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz1050 = 0x56e2, + hz1100 = 0x5320, + hz1140 = 0x5007, + hz1200 = 0x4b3b, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz1209 = 0x4a80, + hz1215 = 0x4a02, + hz1250 = 0x471c, + hz1300 = 0x42e0, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz1330 = 0x4049, + hz1336 = 0x3fc4, + hz1366 = 0x3d22, + hz1380 = 0x3be4, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz1400 = 0x3a1b, + hz1450 = 0x3596, + hz1477 = 0x331c, + hz1500 = 0x30fb, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz1600 = 0x278d, + hz1633 = 0x2462, + hz1638 = 0x23e7, + hz1645 = 0x233a, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz1750 = 0x18f8, + hz1800 = 0x1405, + hz1860 = 0xe0b, + hz2100 = 0xf5f6, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + hz2130 = 0xf2f5, + hz2450 = 0xd3b3, + hz2750 = 0xb8e4 } IXJ_FREQ; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ typedef enum { - C1 = hz261, - CS1 = hz277, - D1 = hz293, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - DS1 = hz311, - E1 = hz329, - F1 = hz349, - FS1 = hz369, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - G1 = hz392, - GS1 = hz415, - A1 = hz440, - AS1 = hz466, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - B1 = hz493, - C2 = hz523, - CS2 = hz554, - D2 = hz587, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - DS2 = hz622, - E2 = hz659, - F2 = hz698, - FS2 = hz739, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - G2 = hz783, - GS2 = hz830, - A2 = hz880, - AS2 = hz932, + C1 = hz261, + CS1 = hz277, + D1 = hz293, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + DS1 = hz311, + E1 = hz329, + F1 = hz349, + FS1 = hz369, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + G1 = hz392, + GS1 = hz415, + A1 = hz440, + AS1 = hz466, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + B1 = hz493, + C2 = hz523, + CS2 = hz554, + D2 = hz587, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + DS2 = hz622, + E2 = hz659, + F2 = hz698, + FS2 = hz739, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + G2 = hz783, + GS2 = hz830, + A2 = hz880, + AS2 = hz932, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } IXJ_NOTE; typedef struct { - int tone_index; - int freq0; + int tone_index; + int freq0; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int gain0; - int freq1; - int gain1; + int gain0; + int freq1; + int gain1; } IXJ_TONE; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IXJCTL_INIT_TONE _IOW ('q', 0xC9, IXJ_TONE *) +#define IXJCTL_INIT_TONE _IOW('q', 0xC9, IXJ_TONE *) typedef struct { - int index; - int tone_on_time; + int index; + int tone_on_time; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int tone_off_time; - int freq0; - int gain0; - int freq1; + int tone_off_time; + int freq0; + int gain0; + int freq1; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int gain1; + int gain1; } IXJ_CADENCE_ELEMENT; typedef enum { - PLAY_ONCE, + PLAY_ONCE, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - REPEAT_LAST_ELEMENT, - REPEAT_ALL + REPEAT_LAST_ELEMENT, + REPEAT_ALL } IXJ_CADENCE_TERM; typedef struct { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int elements_used; - IXJ_CADENCE_TERM termination; - IXJ_CADENCE_ELEMENT __user *ce; + int elements_used; + IXJ_CADENCE_TERM termination; + IXJ_CADENCE_ELEMENT __user * ce; } IXJ_CADENCE; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IXJCTL_TONE_CADENCE _IOW ('q', 0xCA, IXJ_CADENCE *) +#define IXJCTL_TONE_CADENCE _IOW('q', 0xCA, IXJ_CADENCE *) #define IXJCTL_PLAY_CODEC PHONE_PLAY_CODEC #define IXJCTL_PLAY_START PHONE_PLAY_START #define IXJCTL_PLAY_STOP PHONE_PLAY_STOP @@ -279,10 +369,10 @@ typedef struct { #define IXJCTL_PLAY_DEPTH PHONE_PLAY_DEPTH #define IXJCTL_PLAY_VOLUME PHONE_PLAY_VOLUME #define IXJCTL_PLAY_LEVEL PHONE_PLAY_LEVEL -#define IXJCTL_AEC_START _IOW ('q', 0xCB, int) +#define IXJCTL_AEC_START _IOW('q', 0xCB, int) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IXJCTL_AEC_STOP _IO ('q', 0xCC) -#define IXJCTL_AEC_GET_LEVEL _IO ('q', 0xCD) +#define IXJCTL_AEC_STOP _IO('q', 0xCC) +#define IXJCTL_AEC_GET_LEVEL _IO('q', 0xCD) #define AEC_OFF 0 #define AEC_LOW 1 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ @@ -309,9 +399,9 @@ typedef struct { #define IXJCTL_RINGBACK PHONE_RINGBACK #define IXJCTL_DIALTONE PHONE_DIALTONE #define IXJCTL_CPT_STOP PHONE_CPT_STOP -#define IXJCTL_SET_LED _IOW ('q', 0xCE, int) +#define IXJCTL_SET_LED _IOW('q', 0xCE, int) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IXJCTL_MIXER _IOW ('q', 0xCF, int) +#define IXJCTL_MIXER _IOW('q', 0xCF, int) #define MIXER_MASTER_L 0x0000 #define MIXER_MASTER_R 0x0100 #define ATT00DB 0x00 @@ -417,7 +507,7 @@ typedef struct { #define POTS_ATT_28DB 0x07 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define POTS_MUTE 0x80 -#define IXJCTL_DAA_COEFF_SET _IOW ('q', 0xD0, int) +#define IXJCTL_DAA_COEFF_SET _IOW('q', 0xD0, int) #define DAA_US 1 #define DAA_UK 2 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ @@ -426,7 +516,7 @@ typedef struct { #define DAA_AUSTRALIA 5 #define DAA_JAPAN 6 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IXJCTL_PORT _IOW ('q', 0xD1, int) +#define IXJCTL_PORT _IOW('q', 0xD1, int) #define PORT_QUERY 0 #define PORT_POTS 1 #define PORT_PSTN 2 @@ -441,7 +531,7 @@ typedef struct { #define PSTN_OFF_HOOK 2 #define PSTN_PULSE_DIAL 3 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IXJCTL_DAA_AGAIN _IOW ('q', 0xD2, int) +#define IXJCTL_DAA_AGAIN _IOW('q', 0xD2, int) #define AGRR00DB 0x00 #define AGRR3_5DB 0x10 #define AGRR06DB 0x30 @@ -451,55 +541,63 @@ typedef struct { #define AGX3_5DB 0x08 #define AGX_2_5B 0x0C /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IXJCTL_PSTN_LINETEST _IO ('q', 0xD3) -#define IXJCTL_CID _IOR ('q', 0xD4, PHONE_CID *) -#define IXJCTL_VMWI _IOR ('q', 0xD8, int) -#define IXJCTL_CIDCW _IOW ('q', 0xD9, PHONE_CID *) +#define IXJCTL_PSTN_LINETEST _IO('q', 0xD3) +#define IXJCTL_CID _IOR('q', 0xD4, PHONE_CID *) +#define IXJCTL_VMWI _IOR('q', 0xD8, int) +#define IXJCTL_CIDCW _IOW('q', 0xD9, PHONE_CID *) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IXJCTL_WINK_DURATION PHONE_WINK_DURATION -#define IXJCTL_POTS_PSTN _IOW ('q', 0xD5, int) -#define IXJCTL_HZ _IOW ('q', 0xE0, int) -#define IXJCTL_RATE _IOW ('q', 0xE1, int) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IXJCTL_FRAMES_READ _IOR ('q', 0xE2, unsigned long) -#define IXJCTL_FRAMES_WRITTEN _IOR ('q', 0xE3, unsigned long) -#define IXJCTL_READ_WAIT _IOR ('q', 0xE4, unsigned long) -#define IXJCTL_WRITE_WAIT _IOR ('q', 0xE5, unsigned long) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IXJCTL_DRYBUFFER_READ _IOR ('q', 0xE6, unsigned long) -#define IXJCTL_DRYBUFFER_CLEAR _IO ('q', 0xE7) -#define IXJCTL_DTMF_PRESCALE _IOW ('q', 0xE8, int) +#define IXJCTL_POTS_PSTN _IOW('q', 0xD5, int) +#define IXJCTL_HZ _IOW('q', 0xE0, int) +#define IXJCTL_RATE _IOW('q', 0xE1, int) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define IXJCTL_FRAMES_READ _IOR('q', 0xE2, unsigned long) +#define IXJCTL_FRAMES_WRITTEN _IOR('q', 0xE3, unsigned long) +#define IXJCTL_READ_WAIT _IOR('q', 0xE4, unsigned long) +#define IXJCTL_WRITE_WAIT _IOR('q', 0xE5, unsigned long) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define IXJCTL_DRYBUFFER_READ _IOR('q', 0xE6, unsigned long) +#define IXJCTL_DRYBUFFER_CLEAR _IO('q', 0xE7) +#define IXJCTL_DTMF_PRESCALE _IOW('q', 0xE8, int) typedef enum { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SIG_DTMF_READY, - SIG_HOOKSTATE, - SIG_FLASH, - SIG_PSTN_RING, + SIG_DTMF_READY, + SIG_HOOKSTATE, + SIG_FLASH, + SIG_PSTN_RING, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + SIG_CALLER_ID, + SIG_PSTN_WINK, + SIG_F0, + SIG_F1, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SIG_CALLER_ID, - SIG_PSTN_WINK, - SIG_F0, SIG_F1, SIG_F2, SIG_F3, - SIG_FC0, SIG_FC1, SIG_FC2, SIG_FC3, + SIG_F2, + SIG_F3, + SIG_FC0, + SIG_FC1, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + SIG_FC2, + SIG_FC3, + SIG_READ_READY = 33, + SIG_WRITE_READY = 34 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - SIG_READ_READY = 33, - SIG_WRITE_READY = 34 } IXJ_SIGEVENT; typedef struct { + unsigned int event; + int signal; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int event; - int signal; } IXJ_SIGDEF; -#define IXJCTL_SIGCTL _IOW ('q', 0xE9, IXJ_SIGDEF *) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define IXJCTL_SC_RXG _IOW ('q', 0xEA, int) -#define IXJCTL_SC_TXG _IOW ('q', 0xEB, int) -#define IXJCTL_INTERCOM_START _IOW ('q', 0xFD, int) -#define IXJCTL_INTERCOM_STOP _IOW ('q', 0xFE, int) +#define IXJCTL_SIGCTL _IOW('q', 0xE9, IXJ_SIGDEF *) +#define IXJCTL_SC_RXG _IOW('q', 0xEA, int) +#define IXJCTL_SC_TXG _IOW('q', 0xEB, int) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define IXJCTL_INTERCOM_START _IOW('q', 0xFD, int) +#define IXJCTL_INTERCOM_STOP _IOW('q', 0xFE, int) typedef struct { - unsigned int filter; - char enable; - unsigned int coeff[19]; + unsigned int filter; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + char enable; + unsigned int coeff[19]; } IXJ_FILTER_RAW; #endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |