Home
last modified time | relevance | path

Searched refs:cpupower_cpu_info (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/tools/power/cpupower/utils/helpers/
Dmisc.c26 if (cpupower_cpu_info.caps & CPUPOWER_CAP_AMD_CPB) { in cpufreq_has_boost_support()
34 if (cpupower_cpu_info.caps & CPUPOWER_CAP_AMD_CPB_MSR) { in cpufreq_has_boost_support()
44 } else if (cpupower_cpu_info.caps & CPUPOWER_CAP_AMD_PSTATE) { in cpufreq_has_boost_support()
46 } else if (cpupower_cpu_info.caps & CPUPOWER_CAP_INTEL_IDA) in cpufreq_has_boost_support()
58 if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_PERF_BIAS)) in cpupower_intel_get_perf_bias()
78 if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_PERF_BIAS)) in cpupower_intel_set_perf_bias()
Damd.c51 if (cpupower_cpu_info.caps & CPUPOWER_CAP_AMD_PSTATEDEF) in get_did()
53 else if (cpupower_cpu_info.family == 0x12) in get_did()
67 if (cpupower_cpu_info.caps & CPUPOWER_CAP_AMD_PSTATEDEF) { in get_cof()
73 if (cpupower_cpu_info.family == 0x11) in get_cof()
102 if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_AMD_HW_PSTATE)) in decode_pstates()
Dhelpers.h83 struct cpupower_cpu_info { struct
100 extern int get_cpu_info(struct cpupower_cpu_info *cpu_info); argument
101 extern struct cpupower_cpu_info cpupower_cpu_info;
Dmsr.c80 if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_HAS_TURBO_RATIO)) in msr_intel_get_turbo_ratio()
Dcpuid.c46 int get_cpu_info(struct cpupower_cpu_info *cpu_info) in get_cpu_info()
/Linux-v6.1/tools/power/cpupower/utils/
Dcpufreq-info.c149 if (cpupower_cpu_info.vendor == X86_VENDOR_AMD && in get_boost_mode_x86()
150 cpupower_cpu_info.caps & CPUPOWER_CAP_AMD_PSTATE) { in get_boost_mode_x86()
152 } else if ((cpupower_cpu_info.vendor == X86_VENDOR_AMD && in get_boost_mode_x86()
153 cpupower_cpu_info.family >= 0x10) || in get_boost_mode_x86()
154 cpupower_cpu_info.vendor == X86_VENDOR_HYGON) { in get_boost_mode_x86()
171 } else if (cpupower_cpu_info.caps & CPUPOWER_CAP_HAS_TURBO_RATIO) { in get_boost_mode_x86()
177 if (cpupower_cpu_info.caps & CPUPOWER_CAP_IS_SNB) in get_boost_mode_x86()
214 if (cpupower_cpu_info.vendor == X86_VENDOR_AMD || in get_boost_mode()
215 cpupower_cpu_info.vendor == X86_VENDOR_HYGON || in get_boost_mode()
216 cpupower_cpu_info.vendor == X86_VENDOR_INTEL) in get_boost_mode()
[all …]
Dcpupower.c32 struct cpupower_cpu_info cpupower_cpu_info; variable
213 get_cpu_info(&cpupower_cpu_info); in main()
Dcpupower-info.c82 } else if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_PERF_BIAS)) { in cmd_info()
/Linux-v6.1/tools/power/cpupower/utils/idle_monitor/
Dmperf_monitor.c110 if (cpupower_cpu_info.caps & CPUPOWER_CAP_AMD_RDPRU) { in get_aperf_mperf()
279 if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_INV_TSC)) in init_maxfreq_mode()
282 if (cpupower_cpu_info.vendor == X86_VENDOR_AMD || in init_maxfreq_mode()
283 cpupower_cpu_info.vendor == X86_VENDOR_HYGON) { in init_maxfreq_mode()
307 } else if (cpupower_cpu_info.vendor == X86_VENDOR_INTEL) { in init_maxfreq_mode()
341 if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_APERF)) in mperf_register()
347 if (cpupower_cpu_info.vendor == X86_VENDOR_AMD) in mperf_register()
Dhsw_ext_idle.c150 if (cpupower_cpu_info.vendor != X86_VENDOR_INTEL in hsw_ext_register()
151 || cpupower_cpu_info.family != 6) in hsw_ext_register()
154 switch (cpupower_cpu_info.model) { in hsw_ext_register()
Dsnb_idle.c148 if (cpupower_cpu_info.vendor != X86_VENDOR_INTEL in snb_register()
149 || cpupower_cpu_info.family != 6) in snb_register()
152 switch (cpupower_cpu_info.model) { in snb_register()
Dnhm_idle.c170 if (cpupower_cpu_info.vendor != X86_VENDOR_INTEL) in intel_nhm_register()
173 if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_INV_TSC)) in intel_nhm_register()
176 if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_APERF)) in intel_nhm_register()
Damd_fam14h_idle.c280 if (cpupower_cpu_info.vendor != X86_VENDOR_AMD) in amd_fam14h_register()
283 if (cpupower_cpu_info.family == 0x14) in amd_fam14h_register()
286 else if (cpupower_cpu_info.family == 0x12) in amd_fam14h_register()