Lines Matching refs:dok
28 struct gpio_desc *dok; /* DC (Adapter) Power OK output */ member
94 ta_in = gpiod_get_value(data->dok); in max8903_dcin()
232 data->dok = devm_gpiod_get_optional(dev, "dok", GPIOD_IN); in max8903_setup_gpios()
233 if (IS_ERR(data->dok)) in max8903_setup_gpios()
234 return dev_err_probe(dev, PTR_ERR(data->dok), in max8903_setup_gpios()
236 if (data->dok) { in max8903_setup_gpios()
237 gpiod_set_consumer_name(data->dok, data->psy_desc.name); in max8903_setup_gpios()
244 ta_in = gpiod_get_value(data->dok); in max8903_setup_gpios()
263 if (!data->dok && !data->uok) { in max8903_setup_gpios()
361 if (data->dok) { in max8903_probe()
362 ret = devm_request_threaded_irq(dev, gpiod_to_irq(data->dok), in max8903_probe()
369 gpiod_to_irq(data->dok), ret); in max8903_probe()