Searched refs:gpiop (Results 1 – 2 of 2) sorted by relevance
75 struct gpio_desc **gpiop) in fbtft_request_one_gpio() argument79 *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()
322 struct device_node *gpiop; in find_via_pmu() local335 gpiop = of_find_node_by_name(NULL, "gpio"); in find_via_pmu()336 if (gpiop) { in find_via_pmu()337 if (!of_address_to_resource(gpiop, 0, &res)) in find_via_pmu()339 of_node_put(gpiop); in find_via_pmu()