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

Go to the source code of this file.

Macros

#define LPD270_CPLD_PHYS   PXA_CS2_PHYS
 
#define LPD270_CPLD_VIRT   IOMEM(0xf0000000)
 
#define LPD270_CPLD_SIZE   0x00100000
 
#define LPD270_ETH_PHYS   (PXA_CS2_PHYS + 0x01000000)
 
#define LPD270_CPLD_REG(x)   (LPD270_CPLD_VIRT + (x))
 
#define LPD270_CONTROL   LPD270_CPLD_REG(0x00)
 
#define LPD270_PERIPHERAL0   LPD270_CPLD_REG(0x04)
 
#define LPD270_PERIPHERAL1   LPD270_CPLD_REG(0x08)
 
#define LPD270_CPLD_REVISION   LPD270_CPLD_REG(0x14)
 
#define LPD270_EEPROM_SPI_ITF   LPD270_CPLD_REG(0x20)
 
#define LPD270_MODE_PINS   LPD270_CPLD_REG(0x24)
 
#define LPD270_EGPIO   LPD270_CPLD_REG(0x30)
 
#define LPD270_INT_MASK   LPD270_CPLD_REG(0x40)
 
#define LPD270_INT_STATUS   LPD270_CPLD_REG(0x50)
 
#define LPD270_INT_AC97   (1 << 4) /* AC'97 CODEC IRQ */
 
#define LPD270_INT_ETHERNET   (1 << 3) /* Ethernet controller IRQ */
 
#define LPD270_INT_USBC   (1 << 2) /* USB client cable detection IRQ */
 
#define LPD270_IRQ(x)   (IRQ_BOARD_START + (x))
 
#define LPD270_USBC_IRQ   LPD270_IRQ(2)
 
#define LPD270_ETHERNET_IRQ   LPD270_IRQ(3)
 
#define LPD270_AC97_IRQ   LPD270_IRQ(4)
 
#define LPD270_NR_IRQS   (IRQ_BOARD_START + 5)
 

Macro Definition Documentation

#define LPD270_AC97_IRQ   LPD270_IRQ(4)

Definition at line 40 of file lpd270.h.

#define LPD270_CONTROL   LPD270_CPLD_REG(0x00)

Definition at line 23 of file lpd270.h.

#define LPD270_CPLD_PHYS   PXA_CS2_PHYS

Definition at line 15 of file lpd270.h.

#define LPD270_CPLD_REG (   x)    (LPD270_CPLD_VIRT + (x))

Definition at line 22 of file lpd270.h.

#define LPD270_CPLD_REVISION   LPD270_CPLD_REG(0x14)

Definition at line 26 of file lpd270.h.

#define LPD270_CPLD_SIZE   0x00100000

Definition at line 17 of file lpd270.h.

#define LPD270_CPLD_VIRT   IOMEM(0xf0000000)

Definition at line 16 of file lpd270.h.

#define LPD270_EEPROM_SPI_ITF   LPD270_CPLD_REG(0x20)

Definition at line 27 of file lpd270.h.

#define LPD270_EGPIO   LPD270_CPLD_REG(0x30)

Definition at line 29 of file lpd270.h.

#define LPD270_ETH_PHYS   (PXA_CS2_PHYS + 0x01000000)

Definition at line 19 of file lpd270.h.

#define LPD270_ETHERNET_IRQ   LPD270_IRQ(3)

Definition at line 39 of file lpd270.h.

#define LPD270_INT_AC97   (1 << 4) /* AC'97 CODEC IRQ */

Definition at line 33 of file lpd270.h.

#define LPD270_INT_ETHERNET   (1 << 3) /* Ethernet controller IRQ */

Definition at line 34 of file lpd270.h.

#define LPD270_INT_MASK   LPD270_CPLD_REG(0x40)

Definition at line 30 of file lpd270.h.

#define LPD270_INT_STATUS   LPD270_CPLD_REG(0x50)

Definition at line 31 of file lpd270.h.

#define LPD270_INT_USBC   (1 << 2) /* USB client cable detection IRQ */

Definition at line 35 of file lpd270.h.

#define LPD270_IRQ (   x)    (IRQ_BOARD_START + (x))

Definition at line 37 of file lpd270.h.

#define LPD270_MODE_PINS   LPD270_CPLD_REG(0x24)

Definition at line 28 of file lpd270.h.

#define LPD270_NR_IRQS   (IRQ_BOARD_START + 5)

Definition at line 41 of file lpd270.h.

#define LPD270_PERIPHERAL0   LPD270_CPLD_REG(0x04)

Definition at line 24 of file lpd270.h.

#define LPD270_PERIPHERAL1   LPD270_CPLD_REG(0x08)

Definition at line 25 of file lpd270.h.

#define LPD270_USBC_IRQ   LPD270_IRQ(2)

Definition at line 38 of file lpd270.h.