Searched refs:read_msr (Results 1 – 8 of 8) sorted by relevance
/tools/power/cpupower/utils/helpers/ |
D | msr.c | 27 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()
|
D | amd.c | 102 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()
|
D | helpers.h | 105 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
|
D | misc.c | 30 if (!read_msr(cpu, MSR_AMD_HWCR, &val)) { in cpufreq_has_boost_support()
|
/tools/power/cpupower/utils/idle_monitor/ |
D | mperf_monitor.c | 84 ret = read_msr(base_cpu, MSR_TSC, tsc); in mperf_get_tsc() 95 ret = read_msr(cpu, MSR_APERF, &val); in mperf_init_stats() 97 ret |= read_msr(cpu, MSR_MPERF, &val); in mperf_init_stats() 109 ret = read_msr(cpu, MSR_APERF, &val); in mperf_measure_stats() 111 ret |= read_msr(cpu, MSR_MPERF, &val); in mperf_measure_stats() 255 ret = read_msr(0, MSR_AMD_HWCR, &hwcr); in init_maxfreq_mode()
|
D | snb_idle.c | 82 if (read_msr(cpu, msr, val)) in snb_get_count()
|
D | hsw_ext_idle.c | 84 if (read_msr(cpu, msr, val)) in hsw_ext_get_count()
|
D | nhm_idle.c | 96 if (read_msr(cpu, msr, val)) in nhm_get_count()
|