Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dlt3651-charger.c23 struct gpio_desc *chrg_gpio; member
48 if (!lt3651_charger->chrg_gpio) { in lt3651_charger_get_property()
52 if (gpiod_get_value(lt3651_charger->chrg_gpio)) in lt3651_charger_get_property()
73 if (!lt3651_charger->chrg_gpio) { in lt3651_charger_get_property()
77 val->intval = gpiod_get_value(lt3651_charger->chrg_gpio) ? in lt3651_charger_get_property()
120 lt3651_charger->chrg_gpio = devm_gpiod_get_optional(&pdev->dev, in lt3651_charger_probe()
122 if (IS_ERR(lt3651_charger->chrg_gpio)) { in lt3651_charger_probe()
123 ret = PTR_ERR(lt3651_charger->chrg_gpio); in lt3651_charger_probe()
171 if (lt3651_charger->chrg_gpio) { in lt3651_charger_probe()
172 ret = gpiod_to_irq(lt3651_charger->chrg_gpio); in lt3651_charger_probe()