Home
last modified time | relevance | path

Searched refs:power_supply_get_by_name (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/drivers/power/supply/
Dcharger-manager.c109 psy = power_supply_get_by_name(cm->desc->psy_fuel_gauge); in is_batt_present()
121 psy = power_supply_get_by_name( in is_batt_present()
160 psy = power_supply_get_by_name(cm->desc->psy_charger_stat[i]); in is_ext_pwr_online()
193 fuel_gauge = power_supply_get_by_name(cm->desc->psy_fuel_gauge); in get_batt_uV()
230 psy = power_supply_get_by_name(cm->desc->psy_charger_stat[i]); in is_charging()
293 fuel_gauge = power_supply_get_by_name(cm->desc->psy_fuel_gauge); in is_full_charged()
490 fuel_gauge = power_supply_get_by_name(cm->desc->psy_fuel_gauge); in cm_get_battery_temperature_by_psy()
743 fuel_gauge = power_supply_get_by_name(cm->desc->psy_fuel_gauge); in charger_get_property()
760 fuel_gauge = power_supply_get_by_name(cm->desc->psy_fuel_gauge); in charger_get_property()
808 fuel_gauge = power_supply_get_by_name(cm->desc->psy_fuel_gauge); in charger_get_property()
[all …]
D88pm860x_charger.c293 psy = power_supply_get_by_name(pm860x_supplied_to[0]); in set_charging_fsm()
433 psy = power_supply_get_by_name(pm860x_supplied_to[0]); in pm860x_temp_handler()
489 psy = power_supply_get_by_name(pm860x_supplied_to[0]); in pm860x_done_handler()
Dpower_supply_core.c451 struct power_supply *power_supply_get_by_name(const char *name) in power_supply_get_by_name() function
464 EXPORT_SYMBOL_GPL(power_supply_get_by_name);
Dcpcap-charger.c297 battery = power_supply_get_by_name("battery"); in cpcap_charger_get_bat_const_charge_voltage()
Dcpcap-battery.c556 charger = power_supply_get_by_name("usb"); in cpcap_battery_update_charger()
Dsc27xx_fuel_gauge.c557 psy = power_supply_get_by_name(sc27xx_charger_supply_name[i]); in sc27xx_fgu_get_status()
Dbq2415x_charger.c1662 notify_psy = power_supply_get_by_name( in bq2415x_probe()
/Linux-v5.10/drivers/mfd/
Dab8500-sysctrl.c51 psy = power_supply_get_by_name(pss[i]); in ab8500_power_off()
69 psy = power_supply_get_by_name("ab8500_btemp"); in ab8500_power_off()
/Linux-v5.10/arch/x86/platform/olpc/
Dolpc-xo15-sci.c78 struct power_supply *psy = power_supply_get_by_name("olpc_battery"); in battery_status_changed()
88 struct power_supply *psy = power_supply_get_by_name("olpc_ac"); in ac_status_changed()
Dolpc-xo1-sci.c55 struct power_supply *psy = power_supply_get_by_name("olpc_battery"); in battery_status_changed()
65 struct power_supply *psy = power_supply_get_by_name("olpc_ac"); in ac_status_changed()
/Linux-v5.10/drivers/platform/olpc/
Dolpc-xo175-ec.c413 psy = power_supply_get_by_name("olpc_ac"); in olpc_xo175_ec_complete()
423 psy = power_supply_get_by_name("olpc_battery"); in olpc_xo175_ec_complete()
/Linux-v5.10/include/linux/
Dpower_supply.h384 extern struct power_supply *power_supply_get_by_name(const char *name);
/Linux-v5.10/drivers/staging/greybus/
Dpower_supply.c454 while ((ret < len) && (psy = power_supply_get_by_name(name))) { in __gb_power_supply_set_name()