Home
last modified time | relevance | path

Searched refs:power_supply_get_property (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/drivers/power/supply/
Dcharger-manager.c113 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_PRESENT, in is_batt_present()
129 ret = power_supply_get_property(psy, in is_batt_present()
167 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_ONLINE, in is_ext_pwr_online()
197 ret = power_supply_get_property(fuel_gauge, in get_batt_uV()
238 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_ONLINE, in is_charging()
255 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_STATUS, in is_charging()
314 ret = power_supply_get_property(fuel_gauge, in is_full_charged()
326 ret = power_supply_get_property(fuel_gauge, in is_full_charged()
494 ret = power_supply_get_property(fuel_gauge, in cm_get_battery_temperature_by_psy()
748 ret = power_supply_get_property(fuel_gauge, in charger_get_property()
[all …]
Dpower_supply_leds.c27 if (power_supply_get_property(psy, POWER_SUPPLY_PROP_STATUS, &status)) in power_supply_update_bat_leds()
117 if (power_supply_get_property(psy, POWER_SUPPLY_PROP_ONLINE, &online)) in power_supply_update_gen_leds()
D88pm860x_charger.c296 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_VOLTAGE_NOW, in set_charging_fsm()
304 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_PRESENT, &data); in set_charging_fsm()
436 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_TEMP, &temp); in pm860x_temp_handler()
492 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_VOLTAGE_NOW, in pm860x_done_handler()
Dapm_power.c18 #define PSY_PROP(psy, prop, val) (power_supply_get_property(psy, \
21 #define _MPSY_PROP(prop, val) (power_supply_get_property(main_battery, \
Dpower_supply_core.c864 int power_supply_get_property(struct power_supply *psy, in power_supply_get_property() function
876 EXPORT_SYMBOL_GPL(power_supply_get_property);
945 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_TEMP, &val); in power_supply_read_temp()
998 ret = power_supply_get_property(psy, in ps_get_max_charge_cntl_limit()
1016 ret = power_supply_get_property(psy, in ps_get_cur_charge_cntl_limit()
Dpower_supply_hwmon.c218 ret = power_supply_get_property(psy, prop, &pspval); in power_supply_hwmon_read()
Dpower_supply_sysfs.c275 ret = power_supply_get_property(psy, psp, &value); in power_supply_show_property()
Dcpcap-charger.c299 error = power_supply_get_property(battery, in cpcap_charger_get_bat_const_charge_voltage()
Dbq2415x_charger.c830 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_CURRENT_MAX, in bq2415x_notifier_call()
1667 ret = power_supply_get_property(notify_psy, in bq2415x_probe()
Dcpcap-battery.c560 error = power_supply_get_property(charger, in cpcap_battery_update_charger()
Dab8500_btemp.c872 if (power_supply_get_property(ext, prop, &ret)) in ab8500_btemp_get_ext_psy_data()
Dabx500_chargalg.c958 if (!power_supply_get_property(ext, POWER_SUPPLY_PROP_CAPACITY, &ret)) { in abx500_chargalg_get_ext_psy_data()
978 if (power_supply_get_property(ext, prop, &ret)) in abx500_chargalg_get_ext_psy_data()
Dsc27xx_fuel_gauge.c561 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_STATUS, in sc27xx_fgu_get_status()
Dab8500_charger.c1898 if (power_supply_get_property(ext, prop, &ret)) in ab8500_charger_get_ext_psy_data()
Dab8500_fg.c2186 if (power_supply_get_property(ext, prop, &ret)) in ab8500_fg_get_ext_psy_data()
/Linux-v5.10/drivers/mfd/
Dab8500-sysctrl.c55 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_ONLINE, in ab8500_power_off()
71 ret = power_supply_get_property(psy, in ab8500_power_off()
/Linux-v5.10/include/linux/
Dpower_supply.h426 extern int power_supply_get_property(struct power_supply *psy,
/Linux-v5.10/drivers/phy/allwinner/
Dphy-sun4i-usb.c388 r = power_supply_get_property(data->vbus_power_supply, in sun4i_usb_phy0_get_vbus_det()