Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
ixj.h File Reference
#include <linux/types.h>
#include <linux/ixjuser.h>
#include <linux/phonedev.h>

Go to the source code of this file.

Data Structures

struct  BYTES
 
union  IXJ_WORD
 
struct  IXJ_CBITS
 
union  IXJ_CBYTE
 
struct  HCRBIT
 
union  HCR
 
struct  HSRBIT
 
union  HSR
 
struct  GPIOBIT
 
union  GPIO
 
struct  LMON
 
union  DTMF
 
struct  CP
 
union  CPTF
 
struct  PSCRWI
 
struct  PSCRWP
 
union  PLD_SCRW
 
struct  PSCRRI
 
struct  PSCRRP
 
union  PLD_SCRR
 
struct  PSLICWRITE
 
struct  PSLICREAD
 
struct  PSLICPCI
 
union  PLD_SLICW
 
union  PLD_SLICR
 
struct  PCLOCK
 
union  PLD_CLOCK
 
struct  MIX
 
struct  COMMAND_REG1
 
union  PCMCIA_CR1
 
struct  COMMAND_REG2
 
union  PCMCIA_CR2
 
struct  CONTROL_REG
 
union  PCMCIA_SCCR
 
struct  PCMCIA_SLIC_REG
 
union  PCMCIA_SLIC
 
struct  Si3CONTROL1
 
union  Si3C1
 
struct  Si3CONTROL2
 
union  Si3C2
 
struct  Si3RXGAIN
 
union  Si3RXG
 
struct  Si3ADCVOLUME
 
union  Si3ADC
 
struct  Si3DACVOLUME
 
union  Si3DAC
 
struct  Si3STATUSREPORT
 
union  Si3STAT
 
struct  Si3ANALOGATTN
 
union  Si3AATT
 
struct  _DAA_REGS
 
union  _DAA_REGS::_SOP_REGS
 
struct  _DAA_REGS::_SOP_REGS::_SOP
 
union  _DAA_REGS::_XOP_REGS
 
struct  _DAA_REGS::_XOP_REGS::_XOP
 
union  _DAA_REGS::_XOP_REGS::_XOP::XOPXR0
 
struct  _DAA_REGS::_XOP_REGS::_XOP::XOPXR0::_XR0_BITREGS
 
union  _DAA_REGS::_COP_REGS
 
struct  _DAA_REGS::_COP_REGS::_COP
 
union  _DAA_REGS::_CAO_REGS
 
struct  _DAA_REGS::_CAO_REGS::_CAO
 
struct  Proc_Info_Tag
 
struct  IXJ_CADENCE_F
 
struct  IXJ_FLAGS
 
struct  ixj_cadence
 
struct  IXJ
 

Macros

#define IXJ_VERSION   3031
 
#define IXJMAX   16
 
#define ALISDAA_ID_BYTE   0x81
 
#define ALISDAA_CALLERID_SIZE   512
 
#define SOP_PU_SLEEP   0
 
#define SOP_PU_RINGING   1
 
#define SOP_PU_CONVERSATION   2
 
#define SOP_PU_PULSEDIALING   3
 
#define SOP_PU_RESET   4
 
#define ALISDAA_CALLERID_SIZE   512
 
#define PLAYBACK_MODE_COMPRESSED   0 /* Selects: Compressed modes, TrueSpeech 8.5-4.1, G.723.1, G.722, G.728, G.729 */
 
#define PLAYBACK_MODE_TRUESPEECH_V40   0 /* Selects: TrueSpeech 8.5, 6.3, 5.3, 4.8 or 4.1 Kbps */
 
#define PLAYBACK_MODE_TRUESPEECH   8 /* Selects: TrueSpeech 8.5, 6.3, 5.3, 4.8 or 4.1 Kbps Version 5.1 */
 
#define PLAYBACK_MODE_ULAW   2 /* Selects: 64 Kbit/sec MuA-law PCM */
 
#define PLAYBACK_MODE_ALAW   10 /* Selects: 64 Kbit/sec A-law PCM */
 
#define PLAYBACK_MODE_16LINEAR   6 /* Selects: 128 Kbit/sec 16-bit linear */
 
