Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
icc.h File Reference

Go to the source code of this file.

Macros

#define ICC_MASK   0x20
 
#define ICC_ISTA   0x20
 
#define ICC_STAR   0x21
 
#define ICC_CMDR   0x21
 
#define ICC_EXIR   0x24
 
#define ICC_ADF2   0x39
 
#define ICC_SPCR   0x30
 
#define ICC_ADF1   0x38
 
#define ICC_CIR0   0x31
 
#define ICC_CIX0   0x31
 
#define ICC_CIR1   0x33
 
#define ICC_CIX1   0x33
 
#define ICC_STCR   0x37
 
#define ICC_MODE   0x22
 
#define ICC_RSTA   0x27
 
#define ICC_RBCL   0x25
 
#define ICC_RBCH   0x2A
 
#define ICC_TIMR   0x23
 
#define ICC_SQXR   0x3b
 
#define ICC_MOSR   0x3a
 
#define ICC_MOCR   0x3a
 
#define ICC_MOR0   0x32
 
#define ICC_MOX0   0x32
 
#define ICC_MOR1   0x34
 
#define ICC_MOX1   0x34
 
#define ICC_RBCH_XAC   0x80
 
#define ICC_CMD_TIM   0x0
 
#define ICC_CMD_RES   0x1
 
#define ICC_CMD_DU   0x3
 
#define ICC_CMD_EI1   0x4
 
#define ICC_CMD_SSP   0x5
 
#define ICC_CMD_DT   0x6
 
#define ICC_CMD_AR   0x8
 
#define ICC_CMD_ARL   0xA
 
#define ICC_CMD_AI   0xC
 
#define ICC_CMD_DI   0xF
 
#define ICC_IND_DR   0x0
 
#define ICC_IND_FJ   0x2
 
#define ICC_IND_EI1   0x4
 
#define ICC_IND_INT   0x6
 
#define ICC_IND_PU   0x7
 
#define ICC_IND_AR   0x8
 
#define ICC_IND_ARL   0xA
 
#define ICC_IND_AI   0xC
 
#define ICC_IND_AIL   0xE
 
#define ICC_IND_DC   0xF
 

Functions

void ICCVersion (struct IsdnCardState *cs, char *s)
 
void initicc (struct IsdnCardState *cs)
 
void icc_interrupt (struct IsdnCardState *cs, u_char val)
 
void clear_pending_icc_ints (struct IsdnCardState *cs)
 
void setup_icc (struct IsdnCardState *)
 

Macro Definition Documentation

#define ICC_ADF1   0x38

Definition at line 25 of file icc.h.

#define ICC_ADF2   0x39

Definition at line 23 of file icc.h.

#define ICC_CIR0   0x31

Definition at line 26 of file icc.h.

#define ICC_CIR1   0x33

Definition at line 28 of file icc.h.

#define ICC_CIX0   0x31

Definition at line 27 of file icc.h.

#define ICC_CIX1   0x33

Definition at line 29 of file icc.h.

#define ICC_CMD_AI   0xC

Definition at line 54 of file icc.h.

#define ICC_CMD_AR   0x8

Definition at line 52 of file icc.h.

#define ICC_CMD_ARL   0xA

Definition at line 53 of file icc.h.

#define ICC_CMD_DI   0xF

Definition at line 55 of file icc.h.

#define ICC_CMD_DT   0x6

Definition at line 51 of file icc.h.

#define ICC_CMD_DU   0x3

Definition at line 48 of file icc.h.

#define ICC_CMD_EI1   0x4

Definition at line 49 of file icc.h.

#define ICC_CMD_RES   0x1

Definition at line 47 of file icc.h.

#define ICC_CMD_SSP   0x5

Definition at line 50 of file icc.h.

#define ICC_CMD_TIM   0x0

Definition at line 46 of file icc.h.

#define ICC_CMDR   0x21

Definition at line 21 of file icc.h.

#define ICC_EXIR   0x24

Definition at line 22 of file icc.h.

#define ICC_IND_AI   0xC

Definition at line 64 of file icc.h.

#define ICC_IND_AIL   0xE

Definition at line 65 of file icc.h.

#define ICC_IND_AR   0x8

Definition at line 62 of file icc.h.

#define ICC_IND_ARL   0xA

Definition at line 63 of file icc.h.

#define ICC_IND_DC   0xF

Definition at line 66 of file icc.h.

#define ICC_IND_DR   0x0

Definition at line 57 of file icc.h.

#define ICC_IND_EI1   0x4

Definition at line 59 of file icc.h.

#define ICC_IND_FJ   0x2

Definition at line 58 of file icc.h.

#define ICC_IND_INT   0x6

Definition at line 60 of file icc.h.

#define ICC_IND_PU   0x7

Definition at line 61 of file icc.h.

#define ICC_ISTA   0x20

Definition at line 19 of file icc.h.

#define ICC_MASK   0x20

Definition at line 18 of file icc.h.

#define ICC_MOCR   0x3a

Definition at line 38 of file icc.h.

#define ICC_MODE   0x22

Definition at line 31 of file icc.h.

#define ICC_MOR0   0x32

Definition at line 39 of file icc.h.

#define ICC_MOR1   0x34

Definition at line 41 of file icc.h.

#define ICC_MOSR   0x3a

Definition at line 37 of file icc.h.

#define ICC_MOX0   0x32

Definition at line 40 of file icc.h.

#define ICC_MOX1   0x34

Definition at line 42 of file icc.h.

#define ICC_RBCH   0x2A

Definition at line 34 of file icc.h.

#define ICC_RBCH_XAC   0x80

Definition at line 44 of file icc.h.

#define ICC_RBCL   0x25

Definition at line 33 of file icc.h.

#define ICC_RSTA   0x27

Definition at line 32 of file icc.h.

#define ICC_SPCR   0x30

Definition at line 24 of file icc.h.

#define ICC_SQXR   0x3b

Definition at line 36 of file icc.h.

#define ICC_STAR   0x21

Definition at line 20 of file icc.h.

#define ICC_STCR   0x37

Definition at line 30 of file icc.h.

#define ICC_TIMR   0x23

Definition at line 35 of file icc.h.

Function Documentation

void clear_pending_icc_ints ( struct IsdnCardState *  cs)

Definition at line 652 of file icc.c.

void icc_interrupt ( struct IsdnCardState *  cs,
u_char  val 
)

Definition at line 184 of file icc.c.

void ICCVersion ( struct IsdnCardState *  cs,
char s 
)

Definition at line 32 of file icc.c.

void initicc ( struct IsdnCardState *  cs)

Definition at line 619 of file icc.c.

void setup_icc ( struct IsdnCardState *  )

Definition at line 677 of file icc.c.