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

Go to the source code of this file.

Macros

#define AVM_A1_STAT_ISAC   0x01
 
#define AVM_A1_STAT_HSCX   0x02
 
#define AVM_A1_STAT_TIMER   0x04
 
#define byteout(addr, val)   outb(val, addr)
 
#define bytein(addr)   inb(addr)
 
#define READHSCX(cs, nr, reg)   readreg(cs->hw.avm.hscx[nr], reg)
 
#define WRITEHSCX(cs, nr, reg, data)   writereg(cs->hw.avm.hscx[nr], reg, data)
 
#define READHSCXFIFO(cs, nr, ptr, cnt)   read_fifo(cs->hw.avm.hscxfifo[nr], ptr, cnt)
 
#define WRITEHSCXFIFO(cs, nr, ptr, cnt)   write_fifo(cs->hw.avm.hscxfifo[nr], ptr, cnt)
 

Functions

int __devinit setup_avm_a1 (struct IsdnCard *card)
 

Macro Definition Documentation

#define AVM_A1_STAT_HSCX   0x02

Definition at line 22 of file avm_a1.c.

#define AVM_A1_STAT_ISAC   0x01

Definition at line 21 of file avm_a1.c.

#define AVM_A1_STAT_TIMER   0x04

Definition at line 23 of file avm_a1.c.

#define bytein (   addr)    inb(addr)

Definition at line 26 of file avm_a1.c.

#define byteout (   addr,
  val 
)    outb(val, addr)

Definition at line 25 of file avm_a1.c.

#define READHSCX (   cs,
  nr,
  reg 
)    readreg(cs->hw.avm.hscx[nr], reg)

Definition at line 95 of file avm_a1.c.

#define READHSCXFIFO (   cs,
  nr,
  ptr,
  cnt 
)    read_fifo(cs->hw.avm.hscxfifo[nr], ptr, cnt)

Definition at line 97 of file avm_a1.c.

#define WRITEHSCX (   cs,
  nr,
  reg,
  data 
)    writereg(cs->hw.avm.hscx[nr], reg, data)

Definition at line 96 of file avm_a1.c.

#define WRITEHSCXFIFO (   cs,
  nr,
  ptr,
  cnt 
)    write_fifo(cs->hw.avm.hscxfifo[nr], ptr, cnt)

Definition at line 98 of file avm_a1.c.

Function Documentation

int __devinit setup_avm_a1 ( struct IsdnCard card)

Definition at line 181 of file avm_a1.c.