Home
last modified time | relevance | path

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

/drivers/power/supply/
Dmax8903_charger.c29 struct gpio_desc *uok; /* USB Power OK output */ member
153 usb_in = gpiod_get_value(data->uok); in max8903_usbin()
247 data->uok = devm_gpiod_get_optional(dev, "uok", GPIOD_IN); in max8903_setup_gpios()
248 if (IS_ERR(data->uok)) in max8903_setup_gpios()
249 return dev_err_probe(dev, PTR_ERR(data->uok), in max8903_setup_gpios()
251 if (data->uok) { in max8903_setup_gpios()
252 gpiod_set_consumer_name(data->uok, data->psy_desc.name); in max8903_setup_gpios()
259 usb_in = gpiod_get_value(data->uok); in max8903_setup_gpios()
263 if (!data->dok && !data->uok) { in max8903_setup_gpios()
374 if (data->uok) { in max8903_probe()
[all …]