Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
b1.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/skbuff.h>
#include <linux/delay.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/capi.h>
#include <linux/kernelcapi.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <linux/init.h>
#include <asm/uaccess.h>
#include <linux/netdevice.h>
#include <linux/isdn/capilli.h>
#include "avmcard.h"
#include <linux/isdn/capicmd.h>
#include <linux/isdn/capiutil.h>

Go to the source code of this file.

Macros

#define FWBUF_SIZE   256
 

Functions

 MODULE_DESCRIPTION ("CAPI4Linux: Common support for active AVM cards")
 
 MODULE_AUTHOR ("Carsten Paeth")
 
 MODULE_LICENSE ("GPL")
 
avmcardb1_alloc_card (int nr_controllers)
 
void b1_free_card (avmcard *card)
 
int b1_detect (unsigned int base, enum avmcardtype cardtype)
 
void b1_getrevision (avmcard *card)
 
int b1_load_t4file (avmcard *card, capiloaddatapart *t4file)
 
int b1_load_config (avmcard *card, capiloaddatapart *config)
 
int b1_loaded (avmcard *card)
 
int b1_load_firmware (struct capi_ctr *ctrl, capiloaddata *data)
 
void b1_reset_ctr (struct capi_ctr *ctrl)
 
void b1_register_appl (struct capi_ctr *ctrl, u16 appl, capi_register_params *rp)
 
void b1_release_appl (struct capi_ctr *ctrl, u16 appl)
 
u16 b1_send_message (struct capi_ctr *ctrl, struct sk_buff *skb)
 
void b1_parse_version (avmctrl_info *cinfo)
 
irqreturn_t b1_interrupt (int interrupt, void *devptr)
 
 EXPORT_SYMBOL (b1ctl_proc_fops)
 
 EXPORT_SYMBOL (b1_irq_table)
 
 EXPORT_SYMBOL (b1_alloc_card)
 
 EXPORT_SYMBOL (b1_free_card)
 
 EXPORT_SYMBOL (b1_detect)
 
 EXPORT_SYMBOL (b1_getrevision)
 
 EXPORT_SYMBOL (b1_load_t4file)
 
 EXPORT_SYMBOL (b1_load_config)
 
 EXPORT_SYMBOL (b1_loaded)
 
 EXPORT_SYMBOL (b1_load_firmware)
 
 EXPORT_SYMBOL (b1_reset_ctr)
 
 EXPORT_SYMBOL (b1_register_appl)
 
 EXPORT_SYMBOL (b1_release_appl)
 
 EXPORT_SYMBOL (b1_send_message)
 
 EXPORT_SYMBOL (b1_parse_version)
 
 EXPORT_SYMBOL (b1_interrupt)
 
 module_init (b1_init)
 
 module_exit (b1_exit)
 

Variables

int b1_irq_table [16]
 
struct file_operations b1ctl_proc_fops
 

Macro Definition Documentation

#define FWBUF_SIZE   256

Definition at line 151 of file b1.c.

Function Documentation

avmcard* b1_alloc_card ( int  nr_controllers)

Definition at line 65 of file b1.c.

int b1_detect ( unsigned int  base,
enum avmcardtype  cardtype 
)

Definition at line 102 of file b1.c.

void b1_free_card ( avmcard card)

Definition at line 94 of file b1.c.

void b1_getrevision ( avmcard card)

Definition at line 145 of file b1.c.

irqreturn_t b1_interrupt ( int  interrupt,
void devptr 
)

Definition at line 490 of file b1.c.

int b1_load_config ( avmcard card,
capiloaddatapart config 
)

Definition at line 194 of file b1.c.

int b1_load_firmware ( struct capi_ctr ctrl,
capiloaddata data 
)

Definition at line 278 of file b1.c.

int b1_load_t4file ( avmcard card,
capiloaddatapart t4file 
)

Definition at line 152 of file b1.c.

int b1_loaded ( avmcard card)

Definition at line 245 of file b1.c.

void b1_parse_version ( avmctrl_info cinfo)

Definition at line 416 of file b1.c.

void b1_register_appl ( struct capi_ctr ctrl,
u16  appl,
capi_register_params rp 
)

Definition at line 339 of file b1.c.

void b1_release_appl ( struct capi_ctr ctrl,
u16  appl 
)

Definition at line 363 of file b1.c.

void b1_reset_ctr ( struct capi_ctr ctrl)

Definition at line 322 of file b1.c.

u16 b1_send_message ( struct capi_ctr ctrl,
struct sk_buff skb 
)

Definition at line 377 of file b1.c.

EXPORT_SYMBOL ( b1ctl_proc_fops  )
EXPORT_SYMBOL ( b1_irq_table  )
EXPORT_SYMBOL ( b1_alloc_card  )
EXPORT_SYMBOL ( b1_free_card  )
EXPORT_SYMBOL ( b1_detect  )
EXPORT_SYMBOL ( b1_getrevision  )
EXPORT_SYMBOL ( b1_load_t4file  )
EXPORT_SYMBOL ( b1_load_config  )
EXPORT_SYMBOL ( b1_loaded  )
EXPORT_SYMBOL ( b1_load_firmware  )
EXPORT_SYMBOL ( b1_reset_ctr  )
EXPORT_SYMBOL ( b1_register_appl  )
EXPORT_SYMBOL ( b1_release_appl  )
EXPORT_SYMBOL ( b1_send_message  )
EXPORT_SYMBOL ( b1_parse_version  )
EXPORT_SYMBOL ( b1_interrupt  )
MODULE_AUTHOR ( "Carsten Paeth"  )
MODULE_DESCRIPTION ( "CAPI4Linux: Common support for active AVM cards )
module_exit ( b1_exit  )
module_init ( b1_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

int b1_irq_table[16]
Initial value:
=
{0,
0,
0,
192,
32,
160,
96,
224,
0,
64,
80,
208,
48,
0,
0,
112,
}

Definition at line 44 of file b1.c.

struct file_operations b1ctl_proc_fops
Initial value:
= {
.owner = THIS_MODULE,
.open = b1ctl_proc_open,
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
}

Definition at line 708 of file b1.c.