Searched refs:read_msr (Results 1 - 13 of 13) sorted by relevance

/linux-4.1.27/tools/power/cpupower/utils/helpers/
H A Dmsr.c17 * read_msr
26 int read_msr(int cpu, unsigned int idx, unsigned long long *val) read_msr() function
83 ret = read_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &val); msr_intel_get_perf_bias()
110 ret = read_msr(cpu, MSR_NEHALEM_TURBO_RATIO_LIMIT, &val); msr_intel_get_turbo_ratio()
H A Damd.c86 if (read_msr(cpu, MSR_AMD_PSTATE_LIMIT, &val)) decode_pstates()
91 if (read_msr(cpu, MSR_AMD_PSTATE_STATUS, &val)) decode_pstates()
104 if (read_msr(cpu, MSR_AMD_PSTATE + i, &pstate.val)) decode_pstates()
H A Dhelpers.h126 extern int read_msr(int cpu, unsigned int idx, unsigned long long *val);
170 static inline int read_msr(int cpu, unsigned int idx, unsigned long long *val) read_msr() function
/linux-4.1.27/tools/power/cpupower/utils/idle_monitor/
H A Dmperf_monitor.c83 ret = read_msr(0, MSR_TSC, tsc); mperf_get_tsc()
94 ret = read_msr(cpu, MSR_APERF, &val); mperf_init_stats()
96 ret |= read_msr(cpu, MSR_MPERF, &val); mperf_init_stats()
108 ret = read_msr(cpu, MSR_APERF, &val); mperf_measure_stats()
110 ret |= read_msr(cpu, MSR_MPERF, &val); mperf_measure_stats()
254 ret = read_msr(0, MSR_AMD_HWCR, &hwcr); init_maxfreq_mode()
H A Dhsw_ext_idle.c85 if (read_msr(cpu, msr, val)) hsw_ext_get_count()
H A Dnhm_idle.c96 if (read_msr(cpu, msr, val)) nhm_get_count()
H A Dsnb_idle.c82 if (read_msr(cpu, msr, val)) snb_get_count()
/linux-4.1.27/arch/x86/kernel/
H A Dparavirt.c358 .read_msr = native_read_msr_safe,
/linux-4.1.27/arch/x86/include/asm/
H A Dparavirt_types.h156 u64 (*read_msr)(unsigned int msr, int *err); member in struct:pv_cpu_ops
H A Dkvm_host.h1062 static inline unsigned long read_msr(unsigned long msr) read_msr() function
H A Dparavirt.h128 return PVOP_CALL2(u64, pv_cpu_ops.read_msr, msr, err); paravirt_read_msr()
/linux-4.1.27/arch/x86/xen/
H A Denlighten.c1219 .read_msr = xen_read_msr_safe,
/linux-4.1.27/arch/x86/kvm/
H A Dvmx.c1846 vmcs_writel(HOST_FS_BASE, read_msr(MSR_FS_BASE)); vmx_save_host_state()
1847 vmcs_writel(HOST_GS_BASE, read_msr(MSR_GS_BASE)); vmx_save_host_state()

Completed in 296 milliseconds