Lines Matching refs:get_msr
374 int get_msr(int cpu, off_t offset, unsigned long long *msr) in get_msr() function
1650 if (get_msr(cpu, mp->msr_num, counterp)) in get_mp()
1739 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
1746 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
1751 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters()
1780 if (get_msr(cpu, MSR_SMI_COUNT, &msr)) in get_counters()
1785 if (get_msr(cpu, MSR_CORE_C1_RES, &t->c1)) in get_counters()
1799 if (get_msr(cpu, MSR_CORE_C3_RESIDENCY, &c->c3)) in get_counters()
1804 if (get_msr(cpu, MSR_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
1807 if (get_msr(cpu, MSR_KNL_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
1812 if (get_msr(cpu, MSR_CORE_C7_RESIDENCY, &c->c7)) in get_counters()
1816 if (get_msr(cpu, MSR_MODULE_C6_RES_MS, &c->mc6_us)) in get_counters()
1820 if (get_msr(cpu, MSR_IA32_THERM_STATUS, &msr)) in get_counters()
1835 if (get_msr(cpu, MSR_PKG_WEIGHTED_CORE_C0_RES, &p->pkg_wtd_core_c0)) in get_counters()
1839 if (get_msr(cpu, MSR_PKG_ANY_CORE_C0_RES, &p->pkg_any_core_c0)) in get_counters()
1843 if (get_msr(cpu, MSR_PKG_ANY_GFXE_C0_RES, &p->pkg_any_gfxe_c0)) in get_counters()
1847 if (get_msr(cpu, MSR_PKG_BOTH_CORE_GFXE_C0_RES, &p->pkg_both_core_gfxe_c0)) in get_counters()
1851 if (get_msr(cpu, MSR_PKG_C3_RESIDENCY, &p->pc3)) in get_counters()
1855 if (get_msr(cpu, MSR_ATOM_PKG_C6_RESIDENCY, &p->pc6)) in get_counters()
1858 if (get_msr(cpu, MSR_PKG_C6_RESIDENCY, &p->pc6)) in get_counters()
1864 if (get_msr(cpu, MSR_PKG_C2_RESIDENCY, &p->pc2)) in get_counters()
1867 if (get_msr(cpu, MSR_PKG_C7_RESIDENCY, &p->pc7)) in get_counters()
1870 if (get_msr(cpu, MSR_PKG_C8_RESIDENCY, &p->pc8)) in get_counters()
1873 if (get_msr(cpu, MSR_PKG_C9_RESIDENCY, &p->pc9)) in get_counters()
1876 if (get_msr(cpu, MSR_PKG_C10_RESIDENCY, &p->pc10)) in get_counters()
1885 if (get_msr(cpu, MSR_PKG_ENERGY_STATUS, &msr)) in get_counters()
1890 if (get_msr(cpu, MSR_PP0_ENERGY_STATUS, &msr)) in get_counters()
1895 if (get_msr(cpu, MSR_DRAM_ENERGY_STATUS, &msr)) in get_counters()
1900 if (get_msr(cpu, MSR_PP1_ENERGY_STATUS, &msr)) in get_counters()
1905 if (get_msr(cpu, MSR_PKG_PERF_STATUS, &msr)) in get_counters()
1910 if (get_msr(cpu, MSR_DRAM_PERF_STATUS, &msr)) in get_counters()
1915 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_STATUS, &msr)) in get_counters()
1984 get_msr(base_cpu, MSR_PLATFORM_INFO, &msr); in dump_nhm_platform_info()
1996 get_msr(base_cpu, MSR_IA32_POWER_CTL, &msr); in dump_nhm_platform_info()
2009 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT2, &msr); in dump_hsw_turbo_ratio_limits()
2031 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT1, &msr); in dump_ivt_turbo_ratio_limits()
2097 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in dump_turbo_ratio_limits()
2101 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT1, &core_counts); in dump_turbo_ratio_limits()
2163 get_msr(base_cpu, MSR_ATOM_CORE_RATIOS, &msr); in dump_atom_turbo_ratio_limits()
2181 get_msr(base_cpu, MSR_ATOM_CORE_TURBO_RATIOS, &msr); in dump_atom_turbo_ratio_limits()
2216 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in dump_knl_turbo_ratio_limits()
2269 get_msr(base_cpu, MSR_PKG_CST_CONFIG_CONTROL, &msr); in dump_nhm_cst_cfg()
2298 get_msr(base_cpu, MSR_CONFIG_TDP_NOMINAL, &msr); in dump_config_tdp()
2302 get_msr(base_cpu, MSR_CONFIG_TDP_LEVEL_1, &msr); in dump_config_tdp()
2312 get_msr(base_cpu, MSR_CONFIG_TDP_LEVEL_2, &msr); in dump_config_tdp()
2322 get_msr(base_cpu, MSR_CONFIG_TDP_CONTROL, &msr); in dump_config_tdp()
2329 get_msr(base_cpu, MSR_TURBO_ACTIVATION_RATIO, &msr); in dump_config_tdp()
2342 get_msr(base_cpu, MSR_PKGC3_IRTL, &msr); in print_irtl()
2347 get_msr(base_cpu, MSR_PKGC6_IRTL, &msr); in print_irtl()
2352 get_msr(base_cpu, MSR_PKGC7_IRTL, &msr); in print_irtl()
2360 get_msr(base_cpu, MSR_PKGC8_IRTL, &msr); in print_irtl()
2365 get_msr(base_cpu, MSR_PKGC9_IRTL, &msr); in print_irtl()
2370 get_msr(base_cpu, MSR_PKGC10_IRTL, &msr); in print_irtl()
3173 get_msr(base_cpu, MSR_PKG_CST_CONFIG_CONTROL, &msr); in probe_nhm_msrs()
3176 get_msr(base_cpu, MSR_PLATFORM_INFO, &msr); in probe_nhm_msrs()
3505 if (get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr)) in print_epb()
3549 if (get_msr(cpu, MSR_PM_ENABLE, &msr)) in print_hwp()
3559 if (get_msr(cpu, MSR_HWP_CAPABILITIES, &msr)) in print_hwp()
3570 if (get_msr(cpu, MSR_HWP_REQUEST, &msr)) in print_hwp()
3584 if (get_msr(cpu, MSR_HWP_REQUEST_PKG, &msr)) in print_hwp()
3597 if (get_msr(cpu, MSR_HWP_INTERRUPT, &msr)) in print_hwp()
3606 if (get_msr(cpu, MSR_HWP_STATUS, &msr)) in print_hwp()
3638 get_msr(cpu, MSR_CORE_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
3673 get_msr(cpu, MSR_GFX_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
3695 get_msr(cpu, MSR_RING_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
3723 if (!get_msr(base_cpu, MSR_PKG_POWER_INFO, &msr)) in get_tdp()
3883 if (get_msr(base_cpu, MSR_RAPL_POWER_UNIT, &msr)) in rapl_probe()
3957 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_STATUS, &msr)) in print_thermal()
3964 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_INTERRUPT, &msr)) in print_thermal()
3977 if (get_msr(cpu, MSR_IA32_THERM_STATUS, &msr)) in print_thermal()
3985 if (get_msr(cpu, MSR_IA32_THERM_INTERRUPT, &msr)) in print_thermal()
4027 if (get_msr(cpu, MSR_RAPL_POWER_UNIT, &msr)) in print_rapl()
4035 if (get_msr(cpu, MSR_PKG_POWER_INFO, &msr)) in print_rapl()
4049 if (get_msr(cpu, MSR_PKG_POWER_LIMIT, &msr)) in print_rapl()
4065 if (get_msr(cpu, MSR_DRAM_POWER_INFO, &msr)) in print_rapl()
4076 if (get_msr(cpu, MSR_DRAM_POWER_LIMIT, &msr)) in print_rapl()
4084 if (get_msr(cpu, MSR_PP0_POLICY, &msr)) in print_rapl()
4090 if (get_msr(cpu, MSR_PP0_POWER_LIMIT, &msr)) in print_rapl()
4097 if (get_msr(cpu, MSR_PP1_POLICY, &msr)) in print_rapl()
4102 if (get_msr(cpu, MSR_PP1_POWER_LIMIT, &msr)) in print_rapl()
4260 if (get_msr(base_cpu, MSR_FSB_FREQ, &msr)) in slm_bclk()
4329 if (get_msr(base_cpu, MSR_IA32_TEMPERATURE_TARGET, &msr)) in set_temperature_target()
4357 if (!get_msr(base_cpu, MSR_IA32_FEATURE_CONTROL, &msr)) in decode_feature_control_msr()
4371 if (!get_msr(base_cpu, MSR_IA32_MISC_ENABLE, &msr)) in decode_misc_enable_msr()
4388 if (!get_msr(base_cpu, MSR_MISC_FEATURE_CONTROL, &msr)) in decode_misc_feature_control()
4413 if (!get_msr(base_cpu, MSR_MISC_PWR_MGMT, &msr)) in decode_misc_pwr_mgmt_msr()
4430 if (!get_msr(base_cpu, MSR_CC6_DEMOTION_POLICY_CONFIG, &msr)) in decode_c6_demotion_policy_msr()
4434 if (!get_msr(base_cpu, MSR_MC6_DEMOTION_POLICY_CONFIG, &msr)) in decode_c6_demotion_policy_msr()