Lines Matching refs:get_msr
690 int get_msr(int cpu, off_t offset, unsigned long long *msr) in get_msr() function
1948 if (get_msr(cpu, mp->msr_num, counterp)) in get_mp()
1997 get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr); in get_epb()
2113 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
2120 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
2125 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters()
2157 if (get_msr(cpu, MSR_SMI_COUNT, &msr)) in get_counters()
2162 if (get_msr(cpu, MSR_CORE_C1_RES, &t->c1)) in get_counters()
2176 if (get_msr(cpu, MSR_CORE_C3_RESIDENCY, &c->c3)) in get_counters()
2181 if (get_msr(cpu, MSR_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
2184 if (get_msr(cpu, MSR_KNL_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
2189 if (get_msr(cpu, MSR_CORE_C7_RESIDENCY, &c->c7)) in get_counters()
2203 if (get_msr(cpu, MSR_MODULE_C6_RES_MS, &c->mc6_us)) in get_counters()
2207 if (get_msr(cpu, MSR_IA32_THERM_STATUS, &msr)) in get_counters()
2216 if (get_msr(cpu, MSR_CORE_ENERGY_STAT, &msr)) in get_counters()
2231 if (get_msr(cpu, MSR_PKG_WEIGHTED_CORE_C0_RES, &p->pkg_wtd_core_c0)) in get_counters()
2235 if (get_msr(cpu, MSR_PKG_ANY_CORE_C0_RES, &p->pkg_any_core_c0)) in get_counters()
2239 if (get_msr(cpu, MSR_PKG_ANY_GFXE_C0_RES, &p->pkg_any_gfxe_c0)) in get_counters()
2243 if (get_msr(cpu, MSR_PKG_BOTH_CORE_GFXE_C0_RES, &p->pkg_both_core_gfxe_c0)) in get_counters()
2247 if (get_msr(cpu, MSR_PKG_C3_RESIDENCY, &p->pc3)) in get_counters()
2251 if (get_msr(cpu, MSR_ATOM_PKG_C6_RESIDENCY, &p->pc6)) in get_counters()
2254 if (get_msr(cpu, MSR_PKG_C6_RESIDENCY, &p->pc6)) in get_counters()
2260 if (get_msr(cpu, MSR_PKG_C2_RESIDENCY, &p->pc2)) in get_counters()
2263 if (get_msr(cpu, MSR_PKG_C7_RESIDENCY, &p->pc7)) in get_counters()
2266 if (get_msr(cpu, MSR_PKG_C8_RESIDENCY, &p->pc8)) in get_counters()
2269 if (get_msr(cpu, MSR_PKG_C9_RESIDENCY, &p->pc9)) in get_counters()
2272 if (get_msr(cpu, MSR_PKG_C10_RESIDENCY, &p->pc10)) in get_counters()
2316 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_STATUS, &msr)) in get_counters()
2429 get_msr(base_cpu, MSR_PLATFORM_INFO, &msr); in dump_nhm_platform_info()
2439 get_msr(base_cpu, MSR_IA32_POWER_CTL, &msr); in dump_nhm_platform_info()
2455 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT2, &msr); in dump_hsw_turbo_ratio_limits()
2474 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT1, &msr); in dump_ivt_turbo_ratio_limits()
2539 get_msr(base_cpu, trl_msr_offset, &msr); in dump_turbo_ratio_limits()
2544 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT1, &core_counts); in dump_turbo_ratio_limits()
2568 get_msr(base_cpu, MSR_ATOM_CORE_RATIOS, &msr); in dump_atom_turbo_ratio_limits()
2583 get_msr(base_cpu, MSR_ATOM_CORE_TURBO_RATIOS, &msr); in dump_atom_turbo_ratio_limits()
2613 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in dump_knl_turbo_ratio_limits()
2664 get_msr(base_cpu, MSR_PKG_CST_CONFIG_CONTROL, &msr); in dump_nhm_cst_cfg()
2689 get_msr(base_cpu, MSR_CONFIG_TDP_NOMINAL, &msr); in dump_config_tdp()
2693 get_msr(base_cpu, MSR_CONFIG_TDP_LEVEL_1, &msr); in dump_config_tdp()
2703 get_msr(base_cpu, MSR_CONFIG_TDP_LEVEL_2, &msr); in dump_config_tdp()
2713 get_msr(base_cpu, MSR_CONFIG_TDP_CONTROL, &msr); in dump_config_tdp()
2720 get_msr(base_cpu, MSR_TURBO_ACTIVATION_RATIO, &msr); in dump_config_tdp()
2733 get_msr(base_cpu, MSR_PKGC3_IRTL, &msr); in print_irtl()
2738 get_msr(base_cpu, MSR_PKGC6_IRTL, &msr); in print_irtl()
2743 get_msr(base_cpu, MSR_PKGC7_IRTL, &msr); in print_irtl()
2751 get_msr(base_cpu, MSR_PKGC8_IRTL, &msr); in print_irtl()
2756 get_msr(base_cpu, MSR_PKGC9_IRTL, &msr); in print_irtl()
2761 get_msr(base_cpu, MSR_PKGC10_IRTL, &msr); in print_irtl()
3404 ret = get_msr(cpu, offset, &msr_cur); in get_msr_sum()
3434 ret = get_msr(cpu, offset, &msr_cur); in update_msr_sum()
3769 get_msr(base_cpu, MSR_PKG_CST_CONFIG_CONTROL, &msr); in probe_nhm_msrs()
3772 get_msr(base_cpu, MSR_PLATFORM_INFO, &msr); in probe_nhm_msrs()
4060 if (!get_msr(base_cpu, MSR_PLATFORM_INFO, &msr)) { in check_tcc_offset()
4373 if (get_msr(cpu, MSR_PM_ENABLE, &msr)) in print_hwp()
4382 if (get_msr(cpu, MSR_HWP_CAPABILITIES, &msr)) in print_hwp()
4392 if (get_msr(cpu, MSR_HWP_REQUEST, &msr)) in print_hwp()
4405 if (get_msr(cpu, MSR_HWP_REQUEST_PKG, &msr)) in print_hwp()
4417 if (get_msr(cpu, MSR_HWP_INTERRUPT, &msr)) in print_hwp()
4424 if (get_msr(cpu, MSR_HWP_STATUS, &msr)) in print_hwp()
4457 get_msr(cpu, MSR_CORE_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
4490 get_msr(cpu, MSR_GFX_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
4510 get_msr(cpu, MSR_RING_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
4536 if (!get_msr(base_cpu, MSR_PKG_POWER_INFO, &msr)) in get_tdp_intel()
4723 if (get_msr(base_cpu, MSR_RAPL_POWER_UNIT, &msr)) in rapl_probe_intel()
4774 if (get_msr(base_cpu, MSR_RAPL_PWR_UNIT, &msr)) in rapl_probe_amd()
4865 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_STATUS, &msr)) in print_thermal()
4871 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_INTERRUPT, &msr)) in print_thermal()
4883 if (get_msr(cpu, MSR_IA32_THERM_STATUS, &msr)) in print_thermal()
4891 if (get_msr(cpu, MSR_IA32_THERM_INTERRUPT, &msr)) in print_thermal()
4939 if (get_msr(cpu, MSR_RAPL_PWR_UNIT, &msr)) in print_rapl()
4943 if (get_msr(cpu, MSR_RAPL_POWER_UNIT, &msr)) in print_rapl()
4952 if (get_msr(cpu, MSR_PKG_POWER_INFO, &msr)) in print_rapl()
4965 if (get_msr(cpu, MSR_PKG_POWER_LIMIT, &msr)) in print_rapl()
4979 if (get_msr(cpu, MSR_VR_CURRENT_CONFIG, &msr)) in print_rapl()
4988 if (get_msr(cpu, MSR_DRAM_POWER_INFO, &msr)) in print_rapl()
4999 if (get_msr(cpu, MSR_DRAM_POWER_LIMIT, &msr)) in print_rapl()
5007 if (get_msr(cpu, MSR_PP0_POLICY, &msr)) in print_rapl()
5013 if (get_msr(cpu, MSR_PP0_POWER_LIMIT, &msr)) in print_rapl()
5020 if (get_msr(cpu, MSR_PP1_POLICY, &msr)) in print_rapl()
5025 if (get_msr(cpu, MSR_PP1_POWER_LIMIT, &msr)) in print_rapl()
5197 if (get_msr(base_cpu, MSR_FSB_FREQ, &msr)) in slm_bclk()
5293 if (get_msr(base_cpu, MSR_IA32_TEMPERATURE_TARGET, &msr)) in set_temperature_target()
5334 if (!get_msr(base_cpu, MSR_IA32_FEAT_CTL, &msr)) in decode_feature_control_msr()
5346 if (!get_msr(base_cpu, MSR_IA32_MISC_ENABLE, &msr)) in decode_misc_enable_msr()
5363 if (!get_msr(base_cpu, MSR_MISC_FEATURE_CONTROL, &msr)) in decode_misc_feature_control()
5387 if (!get_msr(base_cpu, MSR_MISC_PWR_MGMT, &msr)) in decode_misc_pwr_mgmt_msr()
5403 if (!get_msr(base_cpu, MSR_CC6_DEMOTION_POLICY_CONFIG, &msr)) in decode_c6_demotion_policy_msr()
5407 if (!get_msr(base_cpu, MSR_MC6_DEMOTION_POLICY_CONFIG, &msr)) in decode_c6_demotion_policy_msr()
5545 if (get_msr(sched_getcpu(), MSR_IA32_UCODE_REV, &ucode_patch)) in process_cpuid()