Lines Matching refs:get_msr
266 int get_msr(int cpu, off_t offset, unsigned long long *msr) in get_msr() function
992 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
994 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters()
1001 if (get_msr(cpu, MSR_SMI_COUNT, &msr)) in get_counters()
1006 if (get_msr(cpu, extra_delta_offset32, &msr)) in get_counters()
1012 if (get_msr(cpu, extra_delta_offset64, &t->extra_delta64)) in get_counters()
1016 if (get_msr(cpu, extra_msr_offset32, &msr)) in get_counters()
1022 if (get_msr(cpu, extra_msr_offset64, &t->extra_msr64)) in get_counters()
1026 if (get_msr(cpu, MSR_CORE_C1_RES, &t->c1)) in get_counters()
1035 if (get_msr(cpu, MSR_CORE_C3_RESIDENCY, &c->c3)) in get_counters()
1040 if (get_msr(cpu, MSR_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
1043 if (get_msr(cpu, MSR_KNL_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
1048 if (get_msr(cpu, MSR_CORE_C7_RESIDENCY, &c->c7)) in get_counters()
1052 if (get_msr(cpu, MSR_IA32_THERM_STATUS, &msr)) in get_counters()
1063 if (get_msr(cpu, MSR_PKG_WEIGHTED_CORE_C0_RES, &p->pkg_wtd_core_c0)) in get_counters()
1065 if (get_msr(cpu, MSR_PKG_ANY_CORE_C0_RES, &p->pkg_any_core_c0)) in get_counters()
1067 if (get_msr(cpu, MSR_PKG_ANY_GFXE_C0_RES, &p->pkg_any_gfxe_c0)) in get_counters()
1069 if (get_msr(cpu, MSR_PKG_BOTH_CORE_GFXE_C0_RES, &p->pkg_both_core_gfxe_c0)) in get_counters()
1073 if (get_msr(cpu, MSR_PKG_C3_RESIDENCY, &p->pc3)) in get_counters()
1076 if (get_msr(cpu, MSR_PKG_C6_RESIDENCY, &p->pc6)) in get_counters()
1079 if (get_msr(cpu, MSR_PKG_C2_RESIDENCY, &p->pc2)) in get_counters()
1082 if (get_msr(cpu, MSR_PKG_C7_RESIDENCY, &p->pc7)) in get_counters()
1085 if (get_msr(cpu, MSR_PKG_C8_RESIDENCY, &p->pc8)) in get_counters()
1087 if (get_msr(cpu, MSR_PKG_C9_RESIDENCY, &p->pc9)) in get_counters()
1089 if (get_msr(cpu, MSR_PKG_C10_RESIDENCY, &p->pc10)) in get_counters()
1093 if (get_msr(cpu, MSR_PKG_ENERGY_STATUS, &msr)) in get_counters()
1098 if (get_msr(cpu, MSR_PP0_ENERGY_STATUS, &msr)) in get_counters()
1103 if (get_msr(cpu, MSR_DRAM_ENERGY_STATUS, &msr)) in get_counters()
1108 if (get_msr(cpu, MSR_PP1_ENERGY_STATUS, &msr)) in get_counters()
1113 if (get_msr(cpu, MSR_PKG_PERF_STATUS, &msr)) in get_counters()
1118 if (get_msr(cpu, MSR_DRAM_PERF_STATUS, &msr)) in get_counters()
1123 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_STATUS, &msr)) in get_counters()
1176 get_msr(base_cpu, MSR_PLATFORM_INFO, &msr); in dump_nhm_platform_info()
1188 get_msr(base_cpu, MSR_IA32_POWER_CTL, &msr); in dump_nhm_platform_info()
1201 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT2, &msr); in dump_hsw_turbo_ratio_limits()
1223 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT1, &msr); in dump_ivt_turbo_ratio_limits()
1275 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in dump_nhm_turbo_ratio_limits()
1331 get_msr(base_cpu, MSR_NHM_TURBO_RATIO_LIMIT, &msr); in dump_knl_turbo_ratio_limits()
1387 get_msr(base_cpu, MSR_NHM_SNB_PKG_CST_CFG_CTL, &msr); in dump_nhm_cst_cfg()
1410 get_msr(base_cpu, MSR_CONFIG_TDP_NOMINAL, &msr); in dump_config_tdp()
1414 get_msr(base_cpu, MSR_CONFIG_TDP_LEVEL_1, &msr); in dump_config_tdp()
1424 get_msr(base_cpu, MSR_CONFIG_TDP_LEVEL_2, &msr); in dump_config_tdp()
1434 get_msr(base_cpu, MSR_CONFIG_TDP_CONTROL, &msr); in dump_config_tdp()
1441 get_msr(base_cpu, MSR_TURBO_ACTIVATION_RATIO, &msr); in dump_config_tdp()
1876 get_msr(base_cpu, MSR_NHM_SNB_PKG_CST_CFG_CTL, &msr); in probe_nhm_msrs()
1879 get_msr(base_cpu, MSR_PLATFORM_INFO, &msr); in probe_nhm_msrs()
2023 if (get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr)) in print_epb()
2065 get_msr(cpu, MSR_CORE_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
2100 get_msr(cpu, MSR_GFX_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
2122 get_msr(cpu, MSR_RING_PERF_LIMIT_REASONS, &msr); in print_perf_limit()
2150 if (!get_msr(base_cpu, MSR_PKG_POWER_INFO, &msr)) in get_tdp()
2233 if (get_msr(base_cpu, MSR_RAPL_POWER_UNIT, &msr)) in rapl_probe()
2301 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_STATUS, &msr)) in print_thermal()
2309 if (get_msr(cpu, MSR_IA32_PACKAGE_THERM_INTERRUPT, &msr)) in print_thermal()
2323 if (get_msr(cpu, MSR_IA32_THERM_STATUS, &msr)) in print_thermal()
2332 if (get_msr(cpu, MSR_IA32_THERM_INTERRUPT, &msr)) in print_thermal()
2375 if (get_msr(cpu, MSR_RAPL_POWER_UNIT, &msr)) in print_rapl()
2385 if (get_msr(cpu, MSR_PKG_POWER_INFO, &msr)) in print_rapl()
2399 if (get_msr(cpu, MSR_PKG_POWER_LIMIT, &msr)) in print_rapl()
2415 if (get_msr(cpu, MSR_DRAM_POWER_INFO, &msr)) in print_rapl()
2426 if (get_msr(cpu, MSR_DRAM_POWER_LIMIT, &msr)) in print_rapl()
2435 if (get_msr(cpu, MSR_PP0_POLICY, &msr)) in print_rapl()
2444 if (get_msr(cpu, MSR_PP0_POWER_LIMIT, &msr)) in print_rapl()
2453 if (get_msr(cpu, MSR_PP1_POLICY, &msr)) in print_rapl()
2458 if (get_msr(cpu, MSR_PP1_POWER_LIMIT, &msr)) in print_rapl()
2585 if (get_msr(base_cpu, MSR_FSB_FREQ, &msr)) in slm_bclk()
2653 if (get_msr(base_cpu, MSR_IA32_TEMPERATURE_TARGET, &msr)) in set_temperature_target()