#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.
|
#define | ADDRREG_OFFSET 0x02 |
|
#define | DATAREG_OFFSET 0x03 |
|
#define | ASL0_OFFSET 0x04 |
|
#define | ASL1_OFFSET 0x05 |
|
#define | MODREG_OFFSET 0x06 |
|
#define | VERREG_OFFSET 0x07 |
|
#define | ISAC_FIFO_OFFSET 0x00 |
|
#define | ISAC_REG_OFFSET 0x20 |
|
#define | HSCX_CH_DIFF 0x40 |
|
#define | HSCX_FIFO_OFFSET 0x80 |
|
#define | HSCX_REG_OFFSET 0xa0 |
|
#define | ASL0_R_TIMER 0x10 /* active low */ |
|
#define | ASL0_R_ISAC 0x20 /* active low */ |
|
#define | ASL0_R_HSCX 0x40 /* active low */ |
|
#define | ASL0_R_TESTBIT 0x80 |
|
#define | ASL0_R_IRQPENDING (ASL0_R_ISAC | ASL0_R_HSCX | ASL0_R_TIMER) |
|
#define | ASL0_W_RESET 0x01 |
|
#define | ASL0_W_TDISABLE 0x02 |
|
#define | ASL0_W_TRESET 0x04 |
|
#define | ASL0_W_IRQENABLE 0x08 |
|
#define | ASL0_W_TESTBIT 0x80 |
|
#define | ASL1_W_LED0 0x10 |
|
#define | ASL1_W_LED1 0x20 |
|
#define | ASL1_W_ENABLE_S0 0xC0 |
|
#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 ADDRREG_OFFSET 0x02 |
#define ASL0_R_HSCX 0x40 /* active low */ |
#define ASL0_R_ISAC 0x20 /* active low */ |
#define ASL0_R_TESTBIT 0x80 |
#define ASL0_R_TIMER 0x10 /* active low */ |
#define ASL0_W_IRQENABLE 0x08 |
#define ASL0_W_RESET 0x01 |
#define ASL0_W_TDISABLE 0x02 |
#define ASL0_W_TESTBIT 0x80 |
#define ASL0_W_TRESET 0x04 |
#define ASL1_W_ENABLE_S0 0xC0 |
#define DATAREG_OFFSET 0x03 |
#define HSCX_CH_DIFF 0x40 |
#define HSCX_FIFO_OFFSET 0x80 |
#define HSCX_REG_OFFSET 0xa0 |
#define ISAC_FIFO_OFFSET 0x00 |
#define ISAC_REG_OFFSET 0x20 |
#define MODREG_OFFSET 0x06 |
#define VERREG_OFFSET 0x07 |