Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

toshoboe.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define OBOE_RCVT   (0x00+(self->base))
#define OBOE_XMTT   (0x01+(self->base))
#define OBOE_XMTT_OFFSET   0x40
#define OBOE_TFP2   (0x02+(self->base))
#define OBOE_TFP0   (0x04+(self->base))
#define OBOE_TFP1   (0x05+(self->base))
#define OBOE_REG_3   (0x03+(self->base))
#define OBOE_NTR   (0x07+(self->base))
#define OBOE_NTR_XMIT4   0x00
#define OBOE_NTR_XMIT8   0x10
#define OBOE_NTR_XMIT16   0x30
#define OBOE_NTR_XMIT32   0x70
#define OBOE_NTR_XMIT64   0xf0
#define OBOE_NTR_RECV4   0x00
#define OBOE_NTR_RECV8   0x01
#define OBOE_NTR_RECV6   0x03
#define OBOE_NTR_RECV32   0x07
#define OBOE_NTR_RECV64   0x0f
#define OBOE_REG_9   (0x09+(self->base))
#define OBOE_ISR   (0x0c+(self->base))
#define OBOE_ISR_TXDONE   0x80
#define OBOE_ISR_RXDONE   0x40
#define OBOE_ISR_20   0x20
#define OBOE_ISR_10   0x10
#define OBOE_ISR_8   0x08
#define OBOE_ISR_4   0x08
#define OBOE_ISR_2   0x08
#define OBOE_ISR_1   0x08
#define OBOE_REG_D   (0x0d+(self->base))
#define OBOE_LOCK   ((self->base)+0x0e)
#define OBOE_PMDL   (0x10+(self->base))
#define OBOE_PMDL_SIR   0x18
#define OBOE_PMDL_MIR   0xa0
#define OBOE_PMDL_FIR   0x40
#define OBOE_SMDL   (0x18+(self->base))
#define OBOE_SMDL_SIR   0x20
#define OBOE_SMDL_MIR   0x01
#define OBOE_SMDL_FIR   0x0f
#define OBOE_UDIV   (0x19+(self->base))
#define OBOE_REG_11   (0x11+(self->base))
#define OBOE_RST   (0x15+(self->base))
#define OBOE_RST_WRAP   0x8
#define OBOE_REG_1A   (0x1a+(self->base))
#define OBOE_REG_1B   (0x1b+(self->base))
#define PCI_DEVICE_ID_FIR701   0x0701
#define OBOE_NTASKS   64
#define OBOE_TASK_BUF_LEN   (sizeof(struct OboeTaskFile) << 1)
#define TX_SLOTS   4
#define RX_SLOTS   4
#define OBOE_NTR_VAL   (OBOE_NTR_XMIT4 | OBOE_NTR_RECV4)

Typedefs

typedef unsigned int dword
typedef unsigned short int word
typedef unsigned char byte
typedef dword Paddr


Define Documentation

#define OBOE_ISR   (0x0c+(self->base))
 

Definition at line 60 of file toshoboe.h.

Referenced by toshoboe_interrupt(), toshoboe_startchip(), and toshoboe_stopchip().

#define OBOE_ISR_1   0x08
 

Definition at line 68 of file toshoboe.h.

#define OBOE_ISR_10   0x10
 

Definition at line 64 of file toshoboe.h.

Referenced by toshoboe_interrupt().

#define OBOE_ISR_2   0x08
 

Definition at line 67 of file toshoboe.h.

#define OBOE_ISR_20   0x20
 

Definition at line 63 of file toshoboe.h.

Referenced by toshoboe_interrupt().

#define OBOE_ISR_4   0x08
 

Definition at line 66 of file toshoboe.h.

#define OBOE_ISR_8   0x08
 

Definition at line 65 of file toshoboe.h.

#define OBOE_ISR_RXDONE   0x40
 

Definition at line 62 of file toshoboe.h.

Referenced by toshoboe_interrupt().

#define OBOE_ISR_TXDONE   0x80
 

Definition at line 61 of file toshoboe.h.

Referenced by toshoboe_interrupt().

#define OBOE_LOCK   ((self->base)+0x0e)
 

Definition at line 74 of file toshoboe.h.

Referenced by toshoboe_startchip(), and toshoboe_stopchip().

#define OBOE_NTASKS   64
 

Definition at line 120 of file toshoboe.h.

#define OBOE_NTR   (0x07+(self->base))
 

Definition at line 44 of file toshoboe.h.

Referenced by toshoboe_startchip().

#define OBOE_NTR_RECV32   0x07
 

Definition at line 53 of file toshoboe.h.

#define OBOE_NTR_RECV4   0x00
 

Definition at line 50 of file toshoboe.h.

#define OBOE_NTR_RECV6   0x03
 

Definition at line 52 of file toshoboe.h.

#define OBOE_NTR_RECV64   0x0f
 

Definition at line 54 of file toshoboe.h.

#define OBOE_NTR_RECV8   0x01
 

Definition at line 51 of file toshoboe.h.

#define OBOE_NTR_VAL   (OBOE_NTR_XMIT4 | OBOE_NTR_RECV4)
 

Definition at line 137 of file toshoboe.h.

Referenced by toshoboe_startchip().

#define OBOE_NTR_XMIT16   0x30
 

Definition at line 47 of file toshoboe.h.

#define OBOE_NTR_XMIT32   0x70
 

