Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/thermal/intel/
H A Dintel_powerclamp.c332 static u64 msr_last, tsc_last; in powerclamp_adjust_controls() local
341 if (!msr_last || !tsc_last) in powerclamp_adjust_controls()
343 else if (tsc_now-tsc_last) { in powerclamp_adjust_controls()
345 do_div(val64, (tsc_now-tsc_last)); in powerclamp_adjust_controls()
351 tsc_last = tsc_now; in powerclamp_adjust_controls()
450 static u64 tsc_last; in poll_pkg_cstate() local
460 if (!msr_last || !tsc_last) in poll_pkg_cstate()
463 if (tsc_now - tsc_last) { in poll_pkg_cstate()
465 do_div(val64, (tsc_now - tsc_last)); in poll_pkg_cstate()
472 tsc_last in poll_pkg_cstate()
[all...]
/kernel/linux/linux-6.6/drivers/thermal/intel/
H A Dintel_powerclamp.c462 static u64 msr_last, tsc_last; in powerclamp_adjust_controls() local
471 if (!msr_last || !tsc_last) in powerclamp_adjust_controls()
473 else if (tsc_now-tsc_last) { in powerclamp_adjust_controls()
475 do_div(val64, (tsc_now-tsc_last)); in powerclamp_adjust_controls()
481 tsc_last = tsc_now; in powerclamp_adjust_controls()
530 static u64 tsc_last; in poll_pkg_cstate() local
540 if (!msr_last || !tsc_last) in poll_pkg_cstate()
543 if (tsc_now - tsc_last) { in poll_pkg_cstate()
545 do_div(val64, (tsc_now - tsc_last)); in poll_pkg_cstate()
552 tsc_last in poll_pkg_cstate()
[all...]

Completed in 3 milliseconds