Searched refs:gpio_chips (Results 1 – 2 of 2) sorted by relevance
66 static struct at91_gpio_chip *gpio_chips[MAX_GPIO_BANKS]; variable364 if (!gpio_chips[bank]) in pin_to_controller()367 return gpio_chips[bank]->regbase; in pin_to_controller()800 if (!gpio_chips[pin->bank]) { in pin_check_config()1315 if (gpio_chips[i]) in at91_pinctrl_probe_dt()1413 if (gpio_chips[i]) in at91_pinctrl_probe()1414 pinctrl_add_gpio_range(info->pctl, &gpio_chips[i]->range); in at91_pinctrl_probe()1832 BUG_ON(alias_idx >= ARRAY_SIZE(gpio_chips)); in at91_gpio_probe()1833 if (gpio_chips[alias_idx]) in at91_gpio_probe()1897 gpio_chips[alias_idx] = at91_chip; in at91_gpio_probe()
1235 struct gpio_chip *gpio_chips; in rza1_gpio_register() local1247 gpio_chips = devm_kcalloc(rza1_pctl->dev, ngpiochips, in rza1_gpio_register()1248 sizeof(*gpio_chips), GFP_KERNEL); in rza1_gpio_register()1251 if (!gpio_chips || !gpio_ranges) in rza1_gpio_register()1256 ret = rza1_parse_gpiochip(rza1_pctl, child, &gpio_chips[i], in rza1_gpio_register()