Home
last modified time | relevance | path

Searched refs:wrmsr_safe (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/arch/x86/kernel/acpi/
H A Dsleep.c87 !wrmsr_safe(MSR_EFER, in x86_acpi_suspend_lowlevel()
101 !wrmsr_safe(MSR_IA32_MISC_ENABLE, in x86_acpi_suspend_lowlevel()
/openbmc/linux/arch/x86/include/asm/
H A Dmsr.h266 static inline int wrmsr_safe(unsigned int msr, u32 low, u32 high) in wrmsr_safe() function
305 return wrmsr_safe(msr, (u32)val, (u32)(val >> 32)); in wrmsrl_safe()
364 return wrmsr_safe(msr_no, l, h); in wrmsr_safe_on_cpu()
H A Dparavirt.h232 #define wrmsr_safe(msr, a, b) paravirt_write_msr_safe(msr, a, b) macro
/openbmc/linux/drivers/thermal/intel/
H A Dintel_tcc.c97 return wrmsr_safe(MSR_IA32_TEMPERATURE_TARGET, low, high); in intel_tcc_set_offset()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dkvm_pv_test.c51 vector = wrmsr_safe(msr->idx, 0); in test_msr()
H A Dvmx_pmu_caps_test.c56 uint8_t vector = wrmsr_safe(MSR_IA32_PERF_CAPABILITIES, val); in guest_test_perf_capabilities_gp()
H A Dhyperv_features.c50 vector = wrmsr_safe(msr->idx, msr->write_val); in guest_msr()
/openbmc/linux/arch/x86/xen/
H A Denlighten_pvh.c40 wrmsr_safe(msr, (u32)pfn, (u32)(pfn >> 32)); in xen_pvh_init()
H A Denlighten_hvm.c118 wrmsr_safe(msr, (u32)pfn, (u32)(pfn >> 32)); in init_hvm_pv_info()
/openbmc/u-boot/arch/x86/include/asm/
H A Dmsr.h249 #define checking_wrmsrl(msr, val) wrmsr_safe((msr), (u32)(val), \
/openbmc/linux/arch/x86/lib/
H A Dmsr-smp.c166 rv->err = wrmsr_safe(rv->msr_no, rv->reg.l, rv->reg.h); in __wrmsr_safe_on_cpu()
/openbmc/linux/drivers/powercap/
H A Dintel_rapl_common.c986 wrmsr_safe(MSR_IA32_PACKAGE_THERM_INTERRUPT, l, h); in power_limit_irq_save_cpu()
1035 wrmsr_safe(MSR_IA32_PACKAGE_THERM_INTERRUPT, l, h); in package_power_limit_irq_restore()
/openbmc/linux/arch/x86/kernel/cpu/mtrr/
H A Dgeneric.c743 if (wrmsr_safe(msr, a, b) < 0) { in mtrr_wrmsr()
/openbmc/linux/arch/x86/kernel/cpu/resctrl/
H A Dcore.c141 if (wrmsr_safe(MSR_IA32_L3_CBM_BASE, max_cbm, 0)) in cache_alloc_hsw_probe()
/openbmc/linux/drivers/acpi/
H A Dprocessor_throttling.c729 wrmsr_safe(MSR_IA32_THERM_CONTROL, in acpi_throttling_wrmsr()
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h1173 static inline uint8_t wrmsr_safe(uint32_t msr, uint64_t val) in wrmsr_safe() function