Home
last modified time | relevance | path

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

/linux-6.1.9/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()
Dcpcap-charger.c279 battery = power_supply_get_by_name("battery"); in cpcap_charger_get_bat_const_charge_voltage()
691 battery = power_supply_get_by_name("battery"); in cpcap_usb_detect()
Dcpcap-battery.c476 charger = power_supply_get_by_name("usb"); in cpcap_battery_get_charger_status()
801 charger = power_supply_get_by_name("usb"); in cpcap_battery_update_charger()
Dpower_supply_core.c455 struct power_supply *power_supply_get_by_name(const char *name) in power_supply_get_by_name() function
468 EXPORT_SYMBOL_GPL(power_supply_get_by_name);
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-6.1.9/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-6.1.9/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-6.1.9/include/linux/
Dpower_supply.h773 extern struct power_supply *power_supply_get_by_name(const char *name);
777 static inline struct power_supply *power_supply_get_by_name(const char *name) in power_supply_get_by_name() function
/linux-6.1.9/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-6.1.9/drivers/phy/ti/
Dphy-tusb1210.c237 tusb->charger = power_supply_get_by_name(tusb1210_chargers[i]); in tusb1210_get_online()
/linux-6.1.9/drivers/staging/greybus/
Dpower_supply.c454 while ((ret < len) && (psy = power_supply_get_by_name(name))) { in __gb_power_supply_set_name()
/linux-6.1.9/drivers/usb/dwc3/
Dcore.c1485 dwc->usb_psy = power_supply_get_by_name(usb_psy_name); in dwc3_get_properties()