Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
gpio-ep93xx.h File Reference
#include <mach/ep93xx-regs.h>

Go to the source code of this file.

Macros

#define EP93XX_GPIO_PHYS_BASE   EP93XX_APB_PHYS(0x00040000)
 
#define EP93XX_GPIO_BASE   EP93XX_APB_IOMEM(0x00040000)
 
#define EP93XX_GPIO_REG(x)   (EP93XX_GPIO_BASE + (x))
 
#define EP93XX_GPIO_F_INT_STATUS   EP93XX_GPIO_REG(0x5c)
 
#define EP93XX_GPIO_A_INT_STATUS   EP93XX_GPIO_REG(0xa0)
 
#define EP93XX_GPIO_B_INT_STATUS   EP93XX_GPIO_REG(0xbc)
 
#define EP93XX_GPIO_EEDRIVE   EP93XX_GPIO_REG(0xc8)
 
#define EP93XX_GPIO_LINE_A(x)   ((x) + 0)
 
#define EP93XX_GPIO_LINE_EGPIO0   EP93XX_GPIO_LINE_A(0)
 
#define EP93XX_GPIO_LINE_EGPIO1   EP93XX_GPIO_LINE_A(1)
 
#define EP93XX_GPIO_LINE_EGPIO2   EP93XX_GPIO_LINE_A(2)
 
#define EP93XX_GPIO_LINE_EGPIO3   EP93XX_GPIO_LINE_A(3)
 
#define EP93XX_GPIO_LINE_EGPIO4   EP93XX_GPIO_LINE_A(4)
 
#define EP93XX_GPIO_LINE_EGPIO5   EP93XX_GPIO_LINE_A(5)
 
#define EP93XX_GPIO_LINE_EGPIO6   EP93XX_GPIO_LINE_A(6)
 
#define EP93XX_GPIO_LINE_EGPIO7   EP93XX_GPIO_LINE_A(7)
 
#define EP93XX_GPIO_LINE_B(x)   ((x) + 8)
 
#define EP93XX_GPIO_LINE_EGPIO8   EP93XX_GPIO_LINE_B(0)
 
#define EP93XX_GPIO_LINE_EGPIO9   EP93XX_GPIO_LINE_B(1)
 
#define EP93XX_GPIO_LINE_EGPIO10   EP93XX_GPIO_LINE_B(2)
 
#define EP93XX_GPIO_LINE_EGPIO11   EP93XX_GPIO_LINE_B(3)
 
#define EP93XX_GPIO_LINE_EGPIO12   EP93XX_GPIO_LINE_B(4)
 
#define EP93XX_GPIO_LINE_EGPIO13   EP93XX_GPIO_LINE_B(5)
 
#define EP93XX_GPIO_LINE_EGPIO14   EP93XX_GPIO_LINE_B(6)
 
#define EP93XX_GPIO_LINE_EGPIO15   EP93XX_GPIO_LINE_B(7)
 
#define EP93XX_GPIO_LINE_C(x)   ((x) + 40)
 
#define EP93XX_GPIO_LINE_ROW0   EP93XX_GPIO_LINE_C(0)
 
#define EP93XX_GPIO_LINE_ROW1   EP93XX_GPIO_LINE_C(1)
 
#define EP93XX_GPIO_LINE_ROW2   EP93XX_GPIO_LINE_C(2)
 
#define EP93XX_GPIO_LINE_ROW3   EP93XX_GPIO_LINE_C(3)
 
#define EP93XX_GPIO_LINE_ROW4   EP93XX_GPIO_LINE_C(4)
 
#define EP93XX_GPIO_LINE_ROW5   EP93XX_GPIO_LINE_C(5)
 
#define EP93XX_GPIO_LINE_ROW6   EP93XX_GPIO_LINE_C(6)
 
#define EP93XX_GPIO_LINE_ROW7   EP93XX_GPIO_LINE_C(7)
 
#define EP93XX_GPIO_LINE_D(x)   ((x) + 24)
 
#define EP93XX_GPIO_LINE_COL0   EP93XX_GPIO_LINE_D(0)
 
