Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/powertop/common/
H A Dbattery.c45 #define mW2W(value) ((value) / 1000) macro
171 battery_state.present_rate = mW2W((double)(knp->value.ui32)); in pt_battery_stat_snapshot()
194 battery_state.last_cap = mW2W((double)(knp->value.ui32)); in pt_battery_stat_snapshot()
216 battery_state.remain_cap = mW2W((double)(knp->value.ui32)); in pt_battery_stat_snapshot()