Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dlt3651-charger.c18 struct lt3651_charger { struct
35 static inline struct lt3651_charger *psy_to_lt3651_charger( in psy_to_lt3651_charger() argument
44 struct lt3651_charger *lt3651_charger = psy_to_lt3651_charger(psy); in lt3651_charger_get_property() local
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()
58 val->intval = gpiod_get_value(lt3651_charger->acpr_gpio); in lt3651_charger_get_property()
61 if (!lt3651_charger->fault_gpio) { in lt3651_charger_get_property()
65 if (!gpiod_get_value(lt3651_charger->fault_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()
[all …]