Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpio/
Dgpio-brcmstb.c68 #define MAX_GPIO_PER_BANK 32 macro
71 #define GPIO_BIT(gpio) ((gpio) & (MAX_GPIO_PER_BANK - 1))
673 gpio_base += MAX_GPIO_PER_BANK; in brcmstb_gpio_probe()
685 if (bank_width <= 0 || bank_width > MAX_GPIO_PER_BANK) { in brcmstb_gpio_probe()
718 gc->ngpio = MAX_GPIO_PER_BANK; in brcmstb_gpio_probe()