Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/arch/powerpc/kernel/
Dprocess.c121 unsigned long oldmsr = mfmsr(); in msr_check_and_set() local
124 newmsr = oldmsr | bits; in msr_check_and_set()
129 if (oldmsr != newmsr) in msr_check_and_set()
139 unsigned long oldmsr = mfmsr(); in __msr_check_and_clear() local
142 newmsr = oldmsr & ~bits; in __msr_check_and_clear()
147 if (oldmsr != newmsr) in __msr_check_and_clear()