Searched refs:alias_idx (Results 1 – 1 of 1) sorted by relevance
1814 int alias_idx = of_alias_get_id(np, "gpio"); in at91_gpio_probe() local1818 BUG_ON(alias_idx >= ARRAY_SIZE(gpio_chips)); in at91_gpio_probe()1819 if (gpio_chips[alias_idx]) { in at91_gpio_probe()1845 at91_chip->pioc_idx = alias_idx; in at91_gpio_probe()1861 at91_chip->id = alias_idx; in at91_gpio_probe()1867 chip->base = alias_idx * MAX_NB_GPIO_PER_BANK; in at91_gpio_probe()1872 alias_idx, MAX_NB_GPIO_PER_BANK, MAX_NB_GPIO_PER_BANK); in at91_gpio_probe()1886 names[i] = kasprintf(GFP_KERNEL, "pio%c%d", alias_idx + 'A', i); in at91_gpio_probe()1892 range->id = alias_idx; in at91_gpio_probe()1906 gpio_chips[alias_idx] = at91_chip; in at91_gpio_probe()[all …]