Home
last modified time | relevance | path

Searched refs:NGPIOS_PER_BANK (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/pinctrl/bcm/
H A Dpinctrl-iproc-gpio.c60 #define NGPIOS_PER_BANK 32 macro
61 #define GPIO_BANK(pin) ((pin) / NGPIOS_PER_BANK)
64 #define IPROC_GPIO_SHIFT(pin) ((pin) % NGPIOS_PER_BANK)
179 for_each_set_bit(bit, &val, NGPIOS_PER_BANK) { in iproc_gpio_irq_handler()
180 unsigned pin = NGPIOS_PER_BANK * i + bit; in iproc_gpio_irq_handler()
858 chip->num_banks = (ngpios + NGPIOS_PER_BANK - 1) / NGPIOS_PER_BANK; in iproc_gpio_probe()