Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
isdnl1.c File Reference
#include <linux/init.h>
#include <linux/gfp.h>
#include "hisax.h"
#include "isdnl1.h"

Go to the source code of this file.

Macros

#define TIMER3_VALUE   7000
 
#define L1S_STATE_COUNT   (ST_L1_F8 + 1)
 
#define L1B_STATE_COUNT   (ST_L1_ACTIV + 1)
 
#define L1_EVENT_COUNT   (EV_TIMER3 + 1)
 

Enumerations

enum  {
  ST_L1_F2, ST_L1_F3, ST_L1_F4, ST_L1_F5,
  ST_L1_F6, ST_L1_F7, ST_L1_F8
}
 
enum  { ST_L1_NULL, ST_L1_WAIT_ACT, ST_L1_WAIT_DEACT, ST_L1_ACTIV }
 
enum  {
  EV_PH_ACTIVATE, EV_PH_DEACTIVATE, EV_RESET_IND, EV_DEACT_CNF,
  EV_DEACT_IND, EV_POWER_UP, EV_RSYNC_IND, EV_INFO2_IND,
  EV_INFO4_IND, EV_TIMER_DEACT, EV_TIMER_ACT, EV_TIMER3
}
 

Functions

void debugl1 (struct IsdnCardState *cs, char *fmt,...)
 
void DChannel_proc_xmt (struct IsdnCardState *cs)
 
void DChannel_proc_rcv (struct IsdnCardState *cs)
 
void BChannel_bh (struct work_struct *work)
 
void HiSax_addlist (struct IsdnCardState *cs, struct PStack *st)
 
void HiSax_rmlist (struct IsdnCardState *cs, struct PStack *st)
 
void init_bcstate (struct IsdnCardState *cs, int bc)
 
int __init Isdnl1New (void)
 
void Isdnl1Free (void)
 
void l1_msg (struct IsdnCardState *cs, int pr, void *arg)
 
void l1_msg_b (struct PStack *st, int pr, void *arg)
 
void setstack_HiSax (struct PStack *st, struct IsdnCardState *cs)
 
void setstack_l1_B (struct PStack *st)
 

Variables

const charl1_revision = "$Revision: 2.46.2.5 $"
 

Macro Definition Documentation

#define L1_EVENT_COUNT   (EV_TIMER3 + 1)

Definition at line 111 of file isdnl1.c.

#define L1B_STATE_COUNT   (ST_L1_ACTIV + 1)

Definition at line 86 of file isdnl1.c.

#define L1S_STATE_COUNT   (ST_L1_F8 + 1)

Definition at line 43 of file isdnl1.c.

#define TIMER3_VALUE   7000

Definition at line 28 of file isdnl1.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
ST_L1_F2 
ST_L1_F3 
ST_L1_F4 
ST_L1_F5 
ST_L1_F6 
ST_L1_F7 
ST_L1_F8 

Definition at line 33 of file isdnl1.c.

anonymous enum
Enumerator:
ST_L1_NULL 
ST_L1_WAIT_ACT 
ST_L1_WAIT_DEACT 
ST_L1_ACTIV 

Definition at line 79 of file isdnl1.c.

anonymous enum
Enumerator:
EV_PH_ACTIVATE 
EV_PH_DEACTIVATE 
EV_RESET_IND 
EV_DEACT_CNF 
EV_DEACT_IND 
EV_POWER_UP 
EV_RSYNC_IND 
EV_INFO2_IND 
EV_INFO4_IND 
EV_TIMER_DEACT 
EV_TIMER_ACT 
EV_TIMER3 

Definition at line 96 of file isdnl1.c.

Function Documentation

void BChannel_bh ( struct work_struct work)

Definition at line 319 of file isdnl1.c.

void DChannel_proc_rcv ( struct IsdnCardState *  cs)

Definition at line 204 of file isdnl1.c.

void DChannel_proc_xmt ( struct IsdnCardState *  cs)

Definition at line 186 of file isdnl1.c.

void debugl1 ( struct IsdnCardState *  cs,
char fmt,
  ... 
)

Definition at line 130 of file isdnl1.c.

void HiSax_addlist ( struct IsdnCardState *  cs,
struct PStack *  st 
)

Definition at line 334 of file isdnl1.c.

void HiSax_rmlist ( struct IsdnCardState *  cs,
struct PStack *  st 
)

Definition at line 342 of file isdnl1.c.

void init_bcstate ( struct IsdnCardState *  cs,
int  bc 
)

Definition at line 362 of file isdnl1.c.

void Isdnl1Free ( void  )

Definition at line 791 of file isdnl1.c.

int __init Isdnl1New ( void  )

Definition at line 755 of file isdnl1.c.

void l1_msg ( struct IsdnCardState *  cs,
int  pr,
void arg 
)

Definition at line 839 of file isdnl1.c.

void l1_msg_b ( struct PStack *  st,
int  pr,
void arg 
)

Definition at line 878 of file isdnl1.c.

void setstack_HiSax ( struct PStack *  st,
struct IsdnCardState *  cs 
)

Definition at line 890 of file isdnl1.c.

void setstack_l1_B ( struct PStack *  st)

Definition at line 918 of file isdnl1.c.

Variable Documentation

const char* l1_revision = "$Revision: 2.46.2.5 $"

Definition at line 26 of file isdnl1.c.