Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
netjet.h File Reference

Go to the source code of this file.

Macros

#define NJ_CTRL   0x00
 
#define NJ_DMACTRL   0x01
 
#define NJ_AUXCTRL   0x02
 
#define NJ_AUXDATA   0x03
 
#define NJ_IRQMASK0   0x04
 
#define NJ_IRQMASK1   0x05
 
#define NJ_IRQSTAT0   0x06
 
#define NJ_IRQSTAT1   0x07
 
#define NJ_DMA_READ_START   0x08
 
#define NJ_DMA_READ_IRQ   0x0c
 
#define NJ_DMA_READ_END   0x10
 
#define NJ_DMA_READ_ADR   0x14
 
#define NJ_DMA_WRITE_START   0x18
 
#define NJ_DMA_WRITE_IRQ   0x1c
 
#define NJ_DMA_WRITE_END   0x20
 
#define NJ_DMA_WRITE_ADR   0x24
 
#define NJ_PULSE_CNT   0x28
 
#define NJ_ISAC_OFF   0xc0
 
#define NJ_ISACIRQ   0x10
 
#define NJ_IRQM0_RD_MASK   0x03
 
#define NJ_IRQM0_RD_IRQ   0x01
 
#define NJ_IRQM0_RD_END   0x02
 
#define NJ_IRQM0_WR_MASK   0x0c
 
#define NJ_IRQM0_WR_IRQ   0x04
 
#define NJ_IRQM0_WR_END   0x08
 
#define NJ_DMA_SIZE   4096
 
#define NJ_DMA_RXSIZE   128 /* 2 * 64 */
 
#define NJ_DMA_TXSIZE   128 /* 2 * 64 */
 

Macro Definition Documentation

#define NJ_AUXCTRL   0x02

Definition at line 27 of file netjet.h.

#define NJ_AUXDATA   0x03

Definition at line 28 of file netjet.h.

#define NJ_CTRL   0x00

Definition at line 25 of file netjet.h.

#define NJ_DMA_READ_ADR   0x14

Definition at line 36 of file netjet.h.

#define NJ_DMA_READ_END   0x10

Definition at line 35 of file netjet.h.

#define NJ_DMA_READ_IRQ   0x0c

Definition at line 34 of file netjet.h.

#define NJ_DMA_READ_START   0x08

Definition at line 33 of file netjet.h.

#define NJ_DMA_RXSIZE   128 /* 2 * 64 */

Definition at line 56 of file netjet.h.

#define NJ_DMA_SIZE   4096

Definition at line 54 of file netjet.h.

#define NJ_DMA_TXSIZE   128 /* 2 * 64 */

Definition at line 57 of file netjet.h.

#define NJ_DMA_WRITE_ADR   0x24

Definition at line 40 of file netjet.h.

#define NJ_DMA_WRITE_END   0x20

Definition at line 39 of file netjet.h.

#define NJ_DMA_WRITE_IRQ   0x1c

Definition at line 38 of file netjet.h.

#define NJ_DMA_WRITE_START   0x18

Definition at line 37 of file netjet.h.

#define NJ_DMACTRL   0x01

Definition at line 26 of file netjet.h.

#define NJ_IRQM0_RD_END   0x02

Definition at line 48 of file netjet.h.

#define NJ_IRQM0_RD_IRQ   0x01

Definition at line 47 of file netjet.h.

#define NJ_IRQM0_RD_MASK   0x03

Definition at line 46 of file netjet.h.

#define NJ_IRQM0_WR_END   0x08

Definition at line 51 of file netjet.h.

#define NJ_IRQM0_WR_IRQ   0x04

Definition at line 50 of file netjet.h.

#define NJ_IRQM0_WR_MASK   0x0c

Definition at line 49 of file netjet.h.

#define NJ_IRQMASK0   0x04

Definition at line 29 of file netjet.h.

#define NJ_IRQMASK1   0x05

Definition at line 30 of file netjet.h.

#define NJ_IRQSTAT0   0x06

Definition at line 31 of file netjet.h.

#define NJ_IRQSTAT1   0x07

Definition at line 32 of file netjet.h.

#define NJ_ISAC_OFF   0xc0

Definition at line 43 of file netjet.h.

#define NJ_ISACIRQ   0x10

Definition at line 44 of file netjet.h.

#define NJ_PULSE_CNT   0x28

Definition at line 41 of file netjet.h.