Home
last modified time | relevance | path

Searched refs:cppc_perf (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/cpufreq/
H A Damd-pstate-ut.c118 struct cppc_perf_caps cppc_perf; in amd_pstate_ut_check_perf() local
131 ret = cppc_get_perf_caps(cpu, &cppc_perf); in amd_pstate_ut_check_perf()
137 highest_perf = cppc_perf.highest_perf; in amd_pstate_ut_check_perf()
138 nominal_perf = cppc_perf.nominal_perf; in amd_pstate_ut_check_perf()
139 lowest_nonlinear_perf = cppc_perf.lowest_nonlinear_perf; in amd_pstate_ut_check_perf()
140 lowest_perf = cppc_perf.lowest_perf; in amd_pstate_ut_check_perf()
H A Damd-pstate.c434 struct cppc_perf_caps cppc_perf; in shmem_init_perf() local
439 int ret = cppc_get_perf_caps(cpudata->cpu, &cppc_perf); in shmem_init_perf()
449 perf.min_limit_perf = cppc_perf.lowest_perf; in shmem_init_perf()
450 perf.nominal_perf = cppc_perf.nominal_perf; in shmem_init_perf()
451 perf.lowest_nonlinear_perf = cppc_perf.lowest_nonlinear_perf; in shmem_init_perf()
452 perf.lowest_perf = cppc_perf.lowest_perf; in shmem_init_perf()
454 WRITE_ONCE(cpudata->prefcore_ranking, cppc_perf.highest_perf); in shmem_init_perf()
907 struct cppc_perf_caps cppc_perf; in amd_pstate_init_freq() local
911 ret = cppc_get_perf_caps(cpudata->cpu, &cppc_perf); in amd_pstate_init_freq()
919 nominal_freq = cppc_perf.nominal_freq; in amd_pstate_init_freq()
[all …]
H A Dintel_pstate.c364 struct cppc_perf_caps cppc_perf; in intel_pstate_set_itmt_prio() local
368 ret = cppc_get_perf_caps(cpu, &cppc_perf); in intel_pstate_set_itmt_prio()
376 if (ret || cppc_perf.highest_perf == CPPC_MAX_PERF) in intel_pstate_set_itmt_prio()
377 cppc_perf.highest_perf = HWP_HIGHEST_PERF(READ_ONCE(all_cpu_data[cpu]->hwp_cap_cached)); in intel_pstate_set_itmt_prio()
384 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio()
387 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio()
388 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
390 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio()
391 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
407 struct cppc_perf_caps cppc_perf; in intel_pstate_get_cppc_guaranteed() local
[all …]