Home
last modified time | relevance | path

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

/drivers/power/supply/
Dtwl4030_charger.c794 int is_charging; in twl4030_bci_get_property() local
803 is_charging = state & TWL4030_MSTATEC_USB; in twl4030_bci_get_property()
805 is_charging = state & TWL4030_MSTATEC_AC; in twl4030_bci_get_property()
806 if (!is_charging) { in twl4030_bci_get_property()
812 is_charging = s & 1; in twl4030_bci_get_property()
814 is_charging = s & 2; in twl4030_bci_get_property()
815 if (is_charging) in twl4030_bci_get_property()
822 if (is_charging) in twl4030_bci_get_property()
829 if (!is_charging) in twl4030_bci_get_property()
846 if (!is_charging) in twl4030_bci_get_property()
[all …]
Dcharger-manager.c211 static bool is_charging(struct charger_manager *cm) in is_charging() function
353 return is_charging(cm); in is_polling_required()
779 if (is_charging(cm)) in charger_get_property()
794 !is_charging(cm)) { in charger_get_property()
1680 if (is_charging(cm)) { in cm_need_to_awake()