Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/power/supply/
Dapm_power.c24 #define MPSY_PROP(prop, val) _MPSY_PROP(POWER_SUPPLY_PROP_##prop, val) macro
131 if (MPSY_PROP(CURRENT_AVG, &I)) { in do_calculate_time()
133 if (MPSY_PROP(CURRENT_NOW, &I)) in do_calculate_time()
297 if (MPSY_PROP(STATUS, &status)) in apm_battery_apm_get_power_status()
311 if (MPSY_PROP(CAPACITY, &capacity) == 0) { in apm_battery_apm_get_power_status()
342 if (!MPSY_PROP(TIME_TO_FULL_AVG, &time_to_full) || in apm_battery_apm_get_power_status()
343 !MPSY_PROP(TIME_TO_FULL_NOW, &time_to_full)) in apm_battery_apm_get_power_status()
348 if (!MPSY_PROP(TIME_TO_EMPTY_AVG, &time_to_empty) || in apm_battery_apm_get_power_status()
349 !MPSY_PROP(TIME_TO_EMPTY_NOW, &time_to_empty)) in apm_battery_apm_get_power_status()