Searched refs:cpupower_cpu_info (Results 1 – 13 of 13) sorted by relevance
26 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()
51 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()
83 struct cpupower_cpu_info { struct100 extern int get_cpu_info(struct cpupower_cpu_info *cpu_info); argument101 extern struct cpupower_cpu_info cpupower_cpu_info;
80 if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_HAS_TURBO_RATIO)) in msr_intel_get_turbo_ratio()
46 int get_cpu_info(struct cpupower_cpu_info *cpu_info) in get_cpu_info()
149 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 …]
32 struct cpupower_cpu_info cpupower_cpu_info; variable213 get_cpu_info(&cpupower_cpu_info); in main()
82 } else if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_PERF_BIAS)) { in cmd_info()
110 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()
150 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()
148 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()
170 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()
280 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()