Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpio/
Dgpiolib-of.c926 struct of_phandle_args pinspec; in of_gpiochip_add_pin_range() local
940 index, &pinspec); in of_gpiochip_add_pin_range()
944 pctldev = of_pinctrl_get(pinspec.np); in of_gpiochip_add_pin_range()
945 of_node_put(pinspec.np); in of_gpiochip_add_pin_range()
949 if (pinspec.args[2]) { in of_gpiochip_add_pin_range()
963 pinspec.args[0], in of_gpiochip_add_pin_range()
964 pinspec.args[1], in of_gpiochip_add_pin_range()
965 pinspec.args[2]); in of_gpiochip_add_pin_range()
970 if (pinspec.args[1]) { in of_gpiochip_add_pin_range()
995 pinspec.args[0], name); in of_gpiochip_add_pin_range()
/Linux-v5.15/drivers/pinctrl/
Dpinctrl-oxnas.c1198 struct of_phandle_args pinspec; in oxnas_gpio_probe() local
1205 3, 0, &pinspec)) { in oxnas_gpio_probe()
1210 id = pinspec.args[1] / PINS_PER_BANK; in oxnas_gpio_probe()
1211 ngpios = pinspec.args[2]; in oxnas_gpio_probe()
/Linux-v5.15/drivers/pinctrl/nuvoton/
Dpinctrl-npcm7xx.c1868 struct of_phandle_args pinspec; in npcm7xx_gpio_of() local
1908 0, &pinspec); in npcm7xx_gpio_of()
1921 pctrl->gpio_bank[id].pinctrl_id = pinspec.args[0]; in npcm7xx_gpio_of()
1922 pctrl->gpio_bank[id].gc.base = pinspec.args[1]; in npcm7xx_gpio_of()
1923 pctrl->gpio_bank[id].gc.ngpio = pinspec.args[2]; in npcm7xx_gpio_of()