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

Go to the source code of this file.

Macros

#define HFC_CTMT   0xe0
 
#define HFC_CIRM   0xc0
 
#define HFC_CIP   0x80
 
#define HFC_Z1   0x00
 
#define HFC_Z2   0x08
 
#define HFC_Z_LOW   0x00
 
#define HFC_Z_HIGH   0x04
 
#define HFC_F1_INC   0x28
 
#define HFC_FIFO_IN   0x2c
 
#define HFC_F1   0x30
 
#define HFC_F2   0x34
 
#define HFC_F2_INC   0x38
 
#define HFC_FIFO_OUT   0x3c
 
#define HFC_B1   0x00
 
#define HFC_B2   0x02
 
#define HFC_REC   0x01
 
#define HFC_SEND   0x00
 
#define HFC_CHANNEL(ch)   (ch ? HFC_B2 : HFC_B1)
 
#define HFC_STATUS   0
 
#define HFC_DATA   1
 
#define HFC_DATA_NODEB   2
 
#define HFC_BUSY   0x01
 
#define HFC_TIMINT   0x02
 
#define HFC_EXTINT   0x04
 
#define HFC_CLTIMER   0x10
 
#define HFC_TIM50MS   0x08
 
#define HFC_TIMIRQE   0x04
 
#define HFC_TRANSB2   0x02
 
#define HFC_TRANSB1   0x01
 
#define HFC_RESET   0x08
 
#define HFC_MEM8K   0x10
 
#define HFC_INTA   0x01
 
#define HFC_INTB   0x02
 
#define HFC_INTC   0x03
 
#define HFC_INTD   0x04
 
#define HFC_INTE   0x05
 
#define HFC_INTF   0x06
 

Functions

void main_irq_hfc (struct BCState *bcs)
 
void inithfc (struct IsdnCardState *cs)
 
void releasehfc (struct IsdnCardState *cs)
 

Macro Definition Documentation

#define HFC_B1   0x00

Definition at line 26 of file hfc_2bs0.h.

#define HFC_B2   0x02

Definition at line 27 of file hfc_2bs0.h.

#define HFC_BUSY   0x01

Definition at line 37 of file hfc_2bs0.h.

#define HFC_CHANNEL (   ch)    (ch ? HFC_B2 : HFC_B1)

Definition at line 30 of file hfc_2bs0.h.

#define HFC_CIP   0x80

Definition at line 15 of file hfc_2bs0.h.

#define HFC_CIRM   0xc0

Definition at line 14 of file hfc_2bs0.h.

#define HFC_CLTIMER   0x10

Definition at line 42 of file hfc_2bs0.h.

#define HFC_CTMT   0xe0

Definition at line 13 of file hfc_2bs0.h.

#define HFC_DATA   1

Definition at line 33 of file hfc_2bs0.h.

#define HFC_DATA_NODEB   2

Definition at line 34 of file hfc_2bs0.h.

#define HFC_EXTINT   0x04

Definition at line 39 of file hfc_2bs0.h.

#define HFC_F1   0x30

Definition at line 22 of file hfc_2bs0.h.

#define HFC_F1_INC   0x28

Definition at line 20 of file hfc_2bs0.h.

#define HFC_F2   0x34

Definition at line 23 of file hfc_2bs0.h.

#define HFC_F2_INC   0x38

Definition at line 24 of file hfc_2bs0.h.

#define HFC_FIFO_IN   0x2c

Definition at line 21 of file hfc_2bs0.h.

#define HFC_FIFO_OUT   0x3c

Definition at line 25 of file hfc_2bs0.h.

#define HFC_INTA   0x01

Definition at line 51 of file hfc_2bs0.h.

#define HFC_INTB   0x02

Definition at line 52 of file hfc_2bs0.h.

#define HFC_INTC   0x03

Definition at line 53 of file hfc_2bs0.h.

#define HFC_INTD   0x04

Definition at line 54 of file hfc_2bs0.h.

#define HFC_INTE   0x05

Definition at line 55 of file hfc_2bs0.h.

#define HFC_INTF   0x06

Definition at line 56 of file hfc_2bs0.h.

#define HFC_MEM8K   0x10

Definition at line 50 of file hfc_2bs0.h.

#define HFC_REC   0x01

Definition at line 28 of file hfc_2bs0.h.

#define HFC_RESET   0x08

Definition at line 49 of file hfc_2bs0.h.

#define HFC_SEND   0x00

Definition at line 29 of file hfc_2bs0.h.

#define HFC_STATUS   0

Definition at line 32 of file hfc_2bs0.h.

#define HFC_TIM50MS   0x08

Definition at line 43 of file hfc_2bs0.h.

#define HFC_TIMINT   0x02

Definition at line 38 of file hfc_2bs0.h.

#define HFC_TIMIRQE   0x04

Definition at line 44 of file hfc_2bs0.h.

#define HFC_TRANSB1   0x01

Definition at line 46 of file hfc_2bs0.h.

#define HFC_TRANSB2   0x02

Definition at line 45 of file hfc_2bs0.h.

#define HFC_Z1   0x00

Definition at line 16 of file hfc_2bs0.h.

#define HFC_Z2   0x08

Definition at line 17 of file hfc_2bs0.h.

#define HFC_Z_HIGH   0x04

Definition at line 19 of file hfc_2bs0.h.

#define HFC_Z_LOW   0x00

Definition at line 18 of file hfc_2bs0.h.

Function Documentation

void inithfc ( struct IsdnCardState *  cs)

Definition at line 570 of file hfc_2bs0.c.

void main_irq_hfc ( struct BCState *  bcs)

Definition at line 326 of file hfc_2bs0.c.

void releasehfc ( struct IsdnCardState *  cs)

Definition at line 584 of file hfc_2bs0.c.