Go to the documentation of this file. 1 #ifndef __LINUX_IXJUSER_H
2 #define __LINUX_IXJUSER_H
57 #define IXJCTL_DSP_RESET _IO ('q', 0xC0)
59 #define IXJCTL_RING PHONE_RING
60 #define IXJCTL_HOOKSTATE PHONE_HOOKSTATE
61 #define IXJCTL_MAXRINGS PHONE_MAXRINGS
62 #define IXJCTL_RING_CADENCE PHONE_RING_CADENCE
63 #define IXJCTL_RING_START PHONE_RING_START
64 #define IXJCTL_RING_STOP PHONE_RING_STOP
66 #define IXJCTL_CARDTYPE _IOR ('q', 0xC1, int)
67 #define IXJCTL_SERIAL _IOR ('q', 0xC2, int)
68 #define IXJCTL_DSP_TYPE _IOR ('q', 0xC3, int)
69 #define IXJCTL_DSP_VERSION _IOR ('q', 0xC4, int)
70 #define IXJCTL_VERSION _IOR ('q', 0xDA, char *)
71 #define IXJCTL_DSP_IDLE _IO ('q', 0xC5)
72 #define IXJCTL_TESTRAM _IO ('q', 0xC6)
102 #define IXJCTL_REC_CODEC PHONE_REC_CODEC
103 #define IXJCTL_REC_START PHONE_REC_START
104 #define IXJCTL_REC_STOP PHONE_REC_STOP
105 #define IXJCTL_REC_DEPTH PHONE_REC_DEPTH
106 #define IXJCTL_FRAME PHONE_FRAME
107 #define IXJCTL_REC_VOLUME PHONE_REC_VOLUME
108 #define IXJCTL_REC_LEVEL PHONE_REC_LEVEL
115 f452,
f475,
f480_620,
f494,
f500,
f520,
f523,
f525,
f540_660,
f587,
116 f590,
f600,
f660,
f700,
f740,
f750,
f750_1450,
f770,
f800,
f816,
f850,
118 f975,
f1000,
f1020,
f1050,
f1100_1750,
f1140,
f1200,
f1209,
f1330,
f1336,
140 #define IXJCTL_SET_FILTER _IOW ('q', 0xC7, IXJ_FILTER *)
141 #define IXJCTL_SET_FILTER_RAW _IOW ('q', 0xDD, IXJ_FILTER_RAW *)
142 #define IXJCTL_GET_FILTER_HIST _IOW ('q', 0xC8, int)
143 #define IXJCTL_FILTER_CADENCE _IOW ('q', 0xD6, IXJ_FILTER_CADENCE *)
144 #define IXJCTL_PLAY_CID _IO ('q', 0xD7)
300 #define IXJCTL_INIT_TONE _IOW ('q', 0xC9, IXJ_TONE *)
354 #define IXJCTL_TONE_CADENCE _IOW ('q', 0xCA, IXJ_CADENCE *)
361 #define IXJCTL_PLAY_CODEC PHONE_PLAY_CODEC
362 #define IXJCTL_PLAY_START PHONE_PLAY_START
363 #define IXJCTL_PLAY_STOP PHONE_PLAY_STOP
364 #define IXJCTL_PLAY_DEPTH PHONE_PLAY_DEPTH
365 #define IXJCTL_PLAY_VOLUME PHONE_PLAY_VOLUME
366 #define IXJCTL_PLAY_LEVEL PHONE_PLAY_LEVEL
377 #define IXJCTL_AEC_START _IOW ('q', 0xCB, int)
378 #define IXJCTL_AEC_STOP _IO ('q', 0xCC)
379 #define IXJCTL_AEC_GET_LEVEL _IO ('q', 0xCD)
398 #define IXJCTL_DTMF_READY PHONE_DTMF_READY
399 #define IXJCTL_GET_DTMF PHONE_GET_DTMF
400 #define IXJCTL_GET_DTMF_ASCII PHONE_GET_DTMF_ASCII
401 #define IXJCTL_DTMF_OOB PHONE_DTMF_OOB
402 #define IXJCTL_EXCEPTION PHONE_EXCEPTION
403 #define IXJCTL_PLAY_TONE PHONE_PLAY_TONE
404 #define IXJCTL_SET_TONE_ON_TIME PHONE_SET_TONE_ON_TIME
405 #define IXJCTL_SET_TONE_OFF_TIME PHONE_SET_TONE_OFF_TIME
406 #define IXJCTL_GET_TONE_ON_TIME PHONE_GET_TONE_ON_TIME
407 #define IXJCTL_GET_TONE_OFF_TIME PHONE_GET_TONE_OFF_TIME
408 #define IXJCTL_GET_TONE_STATE PHONE_GET_TONE_STATE
409 #define IXJCTL_BUSY PHONE_BUSY
410 #define IXJCTL_RINGBACK PHONE_RINGBACK
411 #define IXJCTL_DIALTONE PHONE_DIALTONE
412 #define IXJCTL_CPT_STOP PHONE_CPT_STOP
421 #define IXJCTL_SET_LED _IOW ('q', 0xCE, int)
422 #define IXJCTL_MIXER _IOW ('q', 0xCF, int)
431 #define MIXER_MASTER_L 0x0000
432 #define MIXER_MASTER_R 0x0100
465 #define MASTER_MUTE 0x80
474 #define MIXER_PORT_CD_L 0x0600
475 #define MIXER_PORT_CD_R 0x0700
476 #define MIXER_PORT_LINE_IN_L 0x0800
477 #define MIXER_PORT_LINE_IN_R 0x0900
478 #define MIXER_PORT_POTS_REC 0x0C00
479 #define MIXER_PORT_MIC 0x0E00
481 #define GAIN12DB 0x00
482 #define GAIN10DB 0x01
483 #define GAIN08DB 0x02
484 #define GAIN06DB 0x03
485 #define GAIN04DB 0x04
486 #define GAIN02DB 0x05
487 #define GAIN00DB 0x06
488 #define GAIN_02DB 0x07
489 #define GAIN_04DB 0x08
490 #define GAIN_06DB 0x09
491 #define GAIN_08DB 0x0A
492 #define GAIN_10DB 0x0B
493 #define GAIN_12DB 0x0C
494 #define GAIN_14DB 0x0D
495 #define GAIN_16DB 0x0E
496 #define GAIN_18DB 0x0F
497 #define GAIN_20DB 0x10
498 #define GAIN_22DB 0x11
499 #define GAIN_24DB 0x12
500 #define GAIN_26DB 0x13
501 #define GAIN_28DB 0x14
502 #define GAIN_30DB 0x15
503 #define GAIN_32DB 0x16
504 #define GAIN_34DB 0x17
505 #define GAIN_36DB 0x18
506 #define GAIN_38DB 0x19
507 #define GAIN_40DB 0x1A
508 #define GAIN_42DB 0x1B
509 #define GAIN_44DB 0x1C
510 #define GAIN_46DB 0x1D
511 #define GAIN_48DB 0x1E
512 #define GAIN_50DB 0x1F
513 #define INPUT_MUTE 0x80
522 #define MIXER_PORT_POTS_PLAY 0x0F00
524 #define POTS_ATT_00DB 0x00
525 #define POTS_ATT_04DB 0x01
526 #define POTS_ATT_08DB 0x02
527 #define POTS_ATT_12DB 0x03
528 #define POTS_ATT_16DB 0x04
529 #define POTS_ATT_20DB 0x05
530 #define POTS_ATT_24DB 0x06
531 #define POTS_ATT_28DB 0x07
532 #define POTS_MUTE 0x80
541 #define IXJCTL_DAA_COEFF_SET _IOW ('q', 0xD0, int)
546 #define DAA_GERMANY 4
547 #define DAA_AUSTRALIA 5
558 #define IXJCTL_PORT _IOW ('q', 0xD1, int)
563 #define PORT_SPEAKER 3
564 #define PORT_HANDSET 4
566 #define IXJCTL_PSTN_SET_STATE PHONE_PSTN_SET_STATE
567 #define IXJCTL_PSTN_GET_STATE PHONE_PSTN_GET_STATE
569 #define PSTN_ON_HOOK 0
570 #define PSTN_RINGING 1
571 #define PSTN_OFF_HOOK 2
572 #define PSTN_PULSE_DIAL 3
581 #define IXJCTL_DAA_AGAIN _IOW ('q', 0xD2, int)
583 #define AGRR00DB 0x00
584 #define AGRR3_5DB 0x10
585 #define AGRR06DB 0x30
589 #define AGX3_5DB 0x08
590 #define AGX_2_5B 0x0C
592 #define IXJCTL_PSTN_LINETEST _IO ('q', 0xD3)
594 #define IXJCTL_CID _IOR ('q', 0xD4, PHONE_CID *)
595 #define IXJCTL_VMWI _IOR ('q', 0xD8, int)
596 #define IXJCTL_CIDCW _IOW ('q', 0xD9, PHONE_CID *)
604 #define IXJCTL_WINK_DURATION PHONE_WINK_DURATION
616 #define IXJCTL_POTS_PSTN _IOW ('q', 0xD5, int)
639 #define IXJCTL_HZ _IOW ('q', 0xE0, int)
640 #define IXJCTL_RATE _IOW ('q', 0xE1, int)
641 #define IXJCTL_FRAMES_READ _IOR ('q', 0xE2, unsigned long)
642 #define IXJCTL_FRAMES_WRITTEN _IOR ('q', 0xE3, unsigned long)
643 #define IXJCTL_READ_WAIT _IOR ('q', 0xE4, unsigned long)
644 #define IXJCTL_WRITE_WAIT _IOR ('q', 0xE5, unsigned long)
645 #define IXJCTL_DRYBUFFER_READ _IOR ('q', 0xE6, unsigned long)
646 #define IXJCTL_DRYBUFFER_CLEAR _IO ('q', 0xE7)
647 #define IXJCTL_DTMF_PRESCALE _IOW ('q', 0xE8, int)
675 #define IXJCTL_SIGCTL _IOW ('q', 0xE9, IXJ_SIGDEF *)
691 #define IXJCTL_SC_RXG _IOW ('q', 0xEA, int)
692 #define IXJCTL_SC_TXG _IOW ('q', 0xEB, int)
705 #define IXJCTL_INTERCOM_START _IOW ('q', 0xFD, int)
706 #define IXJCTL_INTERCOM_STOP _IOW ('q', 0xFE, int)