Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A 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 …]
H A 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()
H A Dcpcap-charger.c278 battery = power_supply_get_by_name("battery"); in cpcap_charger_get_bat_const_charge_voltage()
690 battery = power_supply_get_by_name("battery"); in cpcap_usb_detect()
H A 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()
H A Dpower_supply_core.c463 struct power_supply *power_supply_get_by_name(const char *name) in power_supply_get_by_name() function
476 EXPORT_SYMBOL_GPL(power_supply_get_by_name);
H A Dsc27xx_fuel_gauge.c557 psy = power_supply_get_by_name(sc27xx_charger_supply_name[i]); in sc27xx_fgu_get_status()
H A Dbq25890_charger.c1401 bq->secondary_chrg = power_supply_get_by_name(str); in bq25890_fw_probe()
H A Dbq2415x_charger.c1672 notify_psy = power_supply_get_by_name( in bq2415x_probe()
/linux/drivers/mfd/
H A 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/arch/x86/platform/olpc/
H A 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()
/linux/include/linux/
H A Dpower_supply.h770 extern struct power_supply *power_supply_get_by_name(const char *name);
774 static inline struct power_supply *power_supply_get_by_name(const char *name) in power_supply_get_by_name() function
/linux/drivers/platform/olpc/
H A 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/drivers/platform/x86/amd/pmf/
H A Dspc.c114 psy = power_supply_get_by_name(pmf_battery_supply_name[i]); in amd_pmf_get_battery_prop()
/linux/drivers/phy/ti/
H A Dphy-tusb1210.c244 charger = power_supply_get_by_name(tusb1210_chargers[i]); in tusb1210_get_online()
/linux/drivers/staging/greybus/
H A Dpower_supply.c454 while ((ret < len) && (psy = power_supply_get_by_name(name))) { in __gb_power_supply_set_name()
/linux/drivers/usb/dwc3/
H A Dcore.c1705 dwc->usb_psy = power_supply_get_by_name(usb_psy_name); in dwc3_get_properties()