Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-at91.c1830 int alias_idx = of_alias_get_id(np, "gpio"); in at91_gpio_probe() local
1834 BUG_ON(alias_idx >= ARRAY_SIZE(gpio_chips)); in at91_gpio_probe()
1835 if (gpio_chips[alias_idx]) in at91_gpio_probe()
1836 return dev_err_probe(dev, -EBUSY, "%d slot is occupied.\n", alias_idx); in at91_gpio_probe()
1858 at91_chip->id = alias_idx; in at91_gpio_probe()
1864 chip->base = alias_idx * MAX_NB_GPIO_PER_BANK; in at91_gpio_probe()
1869 alias_idx, MAX_NB_GPIO_PER_BANK, MAX_NB_GPIO_PER_BANK); in at91_gpio_probe()
1879 strreplace(names[i], '-', alias_idx + 'A'); in at91_gpio_probe()
1885 range->id = alias_idx; in at91_gpio_probe()
1899 gpio_chips[alias_idx] = at91_chip; in at91_gpio_probe()
[all …]