#define EP93XX_GPIO_LINE_COL1   EP93XX_GPIO_LINE_D(1)
 
#define EP93XX_GPIO_LINE_COL2   EP93XX_GPIO_LINE_D(2)
 
#define EP93XX_GPIO_LINE_COL3   EP93XX_GPIO_LINE_D(3)
 
#define EP93XX_GPIO_LINE_COL4   EP93XX_GPIO_LINE_D(4)
 
#define EP93XX_GPIO_LINE_COL5   EP93XX_GPIO_LINE_D(5)
 
#define EP93XX_GPIO_LINE_COL6   EP93XX_GPIO_LINE_D(6)
 
#define EP93XX_GPIO_LINE_COL7   EP93XX_GPIO_LINE_D(7)
 
#define EP93XX_GPIO_LINE_E(x)   ((x) + 32)
 
#define EP93XX_GPIO_LINE_GRLED   EP93XX_GPIO_LINE_E(0)
 
#define EP93XX_GPIO_LINE_RDLED   EP93XX_GPIO_LINE_E(1)
 
#define EP93XX_GPIO_LINE_DIORn   EP93XX_GPIO_LINE_E(2)
 
#define EP93XX_GPIO_LINE_IDECS1n   EP93XX_GPIO_LINE_E(3)
 
#define EP93XX_GPIO_LINE_IDECS2n   EP93XX_GPIO_LINE_E(4)
 
#define EP93XX_GPIO_LINE_IDEDA0   EP93XX_GPIO_LINE_E(5)
 
#define EP93XX_GPIO_LINE_IDEDA1   EP93XX_GPIO_LINE_E(6)
 
#define EP93XX_GPIO_LINE_IDEDA2   EP93XX_GPIO_LINE_E(7)
 
#define EP93XX_GPIO_LINE_F(x)   ((x) + 16)
 
#define EP93XX_GPIO_LINE_WP   EP93XX_GPIO_LINE_F(0)
 
#define EP93XX_GPIO_LINE_MCCD1   EP93XX_GPIO_LINE_F(1)
 
#define EP93XX_GPIO_LINE_MCCD2   EP93XX_GPIO_LINE_F(2)
 
#define EP93XX_GPIO_LINE_MCBVD1   EP93XX_GPIO_LINE_F(3)
 
#define EP93XX_GPIO_LINE_MCBVD2   EP93XX_GPIO_LINE_F(4)
 
#define EP93XX_GPIO_LINE_VS1   EP93XX_GPIO_LINE_F(5)
 
#define EP93XX_GPIO_LINE_READY   EP93XX_GPIO_LINE_F(6)
 
#define EP93XX_GPIO_LINE_VS2   EP93XX_GPIO_LINE_F(7)
 
#define EP93XX_GPIO_LINE_G(x)   ((x) + 48)
 
#define EP93XX_GPIO_LINE_EECLK   EP93XX_GPIO_LINE_G(0)
 
#define EP93XX_GPIO_LINE_EEDAT   EP93XX_GPIO_LINE_G(1)
 
#define EP93XX_GPIO_LINE_SLA0   EP93XX_GPIO_LINE_G(2)
 
#define EP93XX_GPIO_LINE_SLA1   EP93XX_GPIO_LINE_G(3)
 
#define EP93XX_GPIO_LINE_DD12   EP93XX_GPIO_LINE_G(4)
 
#define EP93XX_GPIO_LINE_DD13   EP93XX_GPIO_LINE_G(5)
 
#define EP93XX_GPIO_LINE_DD14   EP93XX_GPIO_LINE_G(6)
 
#define EP93XX_GPIO_LINE_DD15   EP93XX_GPIO_LINE_G(7)
 
#define EP93XX_GPIO_LINE_H(x)   ((x) + 56)
 
#define EP93XX_GPIO_LINE_DD0   EP93XX_GPIO_LINE_H(0)
 
#define EP93XX_GPIO_LINE_DD1   EP93XX_GPIO_LINE_H(1)
 
#define EP93XX_GPIO_LINE_DD2   EP93XX_GPIO_LINE_H(2)
 
#define EP93XX_GPIO_LINE_DD3   EP93XX_GPIO_LINE_H(3)
 
#define EP93XX_GPIO_LINE_DD4   EP93XX_GPIO_LINE_H(4)
 
#define EP93XX_GPIO_LINE_DD5   EP93XX_GPIO_LINE_H(5)
 
#define EP93XX_GPIO_LINE_DD6   EP93XX_GPIO_LINE_H(6)
 
#define EP93XX_GPIO_LINE_DD7   EP93XX_GPIO_LINE_H(7)
 
#define EP93XX_GPIO_LINE_MAX   EP93XX_GPIO_LINE_H(7)
 
#define EP93XX_GPIO_LINE_MAX_IRQ   EP93XX_GPIO_LINE_F(7)
 

Macro Definition Documentation

#define EP93XX_GPIO_A_INT_STATUS   EP93XX_GPIO_REG(0xa0)

Definition at line 12 of file gpio-ep93xx.h.

#define EP93XX_GPIO_B_INT_STATUS   EP93XX_GPIO_REG(0xbc)

Definition at line 13 of file gpio-ep93xx.h.

#define EP93XX_GPIO_BASE   EP93XX_APB_IOMEM(0x00040000)

Definition at line 9 of file gpio-ep93xx.h.

#define EP93XX_GPIO_EEDRIVE   EP93XX_GPIO_REG(0xc8)

Definition at line 14 of file gpio-ep93xx.h.

#define EP93XX_GPIO_F_INT_STATUS   EP93XX_GPIO_REG(0x5c)

Definition at line 11 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_A (   x)    ((x) + 0)

Definition at line 17 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_B (   x)    ((x) + 8)

Definition at line 28 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_C (   x)    ((x) + 40)

Definition at line 39 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_COL0   EP93XX_GPIO_LINE_D(0)

Definition at line 51 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_COL1   EP93XX_GPIO_LINE_D(1)

Definition at line 52 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_COL2   EP93XX_GPIO_LINE_D(2)

Definition at line 53 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_COL3   EP93XX_GPIO_LINE_D(3)

Definition at line 54 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_COL4   EP93XX_GPIO_LINE_D(4)

Definition at line 55 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_COL5   EP93XX_GPIO_LINE_D(5)

Definition at line 56 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_COL6   EP93XX_GPIO_LINE_D(6)

Definition at line 57 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_COL7   EP93XX_GPIO_LINE_D(7)

Definition at line 58 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_D (   x)    ((x) + 24)

Definition at line 50 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_DD0   EP93XX_GPIO_LINE_H(0)

Definition at line 95 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_DD1   EP93XX_GPIO_LINE_H(1)

Definition at line 96 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_DD12   EP93XX_GPIO_LINE_G(4)

Definition at line 88 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_DD13   EP93XX_GPIO_LINE_G(5)

Definition at line 89 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_DD14   EP93XX_GPIO_LINE_G(6)

Definition at line 90 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_DD15   EP93XX_GPIO_LINE_G(7)

Definition at line 91 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_DD2   EP93XX_GPIO_LINE_H(2)

Definition at line 97 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_DD3   EP93XX_GPIO_LINE_H(3)

Definition at line 98 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_DD4   EP93XX_GPIO_LINE_H(4)

Definition at line 99 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_DD5   EP93XX_GPIO_LINE_H(5)

Definition at line 100 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_DD6   EP93XX_GPIO_LINE_H(6)

Definition at line 101 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_DD7   EP93XX_GPIO_LINE_H(7)

Definition at line 102 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_DIORn   EP93XX_GPIO_LINE_E(2)

Definition at line 64 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_E (   x)    ((x) + 32)

Definition at line 61 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EECLK   EP93XX_GPIO_LINE_G(0)

Definition at line 84 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EEDAT   EP93XX_GPIO_LINE_G(1)

Definition at line 85 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO0   EP93XX_GPIO_LINE_A(0)

Definition at line 18 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO1   EP93XX_GPIO_LINE_A(1)

Definition at line 19 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO10   EP93XX_GPIO_LINE_B(2)

Definition at line 31 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO11   EP93XX_GPIO_LINE_B(3)

Definition at line 32 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO12   EP93XX_GPIO_LINE_B(4)

Definition at line 33 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO13   EP93XX_GPIO_LINE_B(5)

Definition at line 34 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO14   EP93XX_GPIO_LINE_B(6)

Definition at line 35 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO15   EP93XX_GPIO_LINE_B(7)

Definition at line 36 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO2   EP93XX_GPIO_LINE_A(2)

Definition at line 20 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO3   EP93XX_GPIO_LINE_A(3)

Definition at line 21 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO4   EP93XX_GPIO_LINE_A(4)

Definition at line 22 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO5   EP93XX_GPIO_LINE_A(5)

Definition at line 23 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO6   EP93XX_GPIO_LINE_A(6)

Definition at line 24 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO7   EP93XX_GPIO_LINE_A(7)

Definition at line 25 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO8   EP93XX_GPIO_LINE_B(0)

Definition at line 29 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_EGPIO9   EP93XX_GPIO_LINE_B(1)

Definition at line 30 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_F (   x)    ((x) + 16)

Definition at line 72 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_G (   x)    ((x) + 48)

Definition at line 83 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_GRLED   EP93XX_GPIO_LINE_E(0)

Definition at line 62 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_H (   x)    ((x) + 56)

Definition at line 94 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_IDECS1n   EP93XX_GPIO_LINE_E(3)

Definition at line 65 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_IDECS2n   EP93XX_GPIO_LINE_E(4)

Definition at line 66 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_IDEDA0   EP93XX_GPIO_LINE_E(5)

Definition at line 67 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_IDEDA1   EP93XX_GPIO_LINE_E(6)

Definition at line 68 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_IDEDA2   EP93XX_GPIO_LINE_E(7)

Definition at line 69 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_MAX   EP93XX_GPIO_LINE_H(7)

Definition at line 105 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_MAX_IRQ   EP93XX_GPIO_LINE_F(7)

Definition at line 108 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_MCBVD1   EP93XX_GPIO_LINE_F(3)

Definition at line 76 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_MCBVD2   EP93XX_GPIO_LINE_F(4)

Definition at line 77 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_MCCD1   EP93XX_GPIO_LINE_F(1)

Definition at line 74 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_MCCD2   EP93XX_GPIO_LINE_F(2)

Definition at line 75 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_RDLED   EP93XX_GPIO_LINE_E(1)

Definition at line 63 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_READY   EP93XX_GPIO_LINE_F(6)

Definition at line 79 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_ROW0   EP93XX_GPIO_LINE_C(0)

Definition at line 40 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_ROW1   EP93XX_GPIO_LINE_C(1)

Definition at line 41 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_ROW2   EP93XX_GPIO_LINE_C(2)

Definition at line 42 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_ROW3   EP93XX_GPIO_LINE_C(3)

Definition at line 43 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_ROW4   EP93XX_GPIO_LINE_C(4)

Definition at line 44 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_ROW5   EP93XX_GPIO_LINE_C(5)

Definition at line 45 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_ROW6   EP93XX_GPIO_LINE_C(6)

Definition at line 46 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_ROW7   EP93XX_GPIO_LINE_C(7)

Definition at line 47 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_SLA0   EP93XX_GPIO_LINE_G(2)

Definition at line 86 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_SLA1   EP93XX_GPIO_LINE_G(3)

Definition at line 87 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_VS1   EP93XX_GPIO_LINE_F(5)

Definition at line 78 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_VS2   EP93XX_GPIO_LINE_F(7)

Definition at line 80 of file gpio-ep93xx.h.

#define EP93XX_GPIO_LINE_WP   EP93XX_GPIO_LINE_F(0)

Definition at line 73 of file gpio-ep93xx.h.

#define EP93XX_GPIO_PHYS_BASE   EP93XX_APB_PHYS(0x00040000)

Definition at line 8 of file gpio-ep93xx.h.

#define EP93XX_GPIO_REG (   x)    (EP93XX_GPIO_BASE + (x))

Definition at line 10 of file gpio-ep93xx.h.