Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpio/
H A Dgpio-brcmstb.c58 #define MAX_GPIO_PER_BANK 32 macro
61 #define GPIO_BIT(gpio) ((gpio) & (MAX_GPIO_PER_BANK - 1))
650 num_gpios += MAX_GPIO_PER_BANK; in brcmstb_gpio_probe()
662 if (bank_width <= 0 || bank_width > MAX_GPIO_PER_BANK) { in brcmstb_gpio_probe()
693 gc->ngpio = MAX_GPIO_PER_BANK; in brcmstb_gpio_probe()
694 gc->offset = bank->id * MAX_GPIO_PER_BANK; in brcmstb_gpio_probe()