#define PLAYBACK_MODE_8LINEAR   4 /* Selects: 64 Kbit/sec 8-bit signed linear */
 
#define PLAYBACK_MODE_8LINEAR_WSS   5 /* Selects: 64 Kbit/sec WSS 8-bit unsigned linear */
 
#define RECORD_MODE_COMPRESSED   0 /* Selects: Compressed modes, TrueSpeech 8.5-4.1, G.723.1, G.722, G.728, G.729 */
 
#define RECORD_MODE_TRUESPEECH   0 /* Selects: TrueSpeech 8.5, 6.3, 5.3, 4.8 or 4.1 Kbps */
 
#define RECORD_MODE_ULAW   4 /* Selects: 64 Kbit/sec Mu-law PCM */
 
#define RECORD_MODE_ALAW   12 /* Selects: 64 Kbit/sec A-law PCM */
 
#define RECORD_MODE_16LINEAR   5 /* Selects: 128 Kbit/sec 16-bit linear */
 
#define RECORD_MODE_8LINEAR   6 /* Selects: 64 Kbit/sec 8-bit signed linear */
 
#define RECORD_MODE_8LINEAR_WSS   7 /* Selects: 64 Kbit/sec WSS 8-bit unsigned linear */
 

Typedefs

typedef __u16 WORD
 
typedef __u32 DWORD
 
typedef __u8 BYTE
 
typedef struct _DAA_REGS DAA_REGS
 
typedef struct Proc_Info_Tag Proc_Info_Type
 
typedef int(* IXJ_REGFUNC )(IXJ *j, unsigned long arg)
 

Enumerations

enum  SLIC_STATES {
  PLD_SLIC_STATE_OC = 0, PLD_SLIC_STATE_RINGING, PLD_SLIC_STATE_ACTIVE, PLD_SLIC_STATE_OHT,
  PLD_SLIC_STATE_TIPOPEN, PLD_SLIC_STATE_STANDBY, PLD_SLIC_STATE_APR, PLD_SLIC_STATE_OHTPR
}
 
enum  SCI_CONTROL { SCI_End = 0, SCI_Enable_DAA, SCI_Enable_Mixer, SCI_Enable_EEPROM }
 
enum  Mode { T63, T53, T48, T40 }
 
enum  Dir { V3_TO_V4, V4_TO_V3, V4_TO_V5, V5_TO_V4 }
 
enum  PREVAL { NORMAL = 0, NOPOST, POSTONLY, PREERROR }
 
enum  IXJ_EXTENSIONS {
  G729LOADER = 0, TS85LOADER, PRE_READ, POST_READ,
  PRE_WRITE, POST_WRITE, PRE_IOCTL, POST_IOCTL
}
 

Functions

IXJixj_pcmcia_probe (unsigned long, unsigned long)
 

Macro Definition Documentation

#define ALISDAA_CALLERID_SIZE   512

Definition at line 1004 of file ixj.h.

#define ALISDAA_CALLERID_SIZE   512

Definition at line 1004 of file ixj.h.

#define ALISDAA_ID_BYTE   0x81

Definition at line 989 of file ixj.h.

#define IXJ_VERSION   3031

Definition at line 41 of file ixj.h.

#define IXJMAX   16

Definition at line 53 of file ixj.h.

#define PLAYBACK_MODE_16LINEAR   6 /* Selects: 128 Kbit/sec 16-bit linear */

Definition at line 1011 of file ixj.h.

#define PLAYBACK_MODE_8LINEAR   4 /* Selects: 64 Kbit/sec 8-bit signed linear */

Definition at line 1012 of file ixj.h.

#define PLAYBACK_MODE_8LINEAR_WSS   5 /* Selects: 64 Kbit/sec WSS 8-bit unsigned linear */

Definition at line 1013 of file ixj.h.

#define PLAYBACK_MODE_ALAW   10 /* Selects: 64 Kbit/sec A-law PCM */

Definition at line 1010 of file ixj.h.

#define PLAYBACK_MODE_COMPRESSED   0 /* Selects: Compressed modes, TrueSpeech 8.5-4.1, G.723.1, G.722, G.728, G.729 */

Definition at line 1006 of file ixj.h.

