Home
last modified time | relevance | path

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

/linux-6.15/drivers/thermal/intel/
H A Dintel_powerclamp.c433 static u64 msr_last, tsc_last; in powerclamp_adjust_controls() local
442 if (!msr_last || !tsc_last) in powerclamp_adjust_controls()
444 else if (tsc_now-tsc_last) { in powerclamp_adjust_controls()
446 do_div(val64, (tsc_now-tsc_last)); in powerclamp_adjust_controls()
452 tsc_last = tsc_now; in powerclamp_adjust_controls()
501 static u64 tsc_last; in poll_pkg_cstate() local
511 if (!msr_last || !tsc_last) in poll_pkg_cstate()
514 if (tsc_now - tsc_last) { in poll_pkg_cstate()
516 do_div(val64, (tsc_now - tsc_last)); in poll_pkg_cstate()
523 tsc_last = tsc_now; in poll_pkg_cstate()