Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/cpufreq/
Dspeedstep-centrino.c424 unsigned int msr, oldmsr = 0, h = 0, cpu = policy->cpu; in centrino_target() local
466 rdmsr_on_cpu(good_cpu, MSR_IA32_PERF_CTL, &oldmsr, &h); in centrino_target()
467 if (msr == (oldmsr & 0xffff)) { in centrino_target()
469 "to be %x\n", oldmsr); in centrino_target()
476 oldmsr &= ~0xffff; in centrino_target()
478 oldmsr |= msr; in centrino_target()
481 wrmsr_on_cpu(good_cpu, MSR_IA32_PERF_CTL, oldmsr, h); in centrino_target()
497 wrmsr_on_cpu(j, MSR_IA32_PERF_CTL, oldmsr, h); in centrino_target()
/Linux-v5.10/arch/powerpc/kernel/
Dprocess.c122 unsigned long oldmsr = mfmsr(); in msr_check_and_set() local
125 newmsr = oldmsr | bits; in msr_check_and_set()
130 if (oldmsr != newmsr) in msr_check_and_set()
140 unsigned long oldmsr = mfmsr(); in __msr_check_and_clear() local
143 newmsr = oldmsr & ~bits; in __msr_check_and_clear()
148 if (oldmsr != newmsr) in __msr_check_and_clear()