Searched refs:NGPIOS_PER_BANK (Results 1 – 1 of 1) sorted by relevance
57 #define NGPIOS_PER_BANK 32 macro58 #define GPIO_BANK(pin) ((pin) / NGPIOS_PER_BANK)61 #define IPROC_GPIO_SHIFT(pin) ((pin) % NGPIOS_PER_BANK)177 for_each_set_bit(bit, &val, NGPIOS_PER_BANK) { in iproc_gpio_irq_handler()178 unsigned pin = NGPIOS_PER_BANK * i + bit; in iproc_gpio_irq_handler()836 chip->num_banks = (ngpios + NGPIOS_PER_BANK - 1) / NGPIOS_PER_BANK; in iproc_gpio_probe()