Searched refs:TWL4030_GPIO_MAX (Results 1 – 3 of 3) sorted by relevance
215 if (offset >= TWL4030_GPIO_MAX) { in twl_request() 220 offset -= TWL4030_GPIO_MAX; in twl_request() 280 if (offset >= TWL4030_GPIO_MAX) { in twl_free() 281 WARN_ON_ONCE(twl4030_led_set_value(offset - TWL4030_GPIO_MAX, 1)); in twl_free() 301 if (offset < TWL4030_GPIO_MAX) in twl_direction_in() 343 if (offset < TWL4030_GPIO_MAX) in twl_set() 346 ret = twl4030_led_set_value(offset - TWL4030_GPIO_MAX, value); in twl_set() 364 if (offset < TWL4030_GPIO_MAX) { in twl_direction_out() 373 * LED gpios i.e. offset >= TWL4030_GPIO_MAX are always output in twl_direction_out() 387 * LED GPIOs >= TWL4030_GPIO_MAX ar in twl_get_direction() [all...]
115 .bits = TWL4030_GPIO_MAX,175 .bits = TWL4030_GPIO_MAX,
275 #define TWL4030_GPIO_MAX 18 macro 558 /* TWL4030_GPIO_MAX (18) GPIOs, with interrupts */