Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dtwl4030_charger.c792 int is_charging; in twl4030_bci_get_property() local
801 is_charging = state & TWL4030_MSTATEC_USB; in twl4030_bci_get_property()
803 is_charging = state & TWL4030_MSTATEC_AC; in twl4030_bci_get_property()
804 if (!is_charging) { in twl4030_bci_get_property()
810 is_charging = s & 1; in twl4030_bci_get_property()
812 is_charging = s & 2; in twl4030_bci_get_property()
813 if (is_charging) in twl4030_bci_get_property()
820 if (is_charging) in twl4030_bci_get_property()
827 if (!is_charging) in twl4030_bci_get_property()
844 if (!is_charging) in twl4030_bci_get_property()
[all …]