Definition at line 48 of file toshoboe.h.

#define OBOE_NTR_XMIT4   0x00
 

Definition at line 45 of file toshoboe.h.

#define OBOE_NTR_XMIT64   0xf0
 

Definition at line 49 of file toshoboe.h.

#define OBOE_NTR_XMIT8   0x10
 

Definition at line 46 of file toshoboe.h.

#define OBOE_PMDL   (0x10+(self->base))
 

Definition at line 79 of file toshoboe.h.

Referenced by toshoboe_setbaud().

#define OBOE_PMDL_FIR   0x40
 

Definition at line 82 of file toshoboe.h.

Referenced by toshoboe_setbaud().

#define OBOE_PMDL_MIR   0xa0
 

Definition at line 81 of file toshoboe.h.

Referenced by toshoboe_setbaud().

#define OBOE_PMDL_SIR   0x18
 

Definition at line 80 of file toshoboe.h.

Referenced by toshoboe_setbaud().

#define OBOE_RCVT   (0x00+(self->base))
 

Definition at line 31 of file toshoboe.h.

Referenced by toshoboe_initptrs(), and toshoboe_interrupt().

#define OBOE_REG_11   (0x11+(self->base))
 

Definition at line 92 of file toshoboe.h.

Referenced by toshoboe_hard_xmit(), toshoboe_startchip(), and toshoboe_stopchip().

#define OBOE_REG_1A   (0x1a+(self->base))
 

Definition at line 99 of file toshoboe.h.

Referenced by toshoboe_startchip(), and toshoboe_stopchip().

#define OBOE_REG_1B   (0x1b+(self->base))
 

Definition at line 100 of file toshoboe.h.

Referenced by toshoboe_startchip(), and toshoboe_stopchip().

#define OBOE_REG_3   (0x03+(self->base))
 

Definition at line 41 of file toshoboe.h.

#define OBOE_REG_9   (0x09+(self->base))
 

Definition at line 57 of file toshoboe.h.

Referenced by toshoboe_hard_xmit(), and toshoboe_setbaud().

#define OBOE_REG_D   (0x0d+(self->base))
 

Definition at line 71 of file toshoboe.h.

Referenced by toshoboe_startchip().

#define OBOE_RST   (0x15+(self->base))
 

Definition at line 95 of file toshoboe.h.

Referenced by toshoboe_hard_xmit(), toshoboe_setbaud(), toshoboe_startchip(), and toshoboe_stopchip().

#define OBOE_RST_WRAP   0x8
 

Definition at line 96 of file toshoboe.h.

Referenced by toshoboe_hard_xmit().

#define OBOE_SMDL   (0x18+(self->base))
 

Definition at line 84 of file toshoboe.h.

Referenced by toshoboe_setbaud().

#define OBOE_SMDL_FIR   0x0f
 

Definition at line 87 of file toshoboe.h.

Referenced by toshoboe_setbaud().

#define OBOE_SMDL_MIR   0x01
 

Definition at line 86 of file toshoboe.h.

Referenced by toshoboe_setbaud().

#define OBOE_SMDL_SIR   0x20
 

Definition at line 85 of file toshoboe.h.

Referenced by toshoboe_setbaud().

#define OBOE_TASK_BUF_LEN   (sizeof(struct OboeTaskFile) << 1)
 

Definition at line 128 of file toshoboe.h.

Referenced by toshoboe_open().

#define OBOE_TFP0   (0x04+(self->base))
 

Definition at line 37 of file toshoboe.h.

Referenced by toshoboe_startchip(), and toshoboe_stopchip().

#define OBOE_TFP1   (0x05+(self->base))
 

Definition at line 38 of file toshoboe.h.

Referenced by toshoboe_startchip(), and toshoboe_stopchip().

#define OBOE_TFP2   (0x02+(self->base))
 

Definition at line 36 of file toshoboe.h.

Referenced by toshoboe_startchip(), and toshoboe_stopchip().

#define OBOE_UDIV   (0x19+(self->base))
 

Definition at line 89 of file toshoboe.h.

Referenced by toshoboe_setbaud().

#define OBOE_XMTT   (0x01+(self->base))
 

Definition at line 32 of file toshoboe.h.

Referenced by toshoboe_hard_xmit(), and toshoboe_initptrs().

#define OBOE_XMTT_OFFSET   0x40
 

Definition at line 33 of file toshoboe.h.

Referenced by toshoboe_hard_xmit(), and toshoboe_initptrs().

#define PCI_DEVICE_ID_FIR701   0x0701
 

Definition at line 104 of file toshoboe.h.

Referenced by toshoboe_init().

#define RX_SLOTS   4
 

Definition at line 132 of file toshoboe.h.

Referenced by toshoboe_initbuffs(), toshoboe_initptrs(), toshoboe_interrupt(), and toshoboe_open().

#define TX_SLOTS   4
 

Definition at line 131 of file toshoboe.h.

Referenced by toshoboe_hard_xmit(), toshoboe_initbuffs(), and toshoboe_open().


Typedef Documentation

typedef unsigned char byte
 

Definition at line 109 of file toshoboe.h.

typedef unsigned int dword
 

Definition at line 107 of file toshoboe.h.

typedef dword Paddr
 

Definition at line 110 of file toshoboe.h.

typedef unsigned short int word
 

Definition at line 108 of file toshoboe.h.