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

Go to the source code of this file.

Macros

#define ATTEMPT_PCI_REMAPPING   /* Required for PLX rev 1 */
 
#define wordout(addr, val)   outw(val, addr)
 
#define wordin(addr)   inw(addr)
 
#define READHSCX(cs, nr, reg)
 
#define WRITEHSCX(cs, nr, reg, data)
 
#define READHSCXFIFO(cs, nr, ptr, cnt)
 
#define WRITEHSCXFIFO(cs, nr, ptr, cnt)
 

Functions

int __devinit setup_sct_quadro (struct IsdnCard *card)
 

Macro Definition Documentation

#define ATTEMPT_PCI_REMAPPING   /* Required for PLX rev 1 */

Definition at line 23 of file bkm_a8.c.

#define READHSCX (   cs,
  nr,
  reg 
)
Value:
readreg(cs->hw.ax.base, \
cs->hw.ax.data_adr, reg + (nr ? 0x40 : 0))

Definition at line 127 of file bkm_a8.c.

#define READHSCXFIFO (   cs,
  nr,
  ptr,
  cnt 
)
Value:
readfifo(cs->hw.ax.base, \
cs->hw.ax.data_adr, (nr ? 0x40 : 0), ptr, cnt)

Definition at line 131 of file bkm_a8.c.

#define wordin (   addr)    inw(addr)

Definition at line 38 of file bkm_a8.c.

#define wordout (   addr,
  val 
)    outw(val, addr)

Definition at line 37 of file bkm_a8.c.

#define WRITEHSCX (   cs,
  nr,
  reg,
  data 
)
Value:
writereg(cs->hw.ax.base, \
cs->hw.ax.data_adr, reg + (nr ? 0x40 : 0), data)

Definition at line 129 of file bkm_a8.c.

#define WRITEHSCXFIFO (   cs,
  nr,
  ptr,
  cnt 
)
Value:
writefifo(cs->hw.ax.base, \
cs->hw.ax.data_adr, (nr ? 0x40 : 0), ptr, cnt)

Definition at line 133 of file bkm_a8.c.

Function Documentation

int __devinit setup_sct_quadro ( struct IsdnCard card)

Definition at line 278 of file bkm_a8.c.