Searched refs:_MPSY_PROP (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/power/supply/ |
H A D | apm_power.c | 21 #define _MPSY_PROP(prop, val) (power_supply_get_property(main_battery, \ macro 24 #define MPSY_PROP(prop, val) _MPSY_PROP(POWER_SUPPLY_PROP_##prop, val) 169 if (_MPSY_PROP(full_prop, &full)) { in do_calculate_time() 171 if (_MPSY_PROP(full_design_prop, &full)) in do_calculate_time() 175 if (_MPSY_PROP(empty_prop, &empty)) { in do_calculate_time() 177 if (_MPSY_PROP(empty_design_prop, &empty)) in do_calculate_time() 181 if (_MPSY_PROP(cur_avg_prop, &cur)) { in do_calculate_time() 183 if (_MPSY_PROP(cur_now_prop, &cur)) in do_calculate_time() 250 if (_MPSY_PROP(full_prop, &full)) { in calculate_capacity() 252 if (_MPSY_PROP(full_design_prop, &full)) in calculate_capacity() [all …]
|