Home
last modified time | relevance | path

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

/drivers/pinctrl/
Dpinctrl-at91.c48 static int gpio_banks; variable
771 if (pin->bank >= gpio_banks) { in pin_check_config()
773 name, index, pin->bank, gpio_banks); in pin_check_config()
1154 if (!size || size % gpio_banks) { in at91_pinctrl_mux_mask()
1155 dev_err(info->dev, "wrong mux mask array should be by %d\n", gpio_banks); in at91_pinctrl_mux_mask()
1158 info->nmux = size / gpio_banks; in at91_pinctrl_mux_mask()
1286 if (gpio_banks < 1) { in at91_pinctrl_probe_dt()
1299 for (i = 0; i < gpio_banks; i++) { in at91_pinctrl_probe_dt()
1321 dev_dbg(&pdev->dev, "nbanks = %d\n", gpio_banks); in at91_pinctrl_probe_dt()
1360 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()
1096 .gpio_banks = oxnas_gpio_banks,
1115 .gpio_banks = oxnas_gpio_banks,
1180 pctl->gpio_banks = data->pctl->gpio_banks; in oxnas_pinctrl_probe()
Dpinctrl-pistachio.c112 struct pistachio_gpio_bank *gpio_banks; member
1380 bank = &pctl->gpio_banks[i]; in pistachio_gpio_register()
1418 bank = &pctl->gpio_banks[i - 1]; in pistachio_gpio_register()
1451 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()
2181 pctl->gpio_banks = pic32_gpio_banks; in pic32_pinctrl_probe()