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

Go to the source code of this file.

Macros

#define OPSPUT_LAN_BASE   (0x10000000 /* + NONCACHE_OFFSET */)
 
#define OPSPUT_LAN_IRQ_LAN   (OPSPUT_LAN_PLD_IRQ_BASE + 1) /* LAN */
 
#define OPSPUT_LAN_IRQ_I2C   (OPSPUT_LAN_PLD_IRQ_BASE + 3) /* I2C */
 
#define OPSPUT_LAN_ICUISTS   __reg16(OPSPUT_LAN_BASE + 0xc0002)
 
#define OPSPUT_LAN_ICUISTS_VECB_MASK   (0xf000)
 
#define OPSPUT_LAN_VECB(x)   ((x) & OPSPUT_LAN_ICUISTS_VECB_MASK)
 
#define OPSPUT_LAN_ICUISTS_ISN_MASK   (0x07c0)
 
#define OPSPUT_LAN_ICUISTS_ISN(x)   ((x) & OPSPUT_LAN_ICUISTS_ISN_MASK)
 
#define OPSPUT_LAN_ICUIREQ0   __reg16(OPSPUT_LAN_BASE + 0xc0004)
 
#define OPSPUT_LAN_ICUCR1   __reg16(OPSPUT_LAN_BASE + 0xc0010)
 
#define OPSPUT_LAN_ICUCR3   __reg16(OPSPUT_LAN_BASE + 0xc0014)
 

Macro Definition Documentation

#define OPSPUT_LAN_BASE   (0x10000000 /* + NONCACHE_OFFSET */)

Definition at line 20 of file opsput_lan.h.

#define OPSPUT_LAN_ICUCR1   __reg16(OPSPUT_LAN_BASE + 0xc0010)

Definition at line 49 of file opsput_lan.h.

#define OPSPUT_LAN_ICUCR3   __reg16(OPSPUT_LAN_BASE + 0xc0014)

Definition at line 50 of file opsput_lan.h.

#define OPSPUT_LAN_ICUIREQ0   __reg16(OPSPUT_LAN_BASE + 0xc0004)

Definition at line 48 of file opsput_lan.h.

#define OPSPUT_LAN_ICUISTS   __reg16(OPSPUT_LAN_BASE + 0xc0002)

Definition at line 43 of file opsput_lan.h.

#define OPSPUT_LAN_ICUISTS_ISN (   x)    ((x) & OPSPUT_LAN_ICUISTS_ISN_MASK)

Definition at line 47 of file opsput_lan.h.

#define OPSPUT_LAN_ICUISTS_ISN_MASK   (0x07c0)

Definition at line 46 of file opsput_lan.h.

#define OPSPUT_LAN_ICUISTS_VECB_MASK   (0xf000)

Definition at line 44 of file opsput_lan.h.

#define OPSPUT_LAN_IRQ_I2C   (OPSPUT_LAN_PLD_IRQ_BASE + 3) /* I2C */

Definition at line 41 of file opsput_lan.h.

#define OPSPUT_LAN_IRQ_LAN   (OPSPUT_LAN_PLD_IRQ_BASE + 1) /* LAN */

Definition at line 40 of file opsput_lan.h.

#define OPSPUT_LAN_VECB (   x)    ((x) & OPSPUT_LAN_ICUISTS_VECB_MASK)

Definition at line 45 of file opsput_lan.h.