Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/power/supply/
Dwm97xx_battery.c118 static struct power_supply *bat_psy; variable
128 wm97xx_bat_update(bat_psy); in wm97xx_bat_work()
233 bat_psy = power_supply_register(&dev->dev, &bat_psy_desc, &cfg); in wm97xx_bat_probe()
234 if (!IS_ERR(bat_psy)) { in wm97xx_bat_probe()
237 ret = PTR_ERR(bat_psy); in wm97xx_bat_probe()
263 power_supply_unregister(bat_psy); in wm97xx_bat_remove()
Dqcom_smbb.c121 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()