Home
last modified time | relevance | path

Searched refs:highest_perf (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-6.6/drivers/cpufreq/
H A Damd-pstate-ut.c119 * highest_perf >= nominal_perf > lowest_nonlinear_perf > lowest_perf > 0
124 u32 highest_perf = 0, nominal_perf = 0, lowest_nonlinear_perf = 0, lowest_perf = 0; in amd_pstate_ut_check_perf() local
144 highest_perf = cppc_perf.highest_perf; in amd_pstate_ut_check_perf()
156 highest_perf = AMD_CPPC_HIGHEST_PERF(cap1); in amd_pstate_ut_check_perf()
162 if ((highest_perf != READ_ONCE(cpudata->highest_perf)) || in amd_pstate_ut_check_perf()
168 __func__, cpu, highest_perf, cpudata->highest_perf, in amd_pstate_ut_check_perf()
175 if (!((highest_perf > in amd_pstate_ut_check_perf()
[all...]
H A Damd-pstate.c293 u32 highest_perf; in pstate_init_perf() local
305 highest_perf = amd_get_highest_perf(); in pstate_init_perf()
306 if (highest_perf > AMD_CPPC_HIGHEST_PERF(cap1)) in pstate_init_perf()
307 highest_perf = AMD_CPPC_HIGHEST_PERF(cap1); in pstate_init_perf()
309 WRITE_ONCE(cpudata->highest_perf, highest_perf); in pstate_init_perf()
310 WRITE_ONCE(cpudata->max_limit_perf, highest_perf); in pstate_init_perf()
321 u32 highest_perf; in cppc_init_perf() local
327 highest_perf = amd_get_highest_perf(); in cppc_init_perf()
328 if (highest_perf > cppc_per in cppc_init_perf()
692 u32 highest_perf, nominal_perf; amd_pstate_boost_init() local
[all...]
H A Dcppc_cpufreq.c131 local_freq_scale = div64_u64(perf, cpu_data->perf_caps.highest_perf); in cppc_scale_freq_workfn()
347 div = caps->highest_perf; in cppc_cpufreq_perf_to_khz()
371 mul = caps->highest_perf; in cppc_cpufreq_khz_to_perf()
494 perf_caps->highest_perf); in get_perf_level_count()
527 perf_caps->highest_perf); in cppc_get_cpu_power()
528 perf_step = div_u64((u64)CPPC_EM_CAP_STEP * perf_caps->highest_perf, in cppc_get_cpu_power()
541 perf = perf_caps->highest_perf; in cppc_get_cpu_power()
548 perf = perf_caps->highest_perf; in cppc_get_cpu_power()
595 perf_step = CPPC_EM_CAP_STEP * perf_caps->highest_perf / max_cap; in cppc_get_cpu_cost()
769 * If 'highest_perf' i in cppc_cpufreq_cpu_init()
[all...]
H A Dacpi-cpufreq.c634 u64 highest_perf, nominal_perf; in get_max_boost_ratio() local
648 highest_perf = amd_get_highest_perf(); in get_max_boost_ratio()
650 highest_perf = perf_caps.highest_perf; in get_max_boost_ratio()
654 if (!highest_perf || !nominal_perf) { in get_max_boost_ratio()
659 if (highest_perf < nominal_perf) { in get_max_boost_ratio()
664 return div_u64(highest_perf << SCHED_CAPACITY_SHIFT, nominal_perf); in get_max_boost_ratio()
H A Dintel_pstate.c363 * On some systems with overclocking enabled, CPPC.highest_perf is hardcoded to 0xff. in intel_pstate_set_itmt_prio()
364 * In this case we can't use CPPC.highest_perf to enable ITMT. in intel_pstate_set_itmt_prio()
367 if (cppc_perf.highest_perf == CPPC_MAX_PERF) in intel_pstate_set_itmt_prio()
368 cppc_perf.highest_perf = HWP_HIGHEST_PERF(READ_ONCE(all_cpu_data[cpu]->hwp_cap_cached)); in intel_pstate_set_itmt_prio()
375 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio()
378 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio()
379 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
381 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio()
382 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
/kernel/linux/linux-6.6/arch/x86/kernel/acpi/
H A Dcppc.c72 u64 highest_perf, nominal_perf; in amd_set_max_freq_ratio() local
82 highest_perf = amd_get_highest_perf(); in amd_set_max_freq_ratio()
85 if (!highest_perf || !nominal_perf) { in amd_set_max_freq_ratio()
90 perf_ratio = div_u64(highest_perf * SCHED_CAPACITY_SCALE, nominal_perf); in amd_set_max_freq_ratio()
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dcppc_cpufreq.c118 div = caps->highest_perf; in cppc_cpufreq_perf_to_khz()
141 mul = caps->highest_perf; in cppc_cpufreq_khz_to_perf()
302 * If 'highest_perf' is greater than 'nominal_perf', we assume CPU Boost in cppc_cpufreq_cpu_init()
305 if (cpu->perf_caps.highest_perf > cpu->perf_caps.nominal_perf) in cppc_cpufreq_cpu_init()
310 cpu->perf_caps.highest_perf); in cppc_cpufreq_cpu_init()
311 cpu->perf_ctrls.desired_perf = cpu->perf_caps.highest_perf; in cppc_cpufreq_cpu_init()
316 cpu->perf_caps.highest_perf, cpu_num, ret); in cppc_cpufreq_cpu_init()
385 cpudata->perf_caps.highest_perf); in cppc_cpufreq_set_boost()
H A Dacpi-cpufreq.c636 u64 highest_perf, nominal_perf; in get_max_boost_ratio() local
649 highest_perf = perf_caps.highest_perf; in get_max_boost_ratio()
652 if (!highest_perf || !nominal_perf) { in get_max_boost_ratio()
657 if (highest_perf < nominal_perf) { in get_max_boost_ratio()
662 return div_u64(highest_perf << SCHED_CAPACITY_SHIFT, nominal_perf); in get_max_boost_ratio()
H A Dintel_pstate.c358 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio()
361 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio()
362 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
364 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio()
365 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
/kernel/linux/linux-6.6/tools/power/cpupower/utils/helpers/
H A Damd.c180 unsigned long highest_perf, nominal_perf, cpuinfo_min, in amd_pstate_boost_init() local
183 highest_perf = amd_pstate_get_data(cpu, AMD_PSTATE_HIGHEST_PERF); in amd_pstate_boost_init()
186 *support = highest_perf > nominal_perf ? 1 : 0; in amd_pstate_boost_init()
/kernel/linux/linux-6.6/include/linux/
H A Damd-pstate.h40 * @highest_perf: the maximum performance an individual processor may reach,
47 * @max_freq: the frequency that mapped to highest_perf
69 u32 highest_perf; member
/kernel/linux/linux-5.10/include/acpi/
H A Dcppc_acpi.h104 u32 highest_perf; member
/kernel/linux/linux-6.6/drivers/base/
H A Darch_topology.c366 (perf_caps.highest_perf >= perf_caps.nominal_perf) && in topology_init_cpu_capacity_cppc()
367 (perf_caps.highest_perf >= perf_caps.lowest_perf)) { in topology_init_cpu_capacity_cppc()
368 raw_capacity[cpu] = perf_caps.highest_perf; in topology_init_cpu_capacity_cppc()
/kernel/linux/linux-6.6/include/acpi/
H A Dcppc_acpi.h105 u32 highest_perf; member
/kernel/linux/linux-5.10/drivers/acpi/
H A Dcppc_acpi.c144 show_cppc_data(cppc_get_perf_caps, cppc_perf_caps, highest_perf);
174 &highest_perf.attr,
1116 perf_caps->highest_perf = high; in cppc_get_perf_caps()
/kernel/linux/linux-6.6/drivers/acpi/
H A Dcppc_acpi.c156 show_cppc_data(cppc_get_perf_caps, cppc_perf_caps, highest_perf);
186 &highest_perf.attr,
1220 perf_caps->highest_perf = high; in cppc_get_perf_caps()

Completed in 21 milliseconds