Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
isdn_common.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/poll.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/isdn.h>
#include <linux/mutex.h>
#include "isdn_common.h"
#include "isdn_tty.h"
#include "isdn_net.h"
#include "isdn_ppp.h"
#include "isdn_v110.h"
#include <linux/isdn/capicmd.h>

Go to the source code of this file.

Macros

#define DLE   0x10
 
#define name   iocpar.name
 
#define bname   iocpar.bname
 
#define iocts   iocpar.iocts
 
#define phone   iocpar.phone
 
#define cfg   iocpar.cfg
 
#define L2V   (~(ISDN_FEATURE_L2_V11096 | ISDN_FEATURE_L2_V11019 | ISDN_FEATURE_L2_V11038))
 

Functions

 MODULE_DESCRIPTION ("ISDN4Linux: link layer")
 
 MODULE_AUTHOR ("Fritz Elfert")
 
 MODULE_LICENSE ("GPL")
 
void isdn_lock_drivers (void)
 
void isdn_unlock_drivers (void)
 
int isdn_msncmp (const char *msn1, const char *msn2)
 
int isdn_dc2minor (int di, int ch)
 
void isdn_timer_ctrl (int tf, int onoff)
 
int isdn_command (isdn_ctrl *cmd)
 
void isdn_all_eaz (int di, int ch)
 
int isdn_getnum (char **p)
 
int isdn_readbchan (int di, int channel, u_char *buf, u_char *fp, int len, wait_queue_head_t *sleep)
 
int isdn_readbchan_tty (int di, int channel, struct tty_struct *tty, int cisco_hack)
 
void isdn_info_update (void)
 
charisdn_map_eaz2msn (char *msn, int di)
 
int isdn_get_free_channel (int usage, int l2_proto, int l3_proto, int pre_dev, int pre_chan, char *msn)
 
void isdn_free_channel (int di, int ch, int usage)
 
void isdn_unexclusive_channel (int di, int ch)
 
int isdn_writebuf_skb_stub (int drvidx, int chan, int ack, struct sk_buff *skb)
 
 EXPORT_SYMBOL (register_isdn)
 
int register_isdn (isdn_if *i)
 
 module_init (isdn_init)
 
 module_exit (isdn_exit)
 

Variables

isdn_devdev
 
charisdn_net_revision
 
charisdn_v110_revision
 

Macro Definition Documentation

#define bname   iocpar.bname
unsigned DMA_MMR_SIZE_TYPE cfg   iocpar.cfg

Definition at line 86 of file dma.h.

#define DLE   0x10

Definition at line 751 of file isdn_common.c.

#define iocts   iocpar.iocts

Definition at line 1866 of file isdn_common.c.

char name   iocpar.name

Definition at line 340 of file assembler.h.

#define phone   iocpar.phone

Function Documentation

EXPORT_SYMBOL ( register_isdn  )
void isdn_all_eaz ( int  di,
int  ch 
)

Definition at line 381 of file isdn_common.c.

int isdn_command ( isdn_ctrl cmd)

Definition at line 337 of file isdn_common.c.

int isdn_dc2minor ( int  di,
int  ch 
)

Definition at line 220 of file isdn_common.c.

void isdn_free_channel ( int  di,
int  ch,
int  usage 
)

Definition at line 1924 of file isdn_common.c.

int isdn_get_free_channel ( int  usage,
int  l2_proto,
int  l3_proto,
int  pre_dev,
int  pre_chan,
char msn 
)

Definition at line 1872 of file isdn_common.c.

int isdn_getnum ( char **  p)

Definition at line 742 of file isdn_common.c.

void isdn_info_update ( void  )

Definition at line 1047 of file isdn_common.c.

void isdn_lock_drivers ( void  )

Definition at line 79 of file isdn_common.c.

char* isdn_map_eaz2msn ( char msn,
int  di 
)

Definition at line 1848 of file isdn_common.c.

int isdn_msncmp ( const char msn1,
const char msn2 
)

Definition at line 202 of file isdn_common.c.

int isdn_readbchan ( int  di,
int  channel,
u_char buf,
u_char fp,
int  len,
wait_queue_head_t sleep 
)

Definition at line 767 of file isdn_common.c.

int isdn_readbchan_tty ( int  di,
int  channel,
struct tty_struct tty,
int  cisco_hack 
)

Definition at line 879 of file isdn_common.c.

void isdn_timer_ctrl ( int  tf,
int  onoff 
)

Definition at line 269 of file isdn_common.c.

void isdn_unexclusive_channel ( int  di,
int  ch 
)

Definition at line 1957 of file isdn_common.c.

void isdn_unlock_drivers ( void  )

Definition at line 100 of file isdn_common.c.

int isdn_writebuf_skb_stub ( int  drvidx,
int  chan,
int  ack,
struct sk_buff skb 
)

Definition at line 1999 of file isdn_common.c.

MODULE_AUTHOR ( "Fritz Elfert"  )
MODULE_DESCRIPTION ( "ISDN4Linux: link layer"  )
module_exit ( isdn_exit  )
module_init ( isdn_init  )
MODULE_LICENSE ( "GPL"  )
int register_isdn ( isdn_if i)

Definition at line 2223 of file isdn_common.c.

Variable Documentation

isdn_dev* dev

Definition at line 43 of file isdn_common.c.

char* isdn_net_revision

Definition at line 186 of file isdn_net.c.

char* isdn_v110_revision

Definition at line 23 of file isdn_v110.c.