Searched refs:power_supply_get_battery_info (Results 1 – 20 of 20) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | ingenic-battery.c | 154 ret = power_supply_get_battery_info(bat->battery, &bat->info); in ingenic_battery_probe()
|
H A D | ab8500_bmdata.c | 147 ret = power_supply_get_battery_info(psy, &bm->bi); in ab8500_bm_of_probe()
|
H A D | power_supply_core.c | 573 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 D | ug3105_battery.c | 408 ret = power_supply_get_battery_info(psy, &chip->info); in ug3105_probe()
|
H A D | rt5033_charger.c | 390 ret = power_supply_get_battery_info(charger->psy, &info); in rt5033_charger_dt_init()
|
H A D | sc2731_charger.c | 381 ret = power_supply_get_battery_info(info->psy_usb, &bat_info); in sc2731_charger_hw_init()
|
H A D | axp20x_battery.c | 615 if (!power_supply_get_battery_info(axp20x_batt->batt, &info)) { in axp20x_power_probe()
|
H A D | cw2015_battery.c | 689 ret = power_supply_get_battery_info(cw_bat->rk_bat, &cw_bat->battery); in cw_bat_probe()
|
H A D | bd99954-charger.c | 899 ret = power_supply_get_battery_info(bd->charger, &info); in bd9995x_fw_probe()
|
H A D | qcom_pmi8998_charger.c | 991 rc = power_supply_get_battery_info(chip->chg_psy, &chip->batt_info); in smb2_probe()
|
H A D | rk817_charger.c | 1142 ret = power_supply_get_battery_info(charger->bat_ps, in rk817_charger_probe()
|
H A D | bq2515x_charger.c | 960 ret = power_supply_get_battery_info(bq2515x->mains, &bat_info); in bq2515x_hw_init()
|
H A D | sc27xx_fuel_gauge.c | 998 ret = power_supply_get_battery_info(data->battery, &info); in sc27xx_fgu_hw_init()
|
H A D | bq25980_charger.c | 1109 ret = power_supply_get_battery_info(bq->charger, &bat_info); in bq25980_hw_init()
|
H A D | smb347-charger.c | 1293 err = power_supply_get_battery_info(supply, &info); in smb347_get_battery_info()
|
H A D | bq256xx_charger.c | 1588 ret = power_supply_get_battery_info(bq->charger, &bat_info); in bq256xx_hw_init()
|
H A D | bq27xxx_battery.c | 1478 if (power_supply_get_battery_info(di->bat, &info) < 0)
|
H A D | bq24190_charger.c | 1754 if (!power_supply_get_battery_info(bdi->charger, &info)) { in bq24190_get_config()
|
/openbmc/linux/include/linux/ |
H A D | power_supply.h | 797 extern int power_supply_get_battery_info(struct power_supply *psy,
|
/openbmc/linux/Documentation/power/ |
H A D | power_supply_class.rst | 234 Drivers should call power_supply_get_battery_info() to obtain battery
|