Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpio/
Dgpio-brcmstb.c57 #define MAX_GPIO_PER_BANK 32 macro
60 #define GPIO_BIT(gpio) ((gpio) & (MAX_GPIO_PER_BANK - 1))
649 num_gpios += MAX_GPIO_PER_BANK; in brcmstb_gpio_probe()
661 if (bank_width <= 0 || bank_width > MAX_GPIO_PER_BANK) { in brcmstb_gpio_probe()
692 gc->ngpio = MAX_GPIO_PER_BANK; in brcmstb_gpio_probe()
693 gc->offset = bank->id * MAX_GPIO_PER_BANK; in brcmstb_gpio_probe()