Home
last modified time | relevance | path

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

/linux-6.1.9/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_each_child_of_node(gpiop, np) { in find_audio_device()
1068 of_node_put(gpiop); in find_audio_device()
1075 struct device_node *gpiop; in find_compatible_audio_device() local
1078 gpiop = of_find_node_by_name(NULL, "gpio"); in find_compatible_audio_device()
1079 if (!gpiop) in find_compatible_audio_device()
1082 for_each_child_of_node(gpiop, np) { in find_compatible_audio_device()
1086 of_node_put(gpiop); in find_compatible_audio_device()
/linux-6.1.9/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-6.1.9/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()