/linux/drivers/power/supply/ |
H A D | charger-manager.c | 113 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 D | power_supply_leds.c | 98 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 D | 88pm860x_charger.c | 296 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 D | apm_power.c | 18 #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 D | power_supply_core.c | 400 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 D | cpcap-battery.c | 480 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 D | cpcap-charger.c | 280 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 D | power_supply_hwmon.c | 233 ret = power_supply_get_property(psy, prop, &pspval); in power_supply_hwmon_read()
|
H A D | power_supply_sysfs.c | 283 ret = power_supply_get_property(psy, psp, &value); in power_supply_show_property()
|
H A D | ab8500_btemp.c | 568 if (power_supply_get_property(ext, prop, &ret)) in ab8500_btemp_get_ext_psy_data()
|
H A D | bq2415x_charger.c | 830 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 D | ab8500_chargalg.c | 869 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 D | mt6370-charger.c | 442 ret = power_supply_get_property(priv->psy, POWER_SUPPLY_PROP_ONLINE, in mt6370_chg_get_status()
|
H A D | qcom_pmi8998_charger.c | 605 rc = power_supply_get_property(chip->chg_psy, POWER_SUPPLY_PROP_STATUS, in smb2_get_iio_chan()
|
H A D | sc27xx_fuel_gauge.c | 561 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_STATUS, in sc27xx_fgu_get_status()
|
H A D | ab8500_fg.c | 2204 if (power_supply_get_property(ext, prop, &ret)) in ab8500_fg_get_ext_psy_data()
|
H A D | ab8500_charger.c | 1926 if (power_supply_get_property(ext, prop, &ret)) in ab8500_charger_get_ext_psy_data()
|
/linux/drivers/mfd/ |
H A D | ab8500-sysctrl.c | 55 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 D | spc.c | 118 ret = power_supply_get_property(psy, prop, &value); in amd_pmf_get_battery_prop()
|
/linux/include/linux/ |
H A D | power_supply.h | 855 extern int power_supply_get_property(struct power_supply *psy,
|
/linux/drivers/phy/ti/ |
H A D | phy-tusb1210.c | 249 ret = power_supply_get_property(charger, POWER_SUPPLY_PROP_ONLINE, &val); in tusb1210_get_online()
|