/Linux-v5.4/drivers/platform/x86/intel_speed_select_if/ |
D | isst_if_mbox_msr.c | 183 ret = rdmsrl_safe(MSR_OS_MAILBOX_INTERFACE, &data); in isst_if_mbox_init() 187 ret = rdmsrl_safe(MSR_OS_MAILBOX_DATA, &data); in isst_if_mbox_init()
|
D | isst_if_common.c | 319 ret = rdmsrl_safe(MSR_CPU_BUS_NUMBER, &data); in isst_if_cpu_online() 329 ret = rdmsrl_safe(MSR_THREAD_ID_INFO, &data); in isst_if_cpu_online()
|
/Linux-v5.4/arch/x86/events/ |
D | probe.c | 32 if (rdmsrl_safe(msr[bit].msr, &val)) in perf_msr_probe()
|
D | core.c | 206 ret = rdmsrl_safe(reg, &val); in check_hw_exists() 220 ret = rdmsrl_safe(reg, &val); in check_hw_exists() 249 if (rdmsrl_safe(reg, &val)) in check_hw_exists() 253 ret |= rdmsrl_safe(reg, &val_new); in check_hw_exists()
|
/Linux-v5.4/drivers/hwmon/ |
D | fam15h_power.c | 151 rdmsrl_safe(MSR_F15H_CU_PWR_ACCUMULATOR, &data->cu_acc_power[cu]); in do_read_registers_on_cu() 152 rdmsrl_safe(MSR_F15H_PTSC, &data->cpu_sw_pwr_ptsc[cu]); in do_read_registers_on_cu() 432 if (rdmsrl_safe(MSR_F15H_CU_MAX_PWR_ACCUMULATOR, &tmp)) { in fam15h_power_init_data()
|
/Linux-v5.4/arch/x86/kernel/cpu/ |
D | hygon.c | 214 if (!rdmsrl_safe(MSR_K8_TSEG_ADDR, &tseg)) { in bsp_init_hygon() 252 if (!rdmsrl_safe(MSR_AMD64_LS_CFG, &x86_amd_ls_cfg_base)) { in bsp_init_hygon()
|
D | amd.c | 504 if (!rdmsrl_safe(MSR_K8_TSEG_ADDR, &tseg)) { in bsp_init_amd() 571 if (!rdmsrl_safe(MSR_AMD64_LS_CFG, &x86_amd_ls_cfg_base)) { in bsp_init_amd() 875 if (!rdmsrl_safe(MSR_F15H_IC_CFG, &value) && !(value & 0x1E)) { in init_amd_bd()
|
D | intel.c | 631 if (!rdmsrl_safe(MSR_PLATFORM_INFO, &msr)) { in init_cpuid_fault() 641 if (rdmsrl_safe(MSR_MISC_FEATURES_ENABLES, &msr)) in init_intel_misc_features()
|
/Linux-v5.4/arch/x86/kernel/cpu/mce/ |
D | intel.c | 488 if (rdmsrl_safe(MSR_PPIN_CTL, &val)) in intel_ppin_init() 499 rdmsrl_safe(MSR_PPIN_CTL, &val); in intel_ppin_init()
|
/Linux-v5.4/drivers/platform/x86/ |
D | intel_turbo_max_3.c | 51 ret = rdmsrl_safe(MSR_OC_MAILBOX, &value); in get_oc_core_priority()
|
D | intel_pmc_core.c | 741 if (rdmsrl_safe(map[index].bit_mask, &pcstate_count)) in pmc_core_pkgc_show() 940 if (rdmsrl_safe(MSR_PKG_C10_RESIDENCY, &pmcdev->pc10_counter)) in pmc_core_suspend() 955 if (rdmsrl_safe(MSR_PKG_C10_RESIDENCY, &pc10_counter)) in pmc_core_is_pc10_failed()
|
/Linux-v5.4/arch/x86/lib/ |
D | msr.c | 44 err = rdmsrl_safe(msr, &val); in msr_read()
|
/Linux-v5.4/arch/x86/power/ |
D | cpu.c | 43 msr->valid = !rdmsrl_safe(msr->info.msr_no, &msr->info.reg.q); in msr_save_context() 126 ctxt->misc_enable_saved = !rdmsrl_safe(MSR_IA32_MISC_ENABLE, in __save_processor_state()
|
/Linux-v5.4/arch/x86/include/asm/ |
D | msr.h | 302 static inline int rdmsrl_safe(unsigned int msr, unsigned long long *p) in rdmsrl_safe() function 393 return rdmsrl_safe(msr_no, q); in rdmsrl_safe_on_cpu()
|
D | apic.h | 126 if (rdmsrl_safe(MSR_IA32_APICBASE, &msr)) in apic_is_x2apic_enabled()
|
D | paravirt.h | 215 static inline int rdmsrl_safe(unsigned msr, unsigned long long *p) in rdmsrl_safe() function
|
/Linux-v5.4/drivers/cpufreq/ |
D | amd_freq_sensitivity.c | 128 if (rdmsrl_safe(MSR_AMD64_FREQ_SENSITIVITY_ACTUAL, &val)) in amd_freq_sensitivity_init()
|
D | intel_pstate.c | 1429 err = rdmsrl_safe(MSR_CONFIG_TDP_CONTROL, &tdp_ctrl); in core_get_tdp_ratio() 1435 err = rdmsrl_safe(tdp_msr, &tdp_ratio); in core_get_tdp_ratio() 1472 err = rdmsrl_safe(MSR_TURBO_ACTIVATION_RATIO, &tar); in core_get_max_pstate()
|
/Linux-v5.4/drivers/thermal/intel/int340x_thermal/ |
D | processor_thermal_device.c | 149 err = rdmsrl_safe(MSR_IA32_TEMPERATURE_TARGET, &val); in tcc_offset_degree_celsius_show() 165 err = rdmsrl_safe(MSR_IA32_TEMPERATURE_TARGET, &val); in tcc_offset_update() 188 err = rdmsrl_safe(MSR_PLATFORM_INFO, &val); in tcc_offset_degree_celsius_store()
|
/Linux-v5.4/drivers/powercap/ |
D | intel_rapl_msr.c | 105 ra->err = rdmsrl_safe(msr, &val); in rapl_msr_update_func()
|
/Linux-v5.4/drivers/acpi/ |
D | acpi_lpit.c | 41 err = rdmsrl_safe(residency_info_ffh.gaddr.address, counter); in lpit_read_residency_counter_us()
|
/Linux-v5.4/arch/x86/events/amd/ |
D | power.c | 278 if (rdmsrl_safe(MSR_F15H_CU_MAX_PWR_ACCUMULATOR, &max_cu_acc_power)) { in amd_power_pmu_init()
|
/Linux-v5.4/drivers/thermal/intel/ |
D | intel_powerclamp.c | 237 if (!rdmsrl_safe(info->msr_index, &val)) in has_pkg_state_counter() 253 if (!rdmsrl_safe(info->msr_index, &val)) in pkg_state_counter()
|
/Linux-v5.4/arch/x86/events/intel/ |
D | rapl.c | 584 if (rdmsrl_safe(MSR_RAPL_POWER_UNIT, &msr_rapl_power_unit_bits)) in rapl_check_hw_unit()
|
/Linux-v5.4/arch/x86/kvm/ |
D | cpuid.c | 159 rdmsrl_safe(MSR_EFER, &efer); in is_efer_nx()
|