Lines Matching refs:HTCPLD_BASE
133 #define HTCPLD_BASE(chip, offset) \ macro
136 #define HTCPLD_GPIO_LED_DPAD HTCPLD_BASE(0, 0)
137 #define HTCPLD_GPIO_LED_KBD HTCPLD_BASE(1, 0)
138 #define HTCPLD_GPIO_LED_CAPS HTCPLD_BASE(1, 5)
139 #define HTCPLD_GPIO_LED_RED_FLASH HTCPLD_BASE(2, 1)
140 #define HTCPLD_GPIO_LED_RED_SOLID HTCPLD_BASE(2, 2)
141 #define HTCPLD_GPIO_LED_GREEN_FLASH HTCPLD_BASE(2, 3)
142 #define HTCPLD_GPIO_LED_GREEN_SOLID HTCPLD_BASE(2, 4)
143 #define HTCPLD_GPIO_LED_WIFI HTCPLD_BASE(2, 5)
144 #define HTCPLD_GPIO_LED_BT HTCPLD_BASE(2, 6)
145 #define HTCPLD_GPIO_LED_VIBRATE HTCPLD_BASE(3, 3)
146 #define HTCPLD_GPIO_LED_ALT HTCPLD_BASE(3, 4)
148 #define HTCPLD_GPIO_RIGHT_KBD HTCPLD_BASE(6, 7)
149 #define HTCPLD_GPIO_UP_KBD HTCPLD_BASE(6, 6)
150 #define HTCPLD_GPIO_LEFT_KBD HTCPLD_BASE(6, 5)
151 #define HTCPLD_GPIO_DOWN_KBD HTCPLD_BASE(6, 4)
153 #define HTCPLD_GPIO_RIGHT_DPAD HTCPLD_BASE(7, 7)
154 #define HTCPLD_GPIO_UP_DPAD HTCPLD_BASE(7, 6)
155 #define HTCPLD_GPIO_LEFT_DPAD HTCPLD_BASE(7, 5)
156 #define HTCPLD_GPIO_DOWN_DPAD HTCPLD_BASE(7, 4)
157 #define HTCPLD_GPIO_ENTER_DPAD HTCPLD_BASE(7, 3)
163 #define HTCPLD_GPIO_INT_RESET_HI HTCPLD_BASE(2, 7)
164 #define HTCPLD_GPIO_INT_RESET_LO HTCPLD_BASE(2, 0)
335 .gpio_out_base = HTCPLD_BASE(0, 0),
336 .gpio_in_base = HTCPLD_BASE(4, 0),
342 .gpio_out_base = HTCPLD_BASE(1, 0),
343 .gpio_in_base = HTCPLD_BASE(5, 0),
349 .gpio_out_base = HTCPLD_BASE(2, 0),
350 .gpio_in_base = HTCPLD_BASE(6, 0),
358 .gpio_out_base = HTCPLD_BASE(3, 0),
359 .gpio_in_base = HTCPLD_BASE(7, 0),