Searched refs:ADP5588_BANK (Results 1 – 3 of 3) sorted by relevance
72 GPIO_DAT_STAT1 + ADP5588_BANK(off)) & ADP5588_BIT(off)); in adp5588_gpio_get_value()82 bank = ADP5588_BANK(off); in adp5588_gpio_set_value()103 bank = ADP5588_BANK(off); in adp5588_gpio_direction_input()121 bank = ADP5588_BANK(off); in adp5588_gpio_direction_output()169 for (i = 0; i <= ADP5588_BANK(ADP5588_MAXGPIO); i++) in adp5588_irq_bus_sync_unlock()184 dev->irq_mask[ADP5588_BANK(gpio)] &= ~ADP5588_BIT(gpio); in adp5588_irq_mask()192 dev->irq_mask[ADP5588_BANK(gpio)] |= ADP5588_BIT(gpio); in adp5588_irq_unmask()207 bank = ADP5588_BANK(gpio); in adp5588_irq_set_type()255 for (bank = 0, bit = 0; bank <= ADP5588_BANK(ADP5588_MAXGPIO); in adp5588_irq_handler()396 for (i = 0, ret = 0; i <= ADP5588_BANK(ADP5588_MAXGPIO); i++) { in adp5588_gpio_probe()
78 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_get_value()88 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_set_value()107 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_direction_input()125 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_direction_output()209 for (i = 0; i <= ADP5588_BANK(ADP5588_MAXGPIO); i++) { in adp5588_gpio_add()359 for (i = 0; i <= ADP5588_BANK(ADP5588_MAXGPIO); i++) { in adp5588_setup()
101 #define ADP5588_BANK(offs) ((offs) >> 3) macro