Searched refs:msrval (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/drivers/cpufreq/ |
D | powernow-k6.c | 86 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-5.19.10/drivers/platform/x86/intel/ifs/ |
D | core.c | 36 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-5.19.10/drivers/video/fbdev/geode/ |
D | lxfb_ops.c | 344 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-5.19.10/tools/testing/selftests/kvm/x86_64/ |
D | xen_vmcall_test.c | 60 u64 msrval = HCALL_REGION_GPA + PAGE_SIZE + 1; in guest_code() local 62 "a" (msrval & 0xffffffff), in guest_code() 63 "d" (msrval >> 32)); in guest_code()
|
/linux-5.19.10/arch/x86/kernel/ |
D | process.c | 297 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-5.19.10/arch/x86/kernel/cpu/ |
D | bugs.c | 205 u64 msrval, guestval = guest_spec_ctrl, hostval = spec_ctrl_current(); in x86_virt_spec_ctrl() local 210 msrval = setguest ? guestval : hostval; in x86_virt_spec_ctrl() 211 wrmsrl(MSR_IA32_SPEC_CTRL, msrval); in x86_virt_spec_ctrl() 249 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()
|
/linux-5.19.10/tools/perf/pmu-events/ |
D | jevents.c | 550 jsmntok_t *msrval = NULL; in json_events() local 626 msrval = val; in json_events() 715 addfield(map, &event, ",", msr->pname, msrval); in json_events()
|
/linux-5.19.10/arch/x86/kernel/cpu/mce/ |
D | core.c | 1799 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()
|