Searched refs:mW2W (Results 1 – 1 of 1) sorted by relevance
45 #define mW2W(value) ((value) / 1000) macro171 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()