Searched refs:read_msr (Results 1 – 12 of 12) sorted by relevance
| /linux/tools/power/cpupower/utils/helpers/ |
| H A D | msr.c | 26 int read_msr(int cpu, unsigned int idx, unsigned long long *val) in read_msr() function 83 ret = read_msr(cpu, MSR_NEHALEM_TURBO_RATIO_LIMIT, &val); in msr_intel_get_turbo_ratio()
|
| H A D | helpers.h | 115 extern int read_msr(int cpu, unsigned int idx, unsigned long long *val); 171 static inline int read_msr(int cpu, unsigned int idx, unsigned long long *val) in read_msr() function
|
| H A D | misc.c | 34 if (!read_msr(cpu, MSR_AMD_HWCR, &val)) { in cpufreq_has_x86_boost_support()
|
| /linux/tools/power/cpupower/utils/idle_monitor/ |
| H A D | mperf_monitor.c | 87 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() 287 ret = read_msr(0, MSR_AMD_HWCR, &hwcr); in init_maxfreq_mode()
|
| /linux/arch/x86/include/asm/ |
| H A D | msr-trace.h | 40 DEFINE_EVENT(msr_trace_class, read_msr,
|
| H A D | paravirt_types.h | 94 u64 (*read_msr)(u32 msr); member
|
| H A D | kvm_host.h | 2329 static inline unsigned long read_msr(unsigned long msr) in read_msr() function
|
| /linux/Documentation/trace/ |
| H A D | events-msr.rst | 15 read_msr
|
| /linux/arch/x86/coco/tdx/ |
| H A D | tdx.c | 471 static int read_msr(struct pt_regs *regs, struct ve_info *ve) in read_msr() function 845 return read_msr(regs, ve); in virt_exception_kernel()
|
| /linux/arch/x86/xen/ |
| H A D | enlighten_pv.c | 1227 .read_msr = xen_read_msr,
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 1400 fs_base = read_msr(MSR_FS_BASE); in vmx_prepare_switch_to_guest() 1401 vt->msr_host_kernel_gs_base = read_msr(MSR_KERNEL_GS_BASE); in vmx_prepare_switch_to_guest() 1460 *cache = read_msr(msr); in vmx_read_guest_host_msr()
|
| H A D | tdx.c | 804 vt->msr_host_kernel_gs_base = read_msr(MSR_KERNEL_GS_BASE); in tdx_prepare_switch_to_guest()
|