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

Go to the source code of this file.

Macros

#define scx200_cb_present()   (scx200_cb_base!=0)
 
#define SCx200_DOCCS_BASE   0x78 /* DOCCS Base Address Register */
 
#define SCx200_DOCCS_CTRL   0x7c /* DOCCS Control Register */
 
#define SCx200_GPIO_SIZE   0x2c /* Size of GPIO register block */
 
#define SCx200_CB_BASE_FIXED   0x9000 /* Base fixed at 0x9000 according to errata? */
 
#define SCx200_WDT_OFFSET   0x00 /* offset within configuration block */
 
#define SCx200_WDT_SIZE   0x05 /* size */
 
#define SCx200_WDT_WDTO   0x00 /* Time-Out Register */
 
#define SCx200_WDT_WDCNFG   0x02 /* Configuration Register */
 
#define SCx200_WDT_WDSTS   0x04 /* Status Register */
 
#define SCx200_WDT_WDSTS_WDOVF   (1<<0) /* Overflow bit */
 
#define SCx200_TIMER_OFFSET   0x08
 
#define SCx200_TIMER_SIZE   0x06
 
#define SCx200_CLOCKGEN_OFFSET   0x10
 
#define SCx200_CLOCKGEN_SIZE   0x10
 
#define SCx200_MISC_OFFSET   0x30
 
#define SCx200_MISC_SIZE   0x10
 
#define SCx200_PMR   0x30 /* Pin Multiplexing Register */
 
#define SCx200_MCR   0x34 /* Miscellaneous Configuration Register */
 
#define SCx200_INTSEL   0x38 /* Interrupt Selection Register */
 
#define SCx200_IID   0x3c /* IA On a Chip Identification Number Reg */
 
#define SCx200_REV   0x3d /* Revision Register */
 
#define SCx200_CBA   0x3e /* Configuration Base Address Register */
 
#define SCx200_CBA_SCRATCH   0x64 /* Configuration Base Address Scratchpad */
 

Variables

unsigned scx200_cb_base
 

Macro Definition Documentation

#define SCx200_CB_BASE_FIXED   0x9000 /* Base fixed at 0x9000 according to errata? */

Definition at line 22 of file scx200.h.

#define scx200_cb_present ( )    (scx200_cb_base!=0)

Definition at line 12 of file scx200.h.

#define SCx200_CBA   0x3e /* Configuration Base Address Register */

Definition at line 50 of file scx200.h.

#define SCx200_CBA_SCRATCH   0x64 /* Configuration Base Address Scratchpad */

Definition at line 51 of file scx200.h.

#define SCx200_CLOCKGEN_OFFSET   0x10

Definition at line 38 of file scx200.h.

#define SCx200_CLOCKGEN_SIZE   0x10

Definition at line 39 of file scx200.h.

#define SCx200_DOCCS_BASE   0x78 /* DOCCS Base Address Register */

Definition at line 15 of file scx200.h.

#define SCx200_DOCCS_CTRL   0x7c /* DOCCS Control Register */

Definition at line 16 of file scx200.h.

#define SCx200_GPIO_SIZE   0x2c /* Size of GPIO register block */

Definition at line 19 of file scx200.h.

#define SCx200_IID   0x3c /* IA On a Chip Identification Number Reg */

Definition at line 48 of file scx200.h.

#define SCx200_INTSEL   0x38 /* Interrupt Selection Register */

Definition at line 47 of file scx200.h.

#define SCx200_MCR   0x34 /* Miscellaneous Configuration Register */

Definition at line 46 of file scx200.h.

#define SCx200_MISC_OFFSET   0x30

Definition at line 42 of file scx200.h.

#define SCx200_MISC_SIZE   0x10

Definition at line 43 of file scx200.h.

#define SCx200_PMR   0x30 /* Pin Multiplexing Register */

Definition at line 45 of file scx200.h.

#define SCx200_REV   0x3d /* Revision Register */

Definition at line 49 of file scx200.h.

#define SCx200_TIMER_OFFSET   0x08

Definition at line 34 of file scx200.h.

#define SCx200_TIMER_SIZE   0x06

Definition at line 35 of file scx200.h.

#define SCx200_WDT_OFFSET   0x00 /* offset within configuration block */

Definition at line 25 of file scx200.h.

#define SCx200_WDT_SIZE   0x05 /* size */

Definition at line 26 of file scx200.h.

#define SCx200_WDT_WDCNFG   0x02 /* Configuration Register */

Definition at line 29 of file scx200.h.

#define SCx200_WDT_WDSTS   0x04 /* Status Register */

Definition at line 30 of file scx200.h.

#define SCx200_WDT_WDSTS_WDOVF   (1<<0) /* Overflow bit */

Definition at line 31 of file scx200.h.

#define SCx200_WDT_WDTO   0x00 /* Time-Out Register */

Definition at line 28 of file scx200.h.

Variable Documentation

unsigned scx200_cb_base

Definition at line 27 of file scx200_32.c.