Home
last modified time | relevance | path

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

/openbmc/linux/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))
656 gpio_base += MAX_GPIO_PER_BANK; in brcmstb_gpio_probe()
668 if (bank_width <= 0 || bank_width > MAX_GPIO_PER_BANK) { in brcmstb_gpio_probe()
700 gc->ngpio = MAX_GPIO_PER_BANK; in brcmstb_gpio_probe()
701 gc->offset = bank->id * MAX_GPIO_PER_BANK; in brcmstb_gpio_probe()