Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A 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 …]
H A Dpower_supply_leds.c98 if (power_supply_get_property(psy, POWER_SUPPLY_PROP_STATUS, &status)) in power_supply_update_bat_leds()
173 if (power_supply_get_property(psy, POWER_SUPPLY_PROP_ONLINE, &online)) in power_supply_update_gen_leds()
H A 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()
H A 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, \
H A Dpower_supply_core.c400 if (!power_supply_get_property(epsy, data->psp, data->val)) in __power_supply_get_supplier_property()
1199 int power_supply_get_property(struct power_supply *psy, in power_supply_get_property() function
1216 EXPORT_SYMBOL_GPL(power_supply_get_property);
1281 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_TEMP, &val); in power_supply_read_temp()
H A Dcpcap-battery.c480 error = power_supply_get_property(charger, POWER_SUPPLY_PROP_STATUS, in cpcap_battery_get_charger_status()
610 power_supply_get_property(psy, POWER_SUPPLY_PROP_STATUS, &prop); in cpcap_battery_external_power_changed()
805 error = power_supply_get_property(charger, in cpcap_battery_update_charger()
H A Dcpcap-charger.c280 error = power_supply_get_property(battery, in cpcap_charger_get_bat_const_charge_voltage()
697 error = power_supply_get_property(battery, POWER_SUPPLY_PROP_PRESENT, &val); in cpcap_usb_detect()
H A Dpower_supply_hwmon.c233 ret = power_supply_get_property(psy, prop, &pspval); in power_supply_hwmon_read()
H A Dpower_supply_sysfs.c283 ret = power_supply_get_property(psy, psp, &value); in power_supply_show_property()
H A Dab8500_btemp.c568 if (power_supply_get_property(ext, prop, &ret)) in ab8500_btemp_get_ext_psy_data()
H A Dbq2415x_charger.c830 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_CURRENT_MAX, in bq2415x_notifier_call()
1677 ret = power_supply_get_property(notify_psy, in bq2415x_probe()
H A Dab8500_chargalg.c869 if (!power_supply_get_property(ext, POWER_SUPPLY_PROP_CAPACITY, &ret)) { in ab8500_chargalg_get_ext_psy_data()
889 if (power_supply_get_property(ext, prop, &ret)) in ab8500_chargalg_get_ext_psy_data()
H A Dmt6370-charger.c442 ret = power_supply_get_property(priv->psy, POWER_SUPPLY_PROP_ONLINE, in mt6370_chg_get_status()
H A Dqcom_pmi8998_charger.c605 rc = power_supply_get_property(chip->chg_psy, POWER_SUPPLY_PROP_STATUS, in smb2_get_iio_chan()
H A Dsc27xx_fuel_gauge.c561 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_STATUS, in sc27xx_fgu_get_status()
H A Dab8500_fg.c2204 if (power_supply_get_property(ext, prop, &ret)) in ab8500_fg_get_ext_psy_data()
H A Dab8500_charger.c1926 if (power_supply_get_property(ext, prop, &ret)) in ab8500_charger_get_ext_psy_data()
/linux/drivers/mfd/
H A 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/drivers/platform/x86/amd/pmf/
H A Dspc.c118 ret = power_supply_get_property(psy, prop, &value); in amd_pmf_get_battery_prop()
/linux/include/linux/
H A Dpower_supply.h855 extern int power_supply_get_property(struct power_supply *psy,
/linux/drivers/phy/ti/
H A Dphy-tusb1210.c249 ret = power_supply_get_property(charger, POWER_SUPPLY_PROP_ONLINE, &val); in tusb1210_get_online()