Home
last modified time | relevance | path

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

/drivers/pinctrl/
Dpinctrl-at91.c1821 int alias_idx = of_alias_get_id(np, "gpio"); in at91_gpio_probe() local
1825 BUG_ON(alias_idx >= ARRAY_SIZE(gpio_chips)); in at91_gpio_probe()
1826 if (gpio_chips[alias_idx]) { in at91_gpio_probe()
1853 at91_chip->pioc_idx = alias_idx; in at91_gpio_probe()
1875 chip->base = alias_idx * MAX_NB_GPIO_PER_BANK; in at91_gpio_probe()
1880 alias_idx, MAX_NB_GPIO_PER_BANK, MAX_NB_GPIO_PER_BANK); in at91_gpio_probe()
1894 names[i] = kasprintf(GFP_KERNEL, "pio%c%d", alias_idx + 'A', i); in at91_gpio_probe()
1900 range->id = alias_idx; in at91_gpio_probe()
1910 gpio_chips[alias_idx] = at91_chip; in at91_gpio_probe()
1911 gpio_banks = max(gpio_banks, alias_idx + 1); in at91_gpio_probe()
[all …]