Searched refs:power_supply_get_by_name (Results 1 – 15 of 15) sorted by relevance
109 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 …]
293 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()
279 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()
476 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()
455 struct power_supply *power_supply_get_by_name(const char *name) in power_supply_get_by_name() function468 EXPORT_SYMBOL_GPL(power_supply_get_by_name);
557 psy = power_supply_get_by_name(sc27xx_charger_supply_name[i]); in sc27xx_fgu_get_status()
1662 notify_psy = power_supply_get_by_name( in bq2415x_probe()
51 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()
78 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()
55 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()
773 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
413 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()
237 tusb->charger = power_supply_get_by_name(tusb1210_chargers[i]); in tusb1210_get_online()
454 while ((ret < len) && (psy = power_supply_get_by_name(name))) { in __gb_power_supply_set_name()
1485 dwc->usb_psy = power_supply_get_by_name(usb_psy_name); in dwc3_get_properties()