Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mISDNipac.c File Reference
#include <linux/irqreturn.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/mISDNhw.h>
#include "ipac.h"

Go to the source code of this file.

Macros

#define DBUSY_TIMER_VALUE   80
 
#define ARCOFI_USE   1
 
#define ISAC_REV   "2.0"
 
#define ReadISAC(is, o)   (is->read_reg(is->dch.hw, o + is->off))
 
#define WriteISAC(is, o, v)   (is->write_reg(is->dch.hw, o + is->off, v))
 
#define ReadHSCX(h, o)   (h->ip->read_reg(h->ip->hw, h->off + o))
 
#define WriteHSCX(h, o, v)   (h->ip->write_reg(h->ip->hw, h->off + o, v))
 
#define ReadIPAC(ip, o)   (ip->read_reg(ip->hw, o))
 
#define WriteIPAC(ip, o, v)   (ip->write_reg(ip->hw, o, v))
 

Functions

 MODULE_AUTHOR ("Karsten Keil")
 
 MODULE_VERSION (ISAC_REV)
 
 MODULE_LICENSE ("GPL v2")
 
void isac_empty_fifo (struct isac_hw *isac, int count)
 
irqreturn_t mISDNisac_irq (struct isac_hw *isac, u8 val)
 
 EXPORT_SYMBOL (mISDNisac_irq)
 
int mISDNisac_init (struct isac_hw *isac, void *hw)
 
 EXPORT_SYMBOL (mISDNisac_init)
 
irqreturn_t mISDNipac_irq (struct ipac_hw *ipac, int maxloop)
 
 EXPORT_SYMBOL (mISDNipac_irq)
 
u32 mISDNipac_init (struct ipac_hw *ipac, void *hw)
 
 EXPORT_SYMBOL (mISDNipac_init)
 
 module_init (isac_mod_init)
 
 module_exit (isac_mod_cleanup)
 

Macro Definition Documentation

#define ARCOFI_USE   1

Definition at line 31 of file mISDNipac.c.

#define DBUSY_TIMER_VALUE   80

Definition at line 30 of file mISDNipac.c.

#define ISAC_REV   "2.0"

Definition at line 33 of file mISDNipac.c.

#define ReadHSCX (   h,
 
)    (h->ip->read_reg(h->ip->hw, h->off + o))

Definition at line 41 of file mISDNipac.c.

#define ReadIPAC (   ip,
 
)    (ip->read_reg(ip->hw, o))

Definition at line 43 of file mISDNipac.c.

#define ReadISAC (   is,
 
)    (is->read_reg(is->dch.hw, o + is->off))

Definition at line 39 of file mISDNipac.c.

#define WriteHSCX (   h,
  o,
  v 
)    (h->ip->write_reg(h->ip->hw, h->off + o, v))

Definition at line 42 of file mISDNipac.c.

#define WriteIPAC (   ip,
  o,
  v 
)    (ip->write_reg(ip->hw, o, v))

Definition at line 44 of file mISDNipac.c.

#define WriteISAC (   is,
  o,
  v 
)    (is->write_reg(is->dch.hw, o + is->off, v))

Definition at line 40 of file mISDNipac.c.

Function Documentation

EXPORT_SYMBOL ( mISDNisac_irq  )
EXPORT_SYMBOL ( mISDNisac_init  )
EXPORT_SYMBOL ( mISDNipac_irq  )
EXPORT_SYMBOL ( mISDNipac_init  )
void isac_empty_fifo ( struct isac_hw isac,
int  count 
)

Definition at line 116 of file mISDNipac.c.

u32 mISDNipac_init ( struct ipac_hw ipac,
void hw 
)

Definition at line 1575 of file mISDNipac.c.

irqreturn_t mISDNipac_irq ( struct ipac_hw ipac,
int  maxloop 
)

Definition at line 1159 of file mISDNipac.c.

int mISDNisac_init ( struct isac_hw isac,
void hw 
)

Definition at line 867 of file mISDNipac.c.

irqreturn_t mISDNisac_irq ( struct isac_hw isac,
u8  val 
)

Definition at line 498 of file mISDNipac.c.

MODULE_AUTHOR ( "Karsten Keil"  )
module_exit ( isac_mod_cleanup  )
module_init ( isac_mod_init  )
MODULE_LICENSE ( "GPL v2 )
MODULE_VERSION ( ISAC_REV  )