Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pinctrl/
Dpinctrl-at91.c1828 int alias_idx = of_alias_get_id(np, "gpio"); in at91_gpio_probe() local
1832 BUG_ON(alias_idx >= ARRAY_SIZE(gpio_chips)); in at91_gpio_probe()
1833 if (gpio_chips[alias_idx]) in at91_gpio_probe()
1834 return dev_err_probe(dev, -EBUSY, "%d slot is occupied.\n", alias_idx); in at91_gpio_probe()
1856 at91_chip->id = alias_idx; in at91_gpio_probe()
1862 chip->base = alias_idx * MAX_NB_GPIO_PER_BANK; in at91_gpio_probe()
1867 alias_idx, MAX_NB_GPIO_PER_BANK, MAX_NB_GPIO_PER_BANK); in at91_gpio_probe()
1877 strreplace(names[i], '-', alias_idx + 'A'); in at91_gpio_probe()
1883 range->id = alias_idx; in at91_gpio_probe()
1897 gpio_chips[alias_idx] = at91_chip; in at91_gpio_probe()
[all …]