/kernel/linux/linux-5.10/arch/x86/events/intel/ |
D | p6.c | 164 (void)wrmsrl_safe(hwc->config_base, val); in p6_pmu_disable_event() 181 (void)wrmsrl_safe(hwc->config_base, val); in p6_pmu_enable_event()
|
D | knc.c | 185 (void)wrmsrl_safe(hwc->config_base + hwc->idx, val); in knc_pmu_disable_event() 196 (void)wrmsrl_safe(hwc->config_base + hwc->idx, val); in knc_pmu_enable_event()
|
D | p4.c | 913 (void)wrmsrl_safe(hwc->config_base, in p4_pmu_disable_event() 946 (void)wrmsrl_safe(MSR_IA32_PEBS_ENABLE, (u64)bind->metric_pebs); in p4_pmu_enable_pebs() 947 (void)wrmsrl_safe(MSR_P4_PEBS_MATRIX_VERT, (u64)bind->metric_vert); in p4_pmu_enable_pebs() 981 (void)wrmsrl_safe(escr_addr, escr_conf); in p4_pmu_enable_event() 982 (void)wrmsrl_safe(hwc->config_base, in p4_pmu_enable_event() 1373 wrmsrl_safe(reg, 0ULL); in p4_pmu_init()
|
D | core.c | 2561 wrmsrl_safe(x86_pmu_config_addr(idx), 0ull); in intel_pmu_reset() 2562 wrmsrl_safe(x86_pmu_event_addr(idx), 0ull); in intel_pmu_reset() 2565 wrmsrl_safe(MSR_ARCH_PERFMON_FIXED_CTR0 + idx, 0ull); in intel_pmu_reset() 4509 if (wrmsrl_safe(msr, val_tmp) || in check_msr()
|
D | lbr.c | 1773 if (wrmsrl_safe(MSR_ARCH_LBR_DEPTH, lbr_nr)) in intel_pmu_arch_lbr_init()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | intel_turbo_max_3.c | 44 ret = wrmsrl_safe(MSR_OC_MAILBOX, value); in get_oc_core_priority()
|
/kernel/linux/linux-5.10/arch/x86/lib/ |
D | msr.c | 59 return wrmsrl_safe(msr, m->q); in msr_write()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | msr.h | 322 static inline int wrmsrl_safe(u32 msr, u64 val) in wrmsrl_safe() function 395 return wrmsrl_safe(msr_no, q); in wrmsrl_safe_on_cpu()
|
/kernel/linux/linux-5.10/drivers/powercap/ |
D | intel_rapl_msr.c | 114 ra->err = wrmsrl_safe(msr, val); in rapl_msr_update_func()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
D | amd.c | 415 wrmsrl_safe(MSR_AMD_PPIN_CTL, val | 2UL); in amd_detect_ppin() 903 wrmsrl_safe(MSR_F15H_IC_CFG, value); in init_amd_bd() 931 wrmsrl_safe(MSR_ZEN2_SPECTRAL_CHICKEN, value); in init_spectral_chicken()
|
D | common.c | 1876 wrmsrl_safe(MSR_IA32_SYSENTER_CS, (u64)__KERNEL_CS); in syscall_init() 1877 wrmsrl_safe(MSR_IA32_SYSENTER_ESP, in syscall_init() 1879 wrmsrl_safe(MSR_IA32_SYSENTER_EIP, (u64)entry_SYSENTER_compat); in syscall_init() 1882 wrmsrl_safe(MSR_IA32_SYSENTER_CS, (u64)GDT_ENTRY_INVALID_SEG); in syscall_init() 1883 wrmsrl_safe(MSR_IA32_SYSENTER_ESP, 0ULL); in syscall_init() 1884 wrmsrl_safe(MSR_IA32_SYSENTER_EIP, 0ULL); in syscall_init()
|
D | intel.c | 1014 if (wrmsrl_safe(MSR_TEST_CTRL, ctrl)) in split_lock_verify_msr()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
D | intel.c | 504 wrmsrl_safe(MSR_PPIN_CTL, val | 2UL); in intel_ppin_init()
|
D | therm_throt.c | 578 wrmsrl_safe(MSR_HWP_STATUS, 0); in intel_thermal_interrupt()
|
/kernel/linux/linux-5.10/drivers/platform/x86/intel_speed_select_if/ |
D | isst_if_common.c | 206 wrmsrl_safe(sst_cmd->cmd, sst_cmd->data); in isst_restore_msr_local()
|
/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/ |
D | processor_thermal_device.c | 181 err = wrmsrl_safe(MSR_IA32_TEMPERATURE_TARGET, val); in tcc_offset_update()
|
/kernel/linux/linux-5.10/arch/x86/events/ |
D | core.c | 286 ret = wrmsrl_safe(reg, val); in check_hw_exists()
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | x86.c | 336 ret = wrmsrl_safe(msr, val); in kvm_probe_user_return_msr() 375 err = wrmsrl_safe(user_return_msrs_global.msrs[slot], value); in kvm_set_user_return_msr() 11421 else if (wrmsrl_safe(MSR_IA32_SPEC_CTRL, value)) in kvm_spec_ctrl_test_value()
|