/linux-6.6.21/tools/power/cpupower/utils/helpers/ |
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()
|
D | helpers.h | 112 extern int read_msr(int cpu, unsigned int idx, unsigned long long *val); 169 static inline int read_msr(int cpu, unsigned int idx, unsigned long long *val) in read_msr() function
|
D | amd.c | 105 if (read_msr(cpu, MSR_AMD_PSTATE_LIMIT, &val)) in decode_pstates() 116 if (read_msr(cpu, MSR_AMD_PSTATE + i, &pstate.val)) in decode_pstates()
|
D | misc.c | 35 if (!read_msr(cpu, MSR_AMD_HWCR, &val)) { in cpufreq_has_boost_support()
|
/linux-6.6.21/tools/power/cpupower/utils/idle_monitor/ |
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() 288 ret = read_msr(0, MSR_AMD_HWCR, &hwcr); in init_maxfreq_mode()
|
D | snb_idle.c | 81 if (read_msr(cpu, msr, val)) in snb_get_count()
|
D | hsw_ext_idle.c | 83 if (read_msr(cpu, msr, val)) in hsw_ext_get_count()
|
D | nhm_idle.c | 95 if (read_msr(cpu, msr, val)) in nhm_get_count()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | msr.h | 61 DECLARE_TRACEPOINT(read_msr); 120 if (tracepoint_enabled(read_msr)) in native_read_msr() 136 if (tracepoint_enabled(read_msr)) in native_read_msr_safe()
|
D | msr-trace.h | 40 DEFINE_EVENT(msr_trace_class, read_msr,
|
D | paravirt_types.h | 104 u64 (*read_msr)(unsigned int msr); member
|
D | paravirt.h | 190 return PVOP_CALL1(u64, cpu.read_msr, msr); in paravirt_read_msr()
|
D | kvm_host.h | 2091 static inline unsigned long read_msr(unsigned long msr) in read_msr() function
|
/linux-6.6.21/Documentation/trace/ |
D | events-msr.rst | 15 read_msr
|
/linux-6.6.21/arch/x86/lib/ |
D | msr.c | 135 EXPORT_TRACEPOINT_SYMBOL(read_msr);
|
/linux-6.6.21/arch/x86/coco/tdx/ |
D | tdx.c | 274 static int read_msr(struct pt_regs *regs, struct ve_info *ve) in read_msr() function 643 return read_msr(regs, ve); in virt_exception_kernel()
|
/linux-6.6.21/arch/x86/kernel/ |
D | paravirt.c | 195 .cpu.read_msr = native_read_msr,
|
/linux-6.6.21/arch/x86/xen/ |
D | enlighten_pv.c | 1154 .read_msr = xen_read_msr,
|
/linux-6.6.21/arch/x86/kvm/vmx/ |
D | vmx.c | 1347 fs_base = read_msr(MSR_FS_BASE); in vmx_prepare_switch_to_guest() 1348 vmx->msr_host_kernel_gs_base = read_msr(MSR_KERNEL_GS_BASE); in vmx_prepare_switch_to_guest()
|