Searched refs:power_supply_get_property (Results 1 – 18 of 18) sorted by relevance
/Linux-v5.10/drivers/power/supply/ |
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 …]
|
D | power_supply_leds.c | 27 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()
|
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()
|
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, \
|
D | power_supply_core.c | 864 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()
|
D | power_supply_hwmon.c | 218 ret = power_supply_get_property(psy, prop, &pspval); in power_supply_hwmon_read()
|
D | power_supply_sysfs.c | 275 ret = power_supply_get_property(psy, psp, &value); in power_supply_show_property()
|
D | cpcap-charger.c | 299 error = power_supply_get_property(battery, in cpcap_charger_get_bat_const_charge_voltage()
|
D | bq2415x_charger.c | 830 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()
|
D | cpcap-battery.c | 560 error = power_supply_get_property(charger, in cpcap_battery_update_charger()
|
D | ab8500_btemp.c | 872 if (power_supply_get_property(ext, prop, &ret)) in ab8500_btemp_get_ext_psy_data()
|
D | abx500_chargalg.c | 958 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()
|
D | sc27xx_fuel_gauge.c | 561 ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_STATUS, in sc27xx_fgu_get_status()
|
D | ab8500_charger.c | 1898 if (power_supply_get_property(ext, prop, &ret)) in ab8500_charger_get_ext_psy_data()
|
D | ab8500_fg.c | 2186 if (power_supply_get_property(ext, prop, &ret)) in ab8500_fg_get_ext_psy_data()
|
/Linux-v5.10/drivers/mfd/ |
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-v5.10/include/linux/ |
D | power_supply.h | 426 extern int power_supply_get_property(struct power_supply *psy,
|
/Linux-v5.10/drivers/phy/allwinner/ |
D | phy-sun4i-usb.c | 388 r = power_supply_get_property(data->vbus_power_supply, in sun4i_usb_phy0_get_vbus_det()
|