Home
last modified time | relevance | path

Searched refs:gpio_np (Results 1 – 2 of 2) sorted by relevance

/drivers/pinctrl/meson/
Dpinctrl-meson.c668 struct device_node *np, *gpio_np = NULL; in meson_pinctrl_parse_dt() local
673 if (gpio_np) { in meson_pinctrl_parse_dt()
678 gpio_np = np; in meson_pinctrl_parse_dt()
681 if (!gpio_np) { in meson_pinctrl_parse_dt()
686 pc->of_node = gpio_np; in meson_pinctrl_parse_dt()
688 pc->reg_mux = meson_map_resource(pc, gpio_np, "mux"); in meson_pinctrl_parse_dt()
694 pc->reg_gpio = meson_map_resource(pc, gpio_np, "gpio"); in meson_pinctrl_parse_dt()
700 pc->reg_pull = meson_map_resource(pc, gpio_np, "pull"); in meson_pinctrl_parse_dt()
704 pc->reg_pullen = meson_map_resource(pc, gpio_np, "pull-enable"); in meson_pinctrl_parse_dt()
708 pc->reg_ds = meson_map_resource(pc, gpio_np, "ds"); in meson_pinctrl_parse_dt()
/drivers/pinctrl/nomadik/
Dpinctrl-nomadik.c1870 struct device_node *gpio_np; in nmk_pinctrl_probe() local
1873 gpio_np = of_parse_phandle(np, "nomadik-gpio-chips", i); in nmk_pinctrl_probe()
1874 if (gpio_np) { in nmk_pinctrl_probe()
1877 i, gpio_np); in nmk_pinctrl_probe()
1878 nmk_chip = nmk_gpio_populate_chip(gpio_np, pdev); in nmk_pinctrl_probe()
1883 of_node_put(gpio_np); in nmk_pinctrl_probe()