Home
last modified time | relevance | path

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

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