Searched refs:bat_psy (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | wm97xx_battery.c | 118 static struct power_supply *bat_psy; variable 128 wm97xx_bat_update(bat_psy); in wm97xx_bat_work() 234 bat_psy = power_supply_register(&dev->dev, &bat_psy_desc, &cfg); in wm97xx_bat_probe() 235 if (!IS_ERR(bat_psy)) { in wm97xx_bat_probe() 238 ret = PTR_ERR(bat_psy); in wm97xx_bat_probe() 256 power_supply_unregister(bat_psy); in wm97xx_bat_remove()
|
H A D | qcom_smbb.c | 121 struct power_supply *bat_psy; member 417 power_supply_changed(chg->bat_psy); in smbb_bat_temp_handler() 426 power_supply_changed(chg->bat_psy); in smbb_bat_present_handler() 436 power_supply_changed(chg->bat_psy); in smbb_chg_done_handler() 446 power_supply_changed(chg->bat_psy); in smbb_chg_gone_handler() 459 power_supply_changed(chg->bat_psy); in smbb_chg_fast_handler() 469 power_supply_changed(chg->bat_psy); in smbb_chg_trkl_handler() 884 chg->bat_psy = devm_power_supply_register(&pdev->dev, in smbb_charger_probe() 887 if (IS_ERR(chg->bat_psy)) { in smbb_charger_probe() 889 return PTR_ERR(chg->bat_psy); in smbb_charger_probe()
|
H A D | qcom_battmgr.c | 290 struct power_supply *bat_psy; member 949 power_supply_changed(battmgr->bat_psy); in qcom_battmgr_notification() 1351 battmgr->bat_psy = devm_power_supply_register(dev, &sc8280xp_bat_psy_desc, &psy_cfg); in qcom_battmgr_probe() 1352 if (IS_ERR(battmgr->bat_psy)) in qcom_battmgr_probe() 1353 return dev_err_probe(dev, PTR_ERR(battmgr->bat_psy), in qcom_battmgr_probe() 1371 battmgr->bat_psy = devm_power_supply_register(dev, &sm8350_bat_psy_desc, &psy_cfg); in qcom_battmgr_probe() 1372 if (IS_ERR(battmgr->bat_psy)) in qcom_battmgr_probe() 1373 return dev_err_probe(dev, PTR_ERR(battmgr->bat_psy), in qcom_battmgr_probe()
|