Searched refs:ADP5588_BANK (Results 1 – 1 of 1) sorted by relevance
120 #define ADP5588_BANK(offs) ((offs) >> 3) macro220 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_get_value()240 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_set_value()259 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_set_config()293 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_direction_input()311 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_direction_output()372 for (i = 0; i <= ADP5588_BANK(ADP5588_MAXGPIO); i++) { in adp5588_irq_bus_sync_unlock()389 kpad->irq_mask[ADP5588_BANK(real_irq)] &= ~ADP5588_BIT(real_irq); in adp5588_irq_mask()401 kpad->irq_mask[ADP5588_BANK(real_irq)] |= ADP5588_BIT(real_irq); in adp5588_irq_unmask()462 for (i = 0; i <= ADP5588_BANK(ADP5588_MAXGPIO); i++) { in adp5588_gpio_add()