Lines Matching refs:psy_charger_stat
120 for (i = 0; cm->desc->psy_charger_stat[i]; i++) { in is_batt_present()
122 cm->desc->psy_charger_stat[i]); in is_batt_present()
125 cm->desc->psy_charger_stat[i]); in is_batt_present()
159 for (i = 0; cm->desc->psy_charger_stat[i]; i++) { in is_ext_pwr_online()
160 psy = power_supply_get_by_name(cm->desc->psy_charger_stat[i]); in is_ext_pwr_online()
163 cm->desc->psy_charger_stat[i]); in is_ext_pwr_online()
223 for (i = 0; cm->desc->psy_charger_stat[i]; i++) { in is_charging()
230 psy = power_supply_get_by_name(cm->desc->psy_charger_stat[i]); in is_charging()
233 cm->desc->psy_charger_stat[i]); in is_charging()
242 cm->desc->psy_charger_stat[i]); in is_charging()
260 cm->desc->psy_charger_stat[i]); in is_charging()
1317 desc->psy_charger_stat = devm_kcalloc(dev, in of_cm_parse_desc()
1321 if (!desc->psy_charger_stat) in of_cm_parse_desc()
1326 i, &desc->psy_charger_stat[i]); in of_cm_parse_desc()
1477 if (!desc->psy_charger_stat || !desc->psy_charger_stat[0]) { in charger_manager_probe()
1488 for (i = 0; desc->psy_charger_stat[i]; i++) { in charger_manager_probe()
1491 psy = power_supply_get_by_name(desc->psy_charger_stat[i]); in charger_manager_probe()
1494 desc->psy_charger_stat[i]); in charger_manager_probe()