Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/power/supply/
Dingenic-battery.c154 ret = power_supply_get_battery_info(bat->battery, &bat->info); in ingenic_battery_probe()
Dsc2731_charger.c381 ret = power_supply_get_battery_info(info->psy_usb, &bat_info); in sc2731_charger_hw_init()
Daxp20x_battery.c604 if (!power_supply_get_battery_info(axp20x_batt->batt, &info)) { in axp20x_power_probe()
Dpower_supply_core.c565 int power_supply_get_battery_info(struct power_supply *psy, in power_supply_get_battery_info() function
733 EXPORT_SYMBOL_GPL(power_supply_get_battery_info);
Dcw2015_battery.c680 ret = power_supply_get_battery_info(cw_bat->rk_bat, &cw_bat->battery); in cw_bat_probe()
Dbd99954-charger.c965 ret = power_supply_get_battery_info(bd->charger, &info); in bd9995x_fw_probe()
Dbq2515x_charger.c960 ret = power_supply_get_battery_info(bq2515x->mains, &bat_info); in bq2515x_hw_init()
Dsmb347-charger.c1230 err = power_supply_get_battery_info(supply, &info); in smb347_get_battery_info()
Dsc27xx_fuel_gauge.c1005 ret = power_supply_get_battery_info(data->battery, &info); in sc27xx_fgu_hw_init()
Dbq25980_charger.c1125 ret = power_supply_get_battery_info(bq->charger, &bat_info); in bq25980_hw_init()
Dbq24190_charger.c1678 !power_supply_get_battery_info(bdi->charger, &info)) { in bq24190_get_config()
Dbq27xxx_battery.c1415 if (power_supply_get_battery_info(di->bat, &info) < 0)
/Linux-v5.10/include/linux/
Dpower_supply.h400 extern int power_supply_get_battery_info(struct power_supply *psy,
/Linux-v5.10/Documentation/power/
Dpower_supply_class.rst234 Drivers should call power_supply_get_battery_info() to obtain battery