Searched refs:msr_last (Results 1 – 2 of 2) sorted by relevance
320 static u64 msr_last, tsc_last; in powerclamp_adjust_controls() local329 if (!msr_last || !tsc_last) in powerclamp_adjust_controls()332 val64 = 100*(msr_now-msr_last); in powerclamp_adjust_controls()338 msr_last = msr_now; in powerclamp_adjust_controls()430 static u64 msr_last; in poll_pkg_cstate() local441 if (!msr_last || !tsc_last) in poll_pkg_cstate()445 val64 = 100 * (msr_now - msr_last); in poll_pkg_cstate()452 msr_last = msr_now; in poll_pkg_cstate()
3395 unsigned long long msr_cur, msr_last; in get_msr_sum() local3407 msr_last = per_cpu_msr_sum[cpu].entries[idx].last; in get_msr_sum()3408 DELTA_WRAP32(msr_cur, msr_last); in get_msr_sum()3409 *msr = msr_last + per_cpu_msr_sum[cpu].entries[idx].sum; in get_msr_sum()3426 unsigned long long msr_cur, msr_last; in update_msr_sum() local3440 msr_last = per_cpu_msr_sum[cpu].entries[i].last; in update_msr_sum()3443 DELTA_WRAP32(msr_cur, msr_last); in update_msr_sum()3444 per_cpu_msr_sum[cpu].entries[i].sum += msr_last; in update_msr_sum()