Searched refs:MPSY_PROP (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/power/supply/ |
H A D | apm_power.c | 24 #define MPSY_PROP(prop, val) _MPSY_PROP(POWER_SUPPLY_PROP_##prop, val) macro 130 if (MPSY_PROP(CURRENT_AVG, &I)) { in do_calculate_time() 132 if (MPSY_PROP(CURRENT_NOW, &I)) in do_calculate_time() 296 if (MPSY_PROP(STATUS, &status)) in apm_battery_apm_get_power_status() 310 if (MPSY_PROP(CAPACITY, &capacity) == 0) { in apm_battery_apm_get_power_status() 341 if (!MPSY_PROP(TIME_TO_FULL_AVG, &time_to_full) || in apm_battery_apm_get_power_status() 342 !MPSY_PROP(TIME_TO_FULL_NOW, &time_to_full)) in apm_battery_apm_get_power_status() 347 if (!MPSY_PROP(TIME_TO_EMPTY_AVG, &time_to_empty) || in apm_battery_apm_get_power_status() 348 !MPSY_PROP(TIME_TO_EMPTY_NOW, &time_to_empty)) in apm_battery_apm_get_power_status()
|