Searched refs:msr_last (Results 1 – 2 of 2) sorted by relevance
328 static u64 msr_last, tsc_last; in powerclamp_adjust_controls() local337 if (!msr_last || !tsc_last) in powerclamp_adjust_controls()340 val64 = 100*(msr_now-msr_last); in powerclamp_adjust_controls()346 msr_last = msr_now; in powerclamp_adjust_controls()445 static u64 msr_last; in poll_pkg_cstate() local456 if (!msr_last || !tsc_last) in poll_pkg_cstate()460 val64 = 100 * (msr_now - msr_last); in poll_pkg_cstate()467 msr_last = msr_now; in poll_pkg_cstate()
3402 unsigned long long msr_cur, msr_last; in get_msr_sum() local3414 msr_last = per_cpu_msr_sum[cpu].entries[idx].last; in get_msr_sum()3415 DELTA_WRAP32(msr_cur, msr_last); in get_msr_sum()3416 *msr = msr_last + per_cpu_msr_sum[cpu].entries[idx].sum; in get_msr_sum()3433 unsigned long long msr_cur, msr_last; in update_msr_sum() local3447 msr_last = per_cpu_msr_sum[cpu].entries[i].last; in update_msr_sum()3450 DELTA_WRAP32(msr_cur, msr_last); in update_msr_sum()3451 per_cpu_msr_sum[cpu].entries[i].sum += msr_last; in update_msr_sum()