#define PLAYBACK_MODE_TRUESPEECH   8 /* Selects: TrueSpeech 8.5, 6.3, 5.3, 4.8 or 4.1 Kbps Version 5.1 */

Definition at line 1008 of file ixj.h.

#define PLAYBACK_MODE_TRUESPEECH_V40   0 /* Selects: TrueSpeech 8.5, 6.3, 5.3, 4.8 or 4.1 Kbps */

Definition at line 1007 of file ixj.h.

#define PLAYBACK_MODE_ULAW   2 /* Selects: 64 Kbit/sec MuA-law PCM */

Definition at line 1009 of file ixj.h.

#define RECORD_MODE_16LINEAR   5 /* Selects: 128 Kbit/sec 16-bit linear */

Definition at line 1019 of file ixj.h.

#define RECORD_MODE_8LINEAR   6 /* Selects: 64 Kbit/sec 8-bit signed linear */

Definition at line 1020 of file ixj.h.

#define RECORD_MODE_8LINEAR_WSS   7 /* Selects: 64 Kbit/sec WSS 8-bit unsigned linear */

Definition at line 1021 of file ixj.h.

#define RECORD_MODE_ALAW   12 /* Selects: 64 Kbit/sec A-law PCM */

Definition at line 1018 of file ixj.h.

#define RECORD_MODE_COMPRESSED   0 /* Selects: Compressed modes, TrueSpeech 8.5-4.1, G.723.1, G.722, G.728, G.729 */

Definition at line 1015 of file ixj.h.

#define RECORD_MODE_TRUESPEECH   0 /* Selects: TrueSpeech 8.5, 6.3, 5.3, 4.8 or 4.1 Kbps */

Definition at line 1016 of file ixj.h.

#define RECORD_MODE_ULAW   4 /* Selects: 64 Kbit/sec Mu-law PCM */

Definition at line 1017 of file ixj.h.

#define SOP_PU_CONVERSATION   2

Definition at line 1000 of file ixj.h.

#define SOP_PU_PULSEDIALING   3

Definition at line 1001 of file ixj.h.

#define SOP_PU_RESET   4

Definition at line 1002 of file ixj.h.

#define SOP_PU_RINGING   1

Definition at line 999 of file ixj.h.

#define SOP_PU_SLEEP   0

Definition at line 998 of file ixj.h.

Typedef Documentation

typedef __u8 BYTE

Definition at line 50 of file ixj.h.

typedef __u32 DWORD

Definition at line 49 of file ixj.h.

typedef int(* IXJ_REGFUNC)(IXJ *j, unsigned long arg)

Definition at line 1319 of file ixj.h.

typedef __u16 WORD

Definition at line 48 of file ixj.h.

Enumeration Type Documentation

enum Dir
Enumerator:
V3_TO_V4 
V4_TO_V3 
V4_TO_V5 
V5_TO_V4 

Definition at line 1044 of file ixj.h.

Enumerator:
G729LOADER 
TS85LOADER 
PRE_READ 
POST_READ 
PRE_WRITE 
POST_WRITE 
PRE_IOCTL 
POST_IOCTL 

Definition at line 1062 of file ixj.h.

enum __le32 Mode
Enumerator:
T63 
T53 
T48 
T40 

Definition at line 1041 of file ixj.h.

enum PREVAL
Enumerator:
NORMAL 
NOPOST 
POSTONLY 
PREERROR 

Definition at line 1055 of file ixj.h.

Enumerator:
SCI_End 
SCI_Enable_DAA 
SCI_Enable_Mixer 
SCI_Enable_EEPROM 

Definition at line 1034 of file ixj.h.

Enumerator:
PLD_SLIC_STATE_OC 
PLD_SLIC_STATE_RINGING 
PLD_SLIC_STATE_ACTIVE 
PLD_SLIC_STATE_OHT 
PLD_SLIC_STATE_TIPOPEN 
PLD_SLIC_STATE_STANDBY 
PLD_SLIC_STATE_APR 
PLD_SLIC_STATE_OHTPR 

Definition at line 1023 of file ixj.h.

Function Documentation

IXJ* ixj_pcmcia_probe ( unsigned  long,
unsigned  long 
)

Definition at line 7122 of file ixj.c.