Home
last modified time | relevance | path

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

/linux-5.19.10/sound/ppc/
Dtumbler.c1056 struct device_node *gpiop; in find_audio_device() local
1059 gpiop = of_find_node_by_name(NULL, "gpio"); in find_audio_device()
1060 if (! gpiop) in find_audio_device()
1063 for (np = of_get_next_child(gpiop, NULL); np; in find_audio_device()
1064 np = of_get_next_child(gpiop, np)) { in find_audio_device()
1069 of_node_put(gpiop); in find_audio_device()
1076 struct device_node *gpiop; in find_compatible_audio_device() local
1079 gpiop = of_find_node_by_name(NULL, "gpio"); in find_compatible_audio_device()
1080 if (!gpiop) in find_compatible_audio_device()
1083 for (np = of_get_next_child(gpiop, NULL); np; in find_compatible_audio_device()
[all …]
/linux-5.19.10/drivers/macintosh/
Dvia-pmu.c323 struct device_node *gpiop; in find_via_pmu() local
337 gpiop = of_find_node_by_name(NULL, "gpio"); in find_via_pmu()
338 if (gpiop) { in find_via_pmu()
339 reg = of_get_property(gpiop, "reg", NULL); in find_via_pmu()
341 gaddr = of_translate_address(gpiop, reg); in find_via_pmu()
344 of_node_put(gpiop); in find_via_pmu()
/linux-5.19.10/drivers/staging/fbtft/
Dfbtft-core.c75 struct gpio_desc **gpiop) in fbtft_request_one_gpio() argument
79 *gpiop = devm_gpiod_get_index_optional(dev, name, index, in fbtft_request_one_gpio()
81 if (IS_ERR(*gpiop)) in fbtft_request_one_gpio()
82 return dev_err_probe(dev, PTR_ERR(*gpiop), "Failed to request %s GPIO\n", name); in fbtft_request_one_gpio()