Home
last modified time | relevance | path

Searched refs:read_msr (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/tools/power/cpupower/utils/helpers/
Dmsr.c27 int read_msr(int cpu, unsigned int idx, unsigned long long *val) in read_msr() function
84 ret = read_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &val); in msr_intel_get_perf_bias()
111 ret = read_msr(cpu, MSR_NEHALEM_TURBO_RATIO_LIMIT, &val); in msr_intel_get_turbo_ratio()
Damd.c102 if (read_msr(cpu, MSR_AMD_PSTATE_LIMIT, &val)) in decode_pstates()
107 if (read_msr(cpu, MSR_AMD_PSTATE_STATUS, &val)) in decode_pstates()
120 if (read_msr(cpu, MSR_AMD_PSTATE + i, &pstate.val)) in decode_pstates()
Dhelpers.h105 extern int read_msr(int cpu, unsigned int idx, unsigned long long *val);
149 static inline int read_msr(int cpu, unsigned int idx, unsigned long long *val) in read_msr() function
Dmisc.c30 if (!read_msr(cpu, MSR_AMD_HWCR, &val)) { in cpufreq_has_boost_support()
/Linux-v5.10/tools/power/cpupower/utils/idle_monitor/
Dmperf_monitor.c87 ret = read_msr(base_cpu, MSR_TSC, tsc); in mperf_get_tsc()
124 ret = read_msr(cpu, MSR_APERF, aval); in get_aperf_mperf()
125 ret |= read_msr(cpu, MSR_MPERF, mval); in get_aperf_mperf()
294 ret = read_msr(0, MSR_AMD_HWCR, &hwcr); in init_maxfreq_mode()
Dsnb_idle.c81 if (read_msr(cpu, msr, val)) in snb_get_count()
Dhsw_ext_idle.c83 if (read_msr(cpu, msr, val)) in hsw_ext_get_count()
Dnhm_idle.c95 if (read_msr(cpu, msr, val)) in nhm_get_count()
/Linux-v5.10/arch/x86/include/asm/
Dmsr.h70 DECLARE_TRACEPOINT(read_msr);
129 if (tracepoint_enabled(read_msr)) in native_read_msr()
151 if (tracepoint_enabled(read_msr)) in native_read_msr_safe()
Dmsr-trace.h40 DEFINE_EVENT(msr_trace_class, read_msr,
Dparavirt_types.h148 u64 (*read_msr)(unsigned int msr); member
Dparavirt.h165 return PVOP_CALL1(u64, cpu.read_msr, msr); in paravirt_read_msr()
Dkvm_host.h1580 static inline unsigned long read_msr(unsigned long msr) in read_msr() function
/Linux-v5.10/Documentation/trace/
Devents-msr.rst15 read_msr
/Linux-v5.10/arch/x86/lib/
Dmsr.c129 EXPORT_TRACEPOINT_SYMBOL(read_msr);
/Linux-v5.10/arch/x86/kernel/
Dparavirt.c292 .cpu.read_msr = native_read_msr,
/Linux-v5.10/arch/x86/xen/
Denlighten_pv.c1034 .read_msr = xen_read_msr,
/Linux-v5.10/arch/x86/kvm/vmx/
Dvmx.c1250 fs_base = read_msr(MSR_FS_BASE); in vmx_prepare_switch_to_guest()
1251 vmx->msr_host_kernel_gs_base = read_msr(MSR_KERNEL_GS_BASE); in vmx_prepare_switch_to_guest()