Searched refs:msr_last (Results 1 – 2 of 2) sorted by relevance
433 static u64 msr_last, tsc_last; in powerclamp_adjust_controls() local442 if (!msr_last || !tsc_last) in powerclamp_adjust_controls()445 val64 = 100*(msr_now-msr_last); in powerclamp_adjust_controls()451 msr_last = msr_now; in powerclamp_adjust_controls()500 static u64 msr_last; in poll_pkg_cstate() local511 if (!msr_last || !tsc_last) in poll_pkg_cstate()515 val64 = 100 * (msr_now - msr_last); in poll_pkg_cstate()522 msr_last = msr_now; in poll_pkg_cstate()
5921 unsigned long long msr_cur, msr_last; in get_msr_sum() local5935 msr_last = per_cpu_msr_sum[cpu].entries[idx].last; in get_msr_sum()5936 DELTA_WRAP32(msr_cur, msr_last); in get_msr_sum()5937 *msr = msr_last + per_cpu_msr_sum[cpu].entries[idx].sum; in get_msr_sum()5956 unsigned long long msr_cur, msr_last; in update_msr_sum() local5970 msr_last = per_cpu_msr_sum[cpu].entries[i].last; in update_msr_sum()5973 DELTA_WRAP32(msr_cur, msr_last); in update_msr_sum()5974 per_cpu_msr_sum[cpu].entries[i].sum += msr_last; in update_msr_sum()