Searched refs:time_hw (Results 1 – 1 of 1) sorted by relevance
731 u64 time_hw, prev_hw, overflow_hw; in intel_rc6_residency_ns() local762 time_hw = vlv_residency_raw(uncore, reg); in intel_rc6_residency_ns()774 time_hw = intel_uncore_read_fw(uncore, reg); in intel_rc6_residency_ns()784 rc6->prev_hw_residency[i] = time_hw; in intel_rc6_residency_ns()787 if (time_hw >= prev_hw) in intel_rc6_residency_ns()788 time_hw -= prev_hw; in intel_rc6_residency_ns()790 time_hw += overflow_hw - prev_hw; in intel_rc6_residency_ns()793 time_hw += rc6->cur_residency[i]; in intel_rc6_residency_ns()794 rc6->cur_residency[i] = time_hw; in intel_rc6_residency_ns()799 return mul_u64_u32_div(time_hw, mul, div); in intel_rc6_residency_ns()
Completed in 5 milliseconds