Home
last modified time | relevance | path

Searched refs:msrval (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/cpufreq/
Dpowernow-k6.c86 u32 msrval; in powernow_k6_get_cpu_multiplier() local
90 msrval = POWERNOW_IOPORT + 0x1; in powernow_k6_get_cpu_multiplier()
91 wrmsr(MSR_K6_EPMR, msrval, 0); /* enable the PowerNow port */ in powernow_k6_get_cpu_multiplier()
93 msrval = POWERNOW_IOPORT + 0x0; in powernow_k6_get_cpu_multiplier()
94 wrmsr(MSR_K6_EPMR, msrval, 0); /* disable it again */ in powernow_k6_get_cpu_multiplier()
104 unsigned long msrval; in powernow_k6_set_cpu_multiplier() local
120 msrval = POWERNOW_IOPORT + 0x1; in powernow_k6_set_cpu_multiplier()
121 wrmsr(MSR_K6_EPMR, msrval, 0); /* enable the PowerNow port */ in powernow_k6_set_cpu_multiplier()
126 msrval = POWERNOW_IOPORT + 0x0; in powernow_k6_set_cpu_multiplier()
127 wrmsr(MSR_K6_EPMR, msrval, 0); /* disable it again */ in powernow_k6_set_cpu_multiplier()
/linux-6.1.9/drivers/platform/x86/intel/ifs/
Dcore.c36 u64 msrval; in ifs_init() local
42 if (rdmsrl_safe(MSR_IA32_CORE_CAPS, &msrval)) in ifs_init()
45 if (!(msrval & MSR_IA32_CORE_CAPS_INTEGRITY_CAPS)) in ifs_init()
48 if (rdmsrl_safe(MSR_INTEGRITY_CAPS, &msrval)) in ifs_init()
53 if ((msrval & BIT(ifs_device.data.integrity_cap_bit)) && in ifs_init()
/linux-6.1.9/drivers/video/fbdev/geode/
Dlxfb_ops.c344 u64 msrval; in lx_set_mode() local
361 rdmsrl(MSR_LX_GLD_MSR_CONFIG, msrval); in lx_set_mode()
362 msrval &= ~MSR_LX_GLD_MSR_CONFIG_FMT; in lx_set_mode()
365 msrval |= MSR_LX_GLD_MSR_CONFIG_FMT_FP; in lx_set_mode()
368 msrval |= MSR_LX_GLD_MSR_CONFIG_FPC; in lx_set_mode()
370 msrval &= ~MSR_LX_GLD_MSR_CONFIG_FPC; in lx_set_mode()
372 msrval |= MSR_LX_GLD_MSR_CONFIG_FMT_CRT; in lx_set_mode()
374 wrmsrl(MSR_LX_GLD_MSR_CONFIG, msrval); in lx_set_mode()
422 rdmsrl(MSR_LX_SPARE_MSR, msrval); in lx_set_mode()
424 msrval &= ~(MSR_LX_SPARE_MSR_DIS_CFIFO_HGO in lx_set_mode()
[all …]
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dxen_vmcall_test.c56 u64 msrval = HCALL_REGION_GPA + PAGE_SIZE + 1; in guest_code() local
58 "a" (msrval & 0xffffffff), in guest_code()
59 "d" (msrval >> 32)); in guest_code()
/linux-6.1.9/arch/x86/kernel/
Dprocess.c297 u64 msrval; in set_cpuid_faulting() local
299 msrval = this_cpu_read(msr_misc_features_shadow); in set_cpuid_faulting()
300 msrval &= ~MSR_MISC_FEATURES_ENABLES_CPUID_FAULT; in set_cpuid_faulting()
301 msrval |= (on << MSR_MISC_FEATURES_ENABLES_CPUID_FAULT_BIT); in set_cpuid_faulting()
302 this_cpu_write(msr_misc_features_shadow, msrval); in set_cpuid_faulting()
303 wrmsrl(MSR_MISC_FEATURES_ENABLES, msrval); in set_cpuid_faulting()
/linux-6.1.9/arch/x86/kernel/cpu/mce/
Dcore.c1799 u64 msrval; in __mcheck_cpu_check_banks() local
1808 rdmsrl(mca_msr_reg(i, MCA_CTL), msrval); in __mcheck_cpu_check_banks()
1809 b->init = !!msrval; in __mcheck_cpu_check_banks()
/linux-6.1.9/tools/perf/pmu-events/
Djevents.py254 msrval = jd.get('MSRValue')
/linux-6.1.9/arch/x86/kernel/cpu/
Dbugs.c249 u64 msrval = x86_amd_ls_cfg_base | x86_amd_ls_cfg_ssbd_mask; in x86_amd_ssb_disable() local
254 wrmsrl(MSR_AMD64_LS_CFG, msrval); in x86_amd_ssb_disable()