Lines Matching refs:gpio_chips
48 static struct at91_gpio_chip *gpio_chips[MAX_GPIO_BANKS]; variable
346 if (!gpio_chips[bank]) in pin_to_controller()
349 return gpio_chips[bank]->regbase; in pin_to_controller()
782 if (!gpio_chips[pin->bank]) { in pin_check_config()
1366 if (gpio_chips[i]) in at91_pinctrl_probe()
1406 if (gpio_chips[i]) in at91_pinctrl_probe()
1407 pinctrl_add_gpio_range(info->pctl, &gpio_chips[i]->range); in at91_pinctrl_probe()
1649 if (!gpio_chips[i]) in at91_pinctrl_gpio_suspend()
1652 pio = gpio_chips[i]->regbase; in at91_pinctrl_gpio_suspend()
1659 clk_disable_unprepare(gpio_chips[i]->clock); in at91_pinctrl_gpio_suspend()
1673 if (!gpio_chips[i]) in at91_pinctrl_gpio_resume()
1676 pio = gpio_chips[i]->regbase; in at91_pinctrl_gpio_resume()
1679 clk_prepare_enable(gpio_chips[i]->clock); in at91_pinctrl_gpio_resume()
1826 BUG_ON(alias_idx >= ARRAY_SIZE(gpio_chips)); in at91_gpio_probe()
1827 if (gpio_chips[alias_idx]) { in at91_gpio_probe()
1913 gpio_chips[alias_idx] = at91_chip; in at91_gpio_probe()