Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
core.c File Reference
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/stddef.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/mISDNif.h>
#include "core.h"

Go to the source code of this file.

Macros

#define MAX_DEVICE_ID   63
 

Functions

 MODULE_AUTHOR ("Karsten Keil")
 
 MODULE_LICENSE ("GPL")
 
 module_param (debug, uint, S_IRUGO|S_IWUSR)
 
struct mISDNdevice * get_mdevice (u_int id)
 
int get_mdevice_count (void)
 
int mISDN_register_device (struct mISDNdevice *dev, struct device *parent, char *name)
 
 EXPORT_SYMBOL (mISDN_register_device)
 
void mISDN_unregister_device (struct mISDNdevice *dev)
 
 EXPORT_SYMBOL (mISDN_unregister_device)
 
u_int get_all_Bprotocols (void)
 
struct Bprotocol * get_Bprotocol4mask (u_int m)
 
struct Bprotocol * get_Bprotocol4id (u_int id)
 
int mISDN_register_Bprotocol (struct Bprotocol *bp)
 
 EXPORT_SYMBOL (mISDN_register_Bprotocol)
 
void mISDN_unregister_Bprotocol (struct Bprotocol *bp)
 
 EXPORT_SYMBOL (mISDN_unregister_Bprotocol)
 
const charmISDNDevName4ch (struct mISDNchannel *ch)
 
 EXPORT_SYMBOL (mISDNDevName4ch)
 
 module_init (mISDNInit)
 
 module_exit (mISDN_cleanup)
 

Macro Definition Documentation

#define MAX_DEVICE_ID   63

Definition at line 30 of file core.c.

Function Documentation

EXPORT_SYMBOL ( mISDN_register_device  )
EXPORT_SYMBOL ( mISDN_unregister_device  )
EXPORT_SYMBOL ( mISDN_register_Bprotocol  )
EXPORT_SYMBOL ( mISDN_unregister_Bprotocol  )
EXPORT_SYMBOL ( mISDNDevName4ch  )
u_int get_all_Bprotocols ( void  )

Definition at line 280 of file core.c.

struct Bprotocol* get_Bprotocol4id ( u_int  id)
read

Definition at line 308 of file core.c.

struct Bprotocol* get_Bprotocol4mask ( u_int  m)
read

Definition at line 293 of file core.c.

struct mISDNdevice* get_mdevice ( u_int  id)
read

Definition at line 187 of file core.c.

int get_mdevice_count ( void  )

Definition at line 201 of file core.c.

int mISDN_register_Bprotocol ( struct Bprotocol *  bp)

Definition at line 322 of file core.c.

int mISDN_register_device ( struct mISDNdevice *  dev,
struct device parent,
char name 
)

Definition at line 223 of file core.c.

void mISDN_unregister_Bprotocol ( struct Bprotocol *  bp)

Definition at line 345 of file core.c.

void mISDN_unregister_device ( struct mISDNdevice *  dev)

Definition at line 265 of file core.c.

const char* mISDNDevName4ch ( struct mISDNchannel *  ch)

Definition at line 362 of file core.c.

MODULE_AUTHOR ( "Karsten Keil"  )
module_exit ( mISDN_cleanup  )
module_init ( mISDNInit  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
uint  ,
S_IRUGO S_IWUSR 
)