Lines Matching refs:get_msr
261 int get_msr(int cpu, off_t offset, unsigned long long *msr) in get_msr() function
983 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
985 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters()
990 if (get_msr(cpu, MSR_SMI_COUNT, &msr)) in get_counters()
995 if (get_msr(cpu, extra_delta_offset32, &msr)) in get_counters()
1001 if (get_msr(cpu, extra_delta_offset64, &t->extra_delta64)) in get_counters()
1005 if (get_msr(cpu, extra_msr_offset32, &msr)) in get_counters()
1011 if (get_msr(cpu, extra_msr_offset64, &t->extra_msr64)) in get_counters()
1015 if (get_msr(cpu, MSR_CORE_C1_RES, &t->c1)) in get_counters()
1024 if (get_msr(cpu, MSR_CORE_C3_RESIDENCY, &c->c3)) in get_counters()
1029 if (get_msr(cpu, MSR_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
1032 if (get_msr(cpu, MSR_KNL_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
1037 if (get_msr(cpu, MSR_CORE_C7_RESIDENCY, &c->c7)) in get_counters()
1041 if (get_msr(cpu, MSR_IA32_THERM_STATUS, &msr)) in get_counters()
1052 if (get_msr(cpu, MSR_PKG_WEIGHTED_CORE_C0_RES, &p->pkg_wtd_core_c0)) in get_counters()
1054 if (get_msr(cpu, MSR_PKG_ANY_CORE_C0_RES, &p->pkg_any_core_c0)) in get_counters()
1056 if (get_msr(cpu, MSR_PKG_ANY_GFXE_C0_RES, &p->pkg_any_gfxe_c0)) in get_counters()
1058 if (get_msr(cpu, MSR_PKG_BOTH_CORE_GFXE_C0_RES, &p->pkg_both_core_gfxe_c0)) in get_counters()
1062 if (get_msr(cpu, MSR_PKG_C3_RESIDENCY, &p->pc3)) in get_counters()
1065 if (get_msr(cpu, MSR_PKG_C6_RESIDENCY, &p->pc6)) in get_counters()
1068 if (get_msr(cpu, MSR_PKG_C2_RESIDENCY, &p->pc2)) in get_counters()
1071 if (get_msr(cpu, MSR_PKG_C7_RESIDENCY, &p->pc7)) in get_counters()
1074 if (get_msr(cpu, MSR_PKG_C8_RESIDENCY, &p->pc8)) in get_counters()
1076 if (get_msr(cpu, MSR_PKG_C9_RESIDENCY, &p->pc9)) in get_counters()
1078 if (get_msr(cpu, MSR_PKG_C10_RESIDENCY, &p->pc10)) in get_counters()
1082 if (get_msr(cpu, MSR_PKG_ENERGY_STATUS, &msr)) in get_counters()
1087 if (get_msr(cpu, MSR_PP0_ENERGY_STATUS, &msr)) in get_counters()
1092 if (get_msr(cpu, MSR_DRAM_ENERGY_STATUS, &msr)) in get_counters()
1097 if (get_msr(cpu, MSR_PP1_ENERGY_STATUS, &msr)) in get_counters()
1102 if (get_msr(cpu, MSR_PKG_PERF_STATUS, &msr)) in get_counters()
1107 if (get_msr(cpu, MSR_DRAM_PERF_STATUS, &msr)) in get_counters()
1112 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_STATUS, &msr)) in get_counters()
1158 get_msr(base_cpu, MSR_NHM_PLATFORM_INFO, &msr); in dump_nhm_platform_info()
1170 get_msr(base_cpu, MSR_IA32_POWER_CTL, &msr); in dump_nhm_platform_info()
1183 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT2, &msr); in dump_hsw_turbo_ratio_limits()
1205 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT1, &msr); in dump_ivt_turbo_ratio_limits()
1257 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in dump_nhm_turbo_ratio_limits()
1313 get_msr(base_cpu, MSR_NHM_TURBO_RATIO_LIMIT, &msr); in dump_knl_turbo_ratio_limits()
1369 get_msr(base_cpu, MSR_NHM_SNB_PKG_CST_CFG_CTL, &msr); in dump_nhm_cst_cfg()
1812 get_msr(base_cpu, MSR_NHM_SNB_PKG_CST_CFG_CTL, &msr); in probe_nhm_msrs()
1924 if (get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr)) in print_epb()
1966 get_msr(cpu, MSR_CORE_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
2001 get_msr(cpu, MSR_GFX_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
2023 get_msr(cpu, MSR_RING_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
2051 if (!get_msr(base_cpu, MSR_PKG_POWER_INFO, &msr)) in get_tdp()
2134 if (get_msr(base_cpu, MSR_RAPL_POWER_UNIT, &msr)) in rapl_probe()
2202 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_STATUS, &msr)) in print_thermal()
2210 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_INTERRUPT, &msr)) in print_thermal()
2224 if (get_msr(cpu, MSR_IA32_THERM_STATUS, &msr)) in print_thermal()
2233 if (get_msr(cpu, MSR_IA32_THERM_INTERRUPT, &msr)) in print_thermal()
2276 if (get_msr(cpu, MSR_RAPL_POWER_UNIT, &msr)) in print_rapl()
2286 if (get_msr(cpu, MSR_PKG_POWER_INFO, &msr)) in print_rapl()
2300 if (get_msr(cpu, MSR_PKG_POWER_LIMIT, &msr)) in print_rapl()
2316 if (get_msr(cpu, MSR_DRAM_POWER_INFO, &msr)) in print_rapl()
2327 if (get_msr(cpu, MSR_DRAM_POWER_LIMIT, &msr)) in print_rapl()
2336 if (get_msr(cpu, MSR_PP0_POLICY, &msr)) in print_rapl()
2345 if (get_msr(cpu, MSR_PP0_POWER_LIMIT, &msr)) in print_rapl()
2354 if (get_msr(cpu, MSR_PP1_POLICY, &msr)) in print_rapl()
2359 if (get_msr(cpu, MSR_PP1_POWER_LIMIT, &msr)) in print_rapl()
2479 if (get_msr(base_cpu, MSR_FSB_FREQ, &msr)) in slm_bclk()
2547 if (get_msr(base_cpu, MSR_IA32_TEMPERATURE_TARGET, &msr)) in set_temperature_target()