Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/power/supply/
Dbq2515x_charger.c187 struct gpio_desc *ce_gpio; member
430 ce_pin = gpiod_get_value_cansleep(bq2515x->ce_gpio); in bq2515x_get_charge_disable()
446 gpiod_set_value_cansleep(bq2515x->ce_gpio, val); in bq2515x_set_charge_disable()
1033 bq2515x->ce_gpio = devm_gpiod_get_optional(bq2515x->dev, in bq2515x_read_properties()
1036 if (IS_ERR(bq2515x->ce_gpio)) { in bq2515x_read_properties()
1037 ret = PTR_ERR(bq2515x->ce_gpio); in bq2515x_read_properties()
Drt9471.c834 struct gpio_desc *ce_gpio; in rt9471_probe() local
847 ce_gpio = devm_gpiod_get_optional(dev, "charge-enable", GPIOD_OUT_HIGH); in rt9471_probe()
848 if (IS_ERR(ce_gpio)) in rt9471_probe()
849 return dev_err_probe(dev, PTR_ERR(ce_gpio), in rt9471_probe()