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

/linux-4.1.27/drivers/pinctrl/bcm/
H A Dpinctrl-cygnus-gpio.c58 #define NGPIOS_PER_BANK 32 macro
59 #define GPIO_BANK(pin) ((pin) / NGPIOS_PER_BANK)
62 #define CYGNUS_GPIO_SHIFT(pin) ((pin) % NGPIOS_PER_BANK)
160 for_each_set_bit(bit, &val, NGPIOS_PER_BANK) { cygnus_gpio_irq_handler()
161 unsigned pin = NGPIOS_PER_BANK * i + bit; cygnus_gpio_irq_handler()
843 chip->num_banks = (ngpios + NGPIOS_PER_BANK - 1) / NGPIOS_PER_BANK; cygnus_gpio_probe()

Completed in 83 milliseconds