Lines Matching refs:uok
29 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()
375 ret = devm_request_threaded_irq(dev, gpiod_to_irq(data->uok), in max8903_probe()
382 gpiod_to_irq(data->uok), ret); in max8903_probe()