Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/power/supply/
Dab8500_bmdata.c147 ret = power_supply_get_battery_info(psy, &bm->bi); in ab8500_bm_of_probe()
Dingenic-battery.c154 ret = power_supply_get_battery_info(bat->battery, &bat->info); in ingenic_battery_probe()
Dpower_supply_core.c573 int power_supply_get_battery_info(struct power_supply *psy, in power_supply_get_battery_info() function
823 EXPORT_SYMBOL_GPL(power_supply_get_battery_info);
1407 rc = power_supply_get_battery_info(psy, &psy->battery_info); in __power_supply_register()
Drt5033_charger.c390 ret = power_supply_get_battery_info(charger->psy, &info); in rt5033_charger_dt_init()
Dug3105_battery.c408 ret = power_supply_get_battery_info(psy, &chip->info); in ug3105_probe()
Dsc2731_charger.c381 ret = power_supply_get_battery_info(info->psy_usb, &bat_info); in sc2731_charger_hw_init()
Daxp20x_battery.c615 if (!power_supply_get_battery_info(axp20x_batt->batt, &info)) { in axp20x_power_probe()
Dcw2015_battery.c689 ret = power_supply_get_battery_info(cw_bat->rk_bat, &cw_bat->battery); in cw_bat_probe()
Dbd99954-charger.c899 ret = power_supply_get_battery_info(bd->charger, &info); in bd9995x_fw_probe()
Dqcom_pmi8998_charger.c991 rc = power_supply_get_battery_info(chip->chg_psy, &chip->batt_info); in smb2_probe()
Drk817_charger.c1142 ret = power_supply_get_battery_info(charger->bat_ps, in rk817_charger_probe()
Dbq2515x_charger.c960 ret = power_supply_get_battery_info(bq2515x->mains, &bat_info); in bq2515x_hw_init()
Dsc27xx_fuel_gauge.c998 ret = power_supply_get_battery_info(data->battery, &info); in sc27xx_fgu_hw_init()
Dbq25980_charger.c1109 ret = power_supply_get_battery_info(bq->charger, &bat_info); in bq25980_hw_init()
Dsmb347-charger.c1293 err = power_supply_get_battery_info(supply, &info); in smb347_get_battery_info()
Dbq256xx_charger.c1588 ret = power_supply_get_battery_info(bq->charger, &bat_info); in bq256xx_hw_init()
Dbq24190_charger.c1754 if (!power_supply_get_battery_info(bdi->charger, &info)) { in bq24190_get_config()
Dbq27xxx_battery.c1478 if (power_supply_get_battery_info(di->bat, &info) < 0)
/linux-6.6.21/include/linux/
Dpower_supply.h797 extern int power_supply_get_battery_info(struct power_supply *psy,
/linux-6.6.21/Documentation/power/
Dpower_supply_class.rst234 Drivers should call power_supply_get_battery_info() to obtain battery