Lines Matching refs:TWL4030_GPIO_MAX
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()
392 if (offset < TWL4030_GPIO_MAX) { in twl_get_direction()
408 return (priv->irq_base && (offset < TWL4030_GPIO_MAX)) in twl_to_irq()
521 0, TWL4030_GPIO_MAX, 0); in gpio_twl4030_probe()
527 irq_domain_create_legacy(dev_fwnode(&pdev->dev), TWL4030_GPIO_MAX, irq_base, 0, in gpio_twl4030_probe()
539 priv->gpio_chip.ngpio = TWL4030_GPIO_MAX; in gpio_twl4030_probe()