Searched refs:MAX_GPIO_PER_BANK (Results 1 – 1 of 1) sorted by relevance
57 #define MAX_GPIO_PER_BANK 32 macro60 #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()