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

Go to the source code of this file.

Data Structures

struct  ErgDpram_tag
 

Macros

#define ERG_DPRAM_PAGE_SIZE   0x2000 /* DPRAM occupies a 8K page */
 
#define BOOT_IMG_SIZE   4096
 
#define ERG_DPRAM_FILL_SIZE   (ERG_DPRAM_PAGE_SIZE - BOOT_IMG_SIZE)
 
#define ERG_TO_HY_BUF_SIZE   0x0E00 /* 3072 bytes buffer size to card */
 
#define ERG_TO_PC_BUF_SIZE   0x0E00 /* 3072 bytes to PC, too */
 
#define PCI9050_INTR_REG   0x4C /* Interrupt register */
 
#define PCI9050_USER_IO   0x51 /* User I/O register */
 
#define PCI9050_INTR_REG_EN1   0x01 /* 1= enable (def.), 0= disable */
 
#define PCI9050_INTR_REG_POL1   0x02 /* 1= active high (def.), 0= active low */
 
#define PCI9050_INTR_REG_STAT1   0x04 /* 1= intr. active, 0= intr. not active (def.) */
 
#define PCI9050_INTR_REG_ENPCI   0x40 /* 1= PCI interrupts enable (def.) */
 
#define PCI9050_USER_IO_EN3   0x02 /* 1= disable , 0= enable (def.) */
 
#define PCI9050_USER_IO_DIR3   0x04 /* 1= output (def.), 0= input */
 
#define PCI9050_USER_IO_DAT3   0x08 /* 1= high (def.) , 0= low */
 
#define PCI9050_E1_RESET   (PCI9050_USER_IO_DIR3) /* 0x04 */
 
#define PCI9050_E1_RUN   (PCI9050_USER_IO_DAT3 | PCI9050_USER_IO_DIR3) /* 0x0C */
 

Typedefs

typedef struct ErgDpram_tag tErgDpram
 

Macro Definition Documentation

#define BOOT_IMG_SIZE   4096

Definition at line 18 of file boardergo.h.

#define ERG_DPRAM_FILL_SIZE   (ERG_DPRAM_PAGE_SIZE - BOOT_IMG_SIZE)

Definition at line 19 of file boardergo.h.

#define ERG_DPRAM_PAGE_SIZE   0x2000 /* DPRAM occupies a 8K page */

Definition at line 17 of file boardergo.h.

#define ERG_TO_HY_BUF_SIZE   0x0E00 /* 3072 bytes buffer size to card */

Definition at line 21 of file boardergo.h.

#define ERG_TO_PC_BUF_SIZE   0x0E00 /* 3072 bytes to PC, too */

Definition at line 22 of file boardergo.h.

#define PCI9050_E1_RESET   (PCI9050_USER_IO_DIR3) /* 0x04 */

Definition at line 99 of file boardergo.h.

#define PCI9050_E1_RUN   (PCI9050_USER_IO_DAT3 | PCI9050_USER_IO_DIR3) /* 0x0C */

Definition at line 100 of file boardergo.h.

#define PCI9050_INTR_REG   0x4C /* Interrupt register */

Definition at line 85 of file boardergo.h.

#define PCI9050_INTR_REG_EN1   0x01 /* 1= enable (def.), 0= disable */

Definition at line 89 of file boardergo.h.

#define PCI9050_INTR_REG_ENPCI   0x40 /* 1= PCI interrupts enable (def.) */

Definition at line 92 of file boardergo.h.

#define PCI9050_INTR_REG_POL1   0x02 /* 1= active high (def.), 0= active low */

Definition at line 90 of file boardergo.h.

#define PCI9050_INTR_REG_STAT1   0x04 /* 1= intr. active, 0= intr. not active (def.) */

Definition at line 91 of file boardergo.h.

#define PCI9050_USER_IO   0x51 /* User I/O register */

Definition at line 86 of file boardergo.h.

#define PCI9050_USER_IO_DAT3   0x08 /* 1= high (def.) , 0= low */

Definition at line 97 of file boardergo.h.

#define PCI9050_USER_IO_DIR3   0x04 /* 1= output (def.), 0= input */

Definition at line 96 of file boardergo.h.

#define PCI9050_USER_IO_EN3   0x02 /* 1= disable , 0= enable (def.) */

Definition at line 95 of file boardergo.h.

Typedef Documentation