Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pinctrl/
Dpinctrl-at91.c67 static int gpio_banks; variable
793 if (pin->bank >= gpio_banks) { in pin_check_config()
795 name, index, pin->bank, gpio_banks); in pin_check_config()
1176 if (!size || size % gpio_banks) { in at91_pinctrl_mux_mask()
1177 dev_err(info->dev, "wrong mux mask array should be by %d\n", gpio_banks); in at91_pinctrl_mux_mask()
1180 info->nmux = size / gpio_banks; in at91_pinctrl_mux_mask()
1308 if (gpio_banks < 1) { in at91_pinctrl_probe_dt()
1321 for (i = 0; i < gpio_banks; i++) { in at91_pinctrl_probe_dt()
1343 dev_dbg(&pdev->dev, "nbanks = %d\n", gpio_banks); in at91_pinctrl_probe_dt()
1382 for (i = 0; i < gpio_banks; i++) in at91_pinctrl_probe()
[all …]
Dpinctrl-oxnas.c95 struct oxnas_gpio_bank *gpio_banks; member
520 return &pctl->gpio_banks[pin / PINS_PER_BANK]; in pctl_to_bank()
1099 .gpio_banks = oxnas_gpio_banks,
1118 .gpio_banks = oxnas_gpio_banks,
1183 pctl->gpio_banks = data->pctl->gpio_banks; in oxnas_pinctrl_probe()
Dpinctrl-pistachio.c112 struct pistachio_gpio_bank *gpio_banks; member
1389 bank = &pctl->gpio_banks[i]; in pistachio_gpio_register()
1432 bank = &pctl->gpio_banks[i - 1]; in pistachio_gpio_register()
1463 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()
2184 pctl->gpio_banks = pic32_gpio_banks; in pic32_pinctrl_probe()