Lines Matching defs:HTCPLD_BASE
118 #define HTCPLD_BASE(chip, offset) \
121 #define HTCPLD_GPIO_LED_DPAD HTCPLD_BASE(0, 0)
122 #define HTCPLD_GPIO_LED_KBD HTCPLD_BASE(1, 0)
123 #define HTCPLD_GPIO_LED_CAPS HTCPLD_BASE(1, 5)
124 #define HTCPLD_GPIO_LED_RED_FLASH HTCPLD_BASE(2, 1)
125 #define HTCPLD_GPIO_LED_RED_SOLID HTCPLD_BASE(2, 2)
126 #define HTCPLD_GPIO_LED_GREEN_FLASH HTCPLD_BASE(2, 3)
127 #define HTCPLD_GPIO_LED_GREEN_SOLID HTCPLD_BASE(2, 4)
128 #define HTCPLD_GPIO_LED_WIFI HTCPLD_BASE(2, 5)
129 #define HTCPLD_GPIO_LED_BT HTCPLD_BASE(2, 6)
130 #define HTCPLD_GPIO_LED_VIBRATE HTCPLD_BASE(3, 3)
131 #define HTCPLD_GPIO_LED_ALT HTCPLD_BASE(3, 4)
133 #define HTCPLD_GPIO_RIGHT_KBD HTCPLD_BASE(6, 7)
134 #define HTCPLD_GPIO_UP_KBD HTCPLD_BASE(6, 6)
135 #define HTCPLD_GPIO_LEFT_KBD HTCPLD_BASE(6, 5)
136 #define HTCPLD_GPIO_DOWN_KBD HTCPLD_BASE(6, 4)
138 #define HTCPLD_GPIO_RIGHT_DPAD HTCPLD_BASE(7, 7)
139 #define HTCPLD_GPIO_UP_DPAD HTCPLD_BASE(7, 6)
140 #define HTCPLD_GPIO_LEFT_DPAD HTCPLD_BASE(7, 5)
141 #define HTCPLD_GPIO_DOWN_DPAD HTCPLD_BASE(7, 4)
142 #define HTCPLD_GPIO_ENTER_DPAD HTCPLD_BASE(7, 3)
148 #define HTCPLD_GPIO_INT_RESET_HI HTCPLD_BASE(2, 7)
149 #define HTCPLD_GPIO_INT_RESET_LO HTCPLD_BASE(2, 0)
320 .gpio_out_base = HTCPLD_BASE(0, 0),
321 .gpio_in_base = HTCPLD_BASE(4, 0),
327 .gpio_out_base = HTCPLD_BASE(1, 0),
328 .gpio_in_base = HTCPLD_BASE(5, 0),
334 .gpio_out_base = HTCPLD_BASE(2, 0),
335 .gpio_in_base = HTCPLD_BASE(6, 0),
343 .gpio_out_base = HTCPLD_BASE(3, 0),
344 .gpio_in_base = HTCPLD_BASE(7, 0),