Searched refs:oldmsr (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/cpufreq/ |
D | speedstep-centrino.c | 424 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.4/arch/powerpc/kernel/ |
D | process.c | 123 unsigned long oldmsr = mfmsr(); in msr_check_and_set() local 126 newmsr = oldmsr | bits; in msr_check_and_set() 133 if (oldmsr != newmsr) in msr_check_and_set() 143 unsigned long oldmsr = mfmsr(); in __msr_check_and_clear() local 146 newmsr = oldmsr & ~bits; in __msr_check_and_clear() 153 if (oldmsr != newmsr) in __msr_check_and_clear()
|