Lines Matching refs:get_msr
497 int get_msr(int cpu, off_t offset, unsigned long long *msr) in get_msr() function
1820 if (get_msr(cpu, mp->msr_num, counterp)) in get_mp()
1931 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
1938 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
1943 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters()
1972 if (get_msr(cpu, MSR_SMI_COUNT, &msr)) in get_counters()
1977 if (get_msr(cpu, MSR_CORE_C1_RES, &t->c1)) in get_counters()
1991 if (get_msr(cpu, MSR_CORE_C3_RESIDENCY, &c->c3)) in get_counters()
1996 if (get_msr(cpu, MSR_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
1999 if (get_msr(cpu, MSR_KNL_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
2004 if (get_msr(cpu, MSR_CORE_C7_RESIDENCY, &c->c7)) in get_counters()
2008 if (get_msr(cpu, MSR_MODULE_C6_RES_MS, &c->mc6_us)) in get_counters()
2012 if (get_msr(cpu, MSR_IA32_THERM_STATUS, &msr)) in get_counters()
2018 if (get_msr(cpu, MSR_CORE_ENERGY_STAT, &msr)) in get_counters()
2033 if (get_msr(cpu, MSR_PKG_WEIGHTED_CORE_C0_RES, &p->pkg_wtd_core_c0)) in get_counters()
2037 if (get_msr(cpu, MSR_PKG_ANY_CORE_C0_RES, &p->pkg_any_core_c0)) in get_counters()
2041 if (get_msr(cpu, MSR_PKG_ANY_GFXE_C0_RES, &p->pkg_any_gfxe_c0)) in get_counters()
2045 if (get_msr(cpu, MSR_PKG_BOTH_CORE_GFXE_C0_RES, &p->pkg_both_core_gfxe_c0)) in get_counters()
2049 if (get_msr(cpu, MSR_PKG_C3_RESIDENCY, &p->pc3)) in get_counters()
2053 if (get_msr(cpu, MSR_ATOM_PKG_C6_RESIDENCY, &p->pc6)) in get_counters()
2056 if (get_msr(cpu, MSR_PKG_C6_RESIDENCY, &p->pc6)) in get_counters()
2062 if (get_msr(cpu, MSR_PKG_C2_RESIDENCY, &p->pc2)) in get_counters()
2065 if (get_msr(cpu, MSR_PKG_C7_RESIDENCY, &p->pc7)) in get_counters()
2068 if (get_msr(cpu, MSR_PKG_C8_RESIDENCY, &p->pc8)) in get_counters()
2071 if (get_msr(cpu, MSR_PKG_C9_RESIDENCY, &p->pc9)) in get_counters()
2074 if (get_msr(cpu, MSR_PKG_C10_RESIDENCY, &p->pc10)) in get_counters()
2118 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_STATUS, &msr)) in get_counters()
2191 get_msr(base_cpu, MSR_PLATFORM_INFO, &msr); in dump_nhm_platform_info()
2203 get_msr(base_cpu, MSR_IA32_POWER_CTL, &msr); in dump_nhm_platform_info()
2216 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT2, &msr); in dump_hsw_turbo_ratio_limits()
2238 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT1, &msr); in dump_ivt_turbo_ratio_limits()
2305 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in dump_turbo_ratio_limits()
2309 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT1, &core_counts); in dump_turbo_ratio_limits()
2371 get_msr(base_cpu, MSR_ATOM_CORE_RATIOS, &msr); in dump_atom_turbo_ratio_limits()
2389 get_msr(base_cpu, MSR_ATOM_CORE_TURBO_RATIOS, &msr); in dump_atom_turbo_ratio_limits()
2424 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in dump_knl_turbo_ratio_limits()
2477 get_msr(base_cpu, MSR_PKG_CST_CONFIG_CONTROL, &msr); in dump_nhm_cst_cfg()
2506 get_msr(base_cpu, MSR_CONFIG_TDP_NOMINAL, &msr); in dump_config_tdp()
2510 get_msr(base_cpu, MSR_CONFIG_TDP_LEVEL_1, &msr); in dump_config_tdp()
2520 get_msr(base_cpu, MSR_CONFIG_TDP_LEVEL_2, &msr); in dump_config_tdp()
2530 get_msr(base_cpu, MSR_CONFIG_TDP_CONTROL, &msr); in dump_config_tdp()
2537 get_msr(base_cpu, MSR_TURBO_ACTIVATION_RATIO, &msr); in dump_config_tdp()
2550 get_msr(base_cpu, MSR_PKGC3_IRTL, &msr); in print_irtl()
2555 get_msr(base_cpu, MSR_PKGC6_IRTL, &msr); in print_irtl()
2560 get_msr(base_cpu, MSR_PKGC7_IRTL, &msr); in print_irtl()
2568 get_msr(base_cpu, MSR_PKGC8_IRTL, &msr); in print_irtl()
2573 get_msr(base_cpu, MSR_PKGC9_IRTL, &msr); in print_irtl()
2578 get_msr(base_cpu, MSR_PKGC10_IRTL, &msr); in print_irtl()
3232 ret = get_msr(cpu, offset, &msr_cur); in get_msr_sum()
3259 ret = get_msr(cpu, offset, &msr_cur); in update_msr_sum()
3554 get_msr(base_cpu, MSR_PKG_CST_CONFIG_CONTROL, &msr); in probe_nhm_msrs()
3557 get_msr(base_cpu, MSR_PLATFORM_INFO, &msr); in probe_nhm_msrs()
3943 if (get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr)) in print_epb()
3987 if (get_msr(cpu, MSR_PM_ENABLE, &msr)) in print_hwp()
3997 if (get_msr(cpu, MSR_HWP_CAPABILITIES, &msr)) in print_hwp()
4008 if (get_msr(cpu, MSR_HWP_REQUEST, &msr)) in print_hwp()
4022 if (get_msr(cpu, MSR_HWP_REQUEST_PKG, &msr)) in print_hwp()
4035 if (get_msr(cpu, MSR_HWP_INTERRUPT, &msr)) in print_hwp()
4044 if (get_msr(cpu, MSR_HWP_STATUS, &msr)) in print_hwp()
4076 get_msr(cpu, MSR_CORE_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
4111 get_msr(cpu, MSR_GFX_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
4133 get_msr(cpu, MSR_RING_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
4161 if (!get_msr(base_cpu, MSR_PKG_POWER_INFO, &msr)) in get_tdp_intel()
4334 if (get_msr(base_cpu, MSR_RAPL_POWER_UNIT, &msr)) in rapl_probe_intel()
4383 if (get_msr(base_cpu, MSR_RAPL_PWR_UNIT, &msr)) in rapl_probe_amd()
4458 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_STATUS, &msr)) in print_thermal()
4465 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_INTERRUPT, &msr)) in print_thermal()
4478 if (get_msr(cpu, MSR_IA32_THERM_STATUS, &msr)) in print_thermal()
4486 if (get_msr(cpu, MSR_IA32_THERM_INTERRUPT, &msr)) in print_thermal()
4531 if (get_msr(cpu, MSR_RAPL_PWR_UNIT, &msr)) in print_rapl()
4535 if (get_msr(cpu, MSR_RAPL_POWER_UNIT, &msr)) in print_rapl()
4544 if (get_msr(cpu, MSR_PKG_POWER_INFO, &msr)) in print_rapl()
4558 if (get_msr(cpu, MSR_PKG_POWER_LIMIT, &msr)) in print_rapl()
4574 if (get_msr(cpu, MSR_DRAM_POWER_INFO, &msr)) in print_rapl()
4585 if (get_msr(cpu, MSR_DRAM_POWER_LIMIT, &msr)) in print_rapl()
4593 if (get_msr(cpu, MSR_PP0_POLICY, &msr)) in print_rapl()
4599 if (get_msr(cpu, MSR_PP0_POWER_LIMIT, &msr)) in print_rapl()
4606 if (get_msr(cpu, MSR_PP1_POLICY, &msr)) in print_rapl()
4611 if (get_msr(cpu, MSR_PP1_POWER_LIMIT, &msr)) in print_rapl()
4761 if (get_msr(base_cpu, MSR_FSB_FREQ, &msr)) in slm_bclk()
4830 if (get_msr(base_cpu, MSR_IA32_TEMPERATURE_TARGET, &msr)) in set_temperature_target()
4858 if (!get_msr(base_cpu, MSR_IA32_FEAT_CTL, &msr)) in decode_feature_control_msr()
4872 if (!get_msr(base_cpu, MSR_IA32_MISC_ENABLE, &msr)) in decode_misc_enable_msr()
4889 if (!get_msr(base_cpu, MSR_MISC_FEATURE_CONTROL, &msr)) in decode_misc_feature_control()
4914 if (!get_msr(base_cpu, MSR_MISC_PWR_MGMT, &msr)) in decode_misc_pwr_mgmt_msr()
4931 if (!get_msr(base_cpu, MSR_CC6_DEMOTION_POLICY_CONFIG, &msr)) in decode_c6_demotion_policy_msr()
4935 if (!get_msr(base_cpu, MSR_MC6_DEMOTION_POLICY_CONFIG, &msr)) in decode_c6_demotion_policy_msr()