Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/thermal/intel/
H A Dintel_powerclamp.c328 static u64 msr_last, tsc_last; in powerclamp_adjust_controls() local
337 if (!msr_last || !tsc_last) in powerclamp_adjust_controls()
339 else if (tsc_now-tsc_last) { in powerclamp_adjust_controls()
341 do_div(val64, (tsc_now-tsc_last)); in powerclamp_adjust_controls()
347 tsc_last = tsc_now; in powerclamp_adjust_controls()
446 static u64 tsc_last; in poll_pkg_cstate() local
456 if (!msr_last || !tsc_last) in poll_pkg_cstate()
459 if (tsc_now - tsc_last) { in poll_pkg_cstate()
461 do_div(val64, (tsc_now - tsc_last)); in poll_pkg_cstate()
468 tsc_last = tsc_now; in poll_pkg_cstate()