Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pinctrl/
Dpinctrl-at91.c68 static int gpio_banks; variable
794 if (pin->bank >= gpio_banks) { in pin_check_config()
796 name, index, pin->bank, gpio_banks); in pin_check_config()
1177 if (!size || size % gpio_banks) { in at91_pinctrl_mux_mask()
1178 dev_err(info->dev, "wrong mux mask array should be by %d\n", gpio_banks); in at91_pinctrl_mux_mask()
1181 info->nmux = size / gpio_banks; in at91_pinctrl_mux_mask()
1329 for (i = 0; i < gpio_banks; i++) { in at91_pinctrl_probe_dt()
1347 dev_dbg(dev, "nbanks = %d\n", gpio_banks); in at91_pinctrl_probe_dt()
1382 at91_pinctrl_desc.npins = gpio_banks * MAX_NB_GPIO_PER_BANK; in at91_pinctrl_probe()
1388 for (i = 0, k = 0; i < gpio_banks; i++) { in at91_pinctrl_probe()
[all …]
Dpinctrl-pistachio.c113 struct pistachio_gpio_bank *gpio_banks; member
1404 bank = &pctl->gpio_banks[i]; in pistachio_gpio_register()
1447 bank = &pctl->gpio_banks[i - 1]; in pistachio_gpio_register()
1478 pctl->gpio_banks = pistachio_gpio_banks; in pistachio_pinctrl_probe()
Dpinctrl-pic32.c78 struct pic32_gpio_bank *gpio_banks; member
1702 return &pctl->gpio_banks[pin / PINS_PER_BANK]; in pctl_to_bank()
2195 pctl->gpio_banks = pic32_gpio_banks; in pic32_pinctrl_probe()