Lines Matching refs:gpio_banks
78 static int gpio_banks; variable
91 if (likely(pin < gpio_banks)) in pin_to_controller()
449 for (i = 0; i < gpio_banks; i++) { in at91_gpio_suspend()
471 for (i = 0; i < gpio_banks; i++) { in at91_gpio_resume()
658 for (bank = 0; bank < gpio_banks; bank++) { in at91_gpio_show()
667 for (bank = 0; bank < gpio_banks; bank++) { in at91_gpio_show()
824 pioc++ < gpio_banks; in at91_gpio_irq_setup()
860 pr_info("AT91: %d gpio irqs in %d banks\n", gpio_irqnbr, gpio_banks); in at91_gpio_irq_setup()
1019 gpio_banks = max(gpio_banks, alias_idx + 1); in of_at91_gpio_init_one()
1038 return gpio_banks > 0 ? 0 : -EINVAL; in of_at91_gpio_init()
1064 gpio_banks = max(gpio_banks, idx + 1); in at91_gpio_init_one()
1087 for (i = 0; i < gpio_banks; i++) { in at91_gpio_init()