Searched refs:read_msr (Results 1 - 13 of 13) sorted by relevance
/linux-4.1.27/tools/power/cpupower/utils/helpers/ |
H A D | msr.c | 17 * 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 D | amd.c | 86 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 D | helpers.h | 126 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 D | mperf_monitor.c | 83 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 D | hsw_ext_idle.c | 85 if (read_msr(cpu, msr, val)) hsw_ext_get_count()
|
H A D | nhm_idle.c | 96 if (read_msr(cpu, msr, val)) nhm_get_count()
|
H A D | snb_idle.c | 82 if (read_msr(cpu, msr, val)) snb_get_count()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | paravirt.c | 358 .read_msr = native_read_msr_safe,
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | paravirt_types.h | 156 u64 (*read_msr)(unsigned int msr, int *err); member in struct:pv_cpu_ops
|
H A D | kvm_host.h | 1062 static inline unsigned long read_msr(unsigned long msr) read_msr() function
|
H A D | paravirt.h | 128 return PVOP_CALL2(u64, pv_cpu_ops.read_msr, msr, err); paravirt_read_msr()
|
/linux-4.1.27/arch/x86/xen/ |
H A D | enlighten.c | 1219 .read_msr = xen_read_msr_safe,
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | vmx.c | 1846 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