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

Go to the source code of this file.

Macros

#define R647   1
 
#define R685   2
 
#define R753   3
 
#define R742   4
 
#define PLX_CNTRL   0x50 /* registre de controle PLX */
 
#define RESET_GAZEL   0x4
 
#define RESET_9050   0x40000000
 
#define PLX_INCSR   0x4C /* registre d'IT du 9050 */
 
#define INT_ISAC_EN   0x8 /* 1 = enable IT isac */
 
#define INT_ISAC   0x20 /* 1 = IT isac en cours */
 
#define INT_HSCX_EN   0x1 /* 1 = enable IT hscx */
 
#define INT_HSCX   0x4 /* 1 = IT hscx en cours */
 
#define INT_PCI_EN   0x40 /* 1 = enable IT PCI */
 
#define INT_IPAC_EN   0x3 /* enable IT ipac */
 
#define byteout(addr, val)   outb(val, addr)
 
#define bytein(addr)   inb(addr)
 
#define READHSCX(cs, nr, reg)   ReadHSCX(cs, nr, reg)
 
#define WRITEHSCX(cs, nr, reg, data)   WriteHSCX(cs, nr, reg, data)
 
#define READHSCXFIFO(cs, nr, ptr, cnt)   ReadHSCXfifo(cs, nr, ptr, cnt)
 
#define WRITEHSCXFIFO(cs, nr, ptr, cnt)   WriteHSCXfifo(cs, nr, ptr, cnt)
 
#define MAXCOUNT   5
 

Functions

int __devinit setup_gazel (struct IsdnCard *card)
 

Macro Definition Documentation

#define bytein (   addr)    inb(addr)

Definition at line 42 of file gazel.c.

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

Definition at line 41 of file gazel.c.

#define INT_HSCX   0x4 /* 1 = IT hscx en cours */

Definition at line 36 of file gazel.c.

#define INT_HSCX_EN   0x1 /* 1 = enable IT hscx */

Definition at line 35 of file gazel.c.

#define INT_IPAC_EN   0x3 /* enable IT ipac */

Definition at line 38 of file gazel.c.

#define INT_ISAC   0x20 /* 1 = IT isac en cours */

Definition at line 34 of file gazel.c.

#define INT_ISAC_EN   0x8 /* 1 = enable IT isac */

Definition at line 33 of file gazel.c.

#define INT_PCI_EN   0x40 /* 1 = enable IT PCI */

Definition at line 37 of file gazel.c.

#define MAXCOUNT   5
#define PLX_CNTRL   0x50 /* registre de controle PLX */

Definition at line 29 of file gazel.c.

#define PLX_INCSR   0x4C /* registre d'IT du 9050 */

Definition at line 32 of file gazel.c.

#define R647   1

Definition at line 24 of file gazel.c.

#define R685   2

Definition at line 25 of file gazel.c.

#define R742   4

Definition at line 27 of file gazel.c.

#define R753   3

Definition at line 26 of file gazel.c.

#define READHSCX (   cs,
  nr,
  reg 
)    ReadHSCX(cs, nr, reg)

Definition at line 237 of file gazel.c.

#define READHSCXFIFO (   cs,
  nr,
  ptr,
  cnt 
)    ReadHSCXfifo(cs, nr, ptr, cnt)

Definition at line 239 of file gazel.c.

#define RESET_9050   0x40000000

Definition at line 31 of file gazel.c.

#define RESET_GAZEL   0x4

Definition at line 30 of file gazel.c.

#define WRITEHSCX (   cs,
  nr,
  reg,
  data 
)    WriteHSCX(cs, nr, reg, data)

Definition at line 238 of file gazel.c.

#define WRITEHSCXFIFO (   cs,
  nr,
  ptr,
  cnt 
)    WriteHSCXfifo(cs, nr, ptr, cnt)

Definition at line 240 of file gazel.c.

Function Documentation

int __devinit setup_gazel ( struct IsdnCard card)

Definition at line 626 of file gazel.c.