Searched refs:highest_perf (Results 1 – 9 of 9) sorted by relevance
| /drivers/cpufreq/ |
| A D | amd-pstate-ut.c | 116 u32 highest_perf = 0, nominal_perf = 0, lowest_nonlinear_perf = 0, lowest_perf = 0; in amd_pstate_ut_check_perf() local 137 highest_perf = cppc_perf.highest_perf; in amd_pstate_ut_check_perf() 148 highest_perf = FIELD_GET(AMD_CPPC_HIGHEST_PERF_MASK, cap1); in amd_pstate_ut_check_perf() 155 if (highest_perf != cur_perf.highest_perf && !cpudata->hw_prefcore) { in amd_pstate_ut_check_perf() 157 __func__, cpu, highest_perf, cur_perf.highest_perf); in amd_pstate_ut_check_perf() 170 if (!((highest_perf >= nominal_perf) && in amd_pstate_ut_check_perf() 175 __func__, cpu, highest_perf, nominal_perf, in amd_pstate_ut_check_perf()
|
| A D | amd-pstate-trace.h | 89 u8 highest_perf, 98 highest_perf, 107 __field(u8, highest_perf) 117 __entry->highest_perf = highest_perf; 129 (u8)__entry->highest_perf,
|
| A D | cppc_cpufreq.c | 367 perf_caps->highest_perf); in get_perf_level_count() 403 perf_caps->highest_perf); in cppc_get_cpu_power() 417 perf = perf_caps->highest_perf; in cppc_get_cpu_power() 424 perf = perf_caps->highest_perf; in cppc_get_cpu_power() 474 perf_step = CPPC_EM_CAP_STEP * perf_caps->highest_perf / max_cap; in cppc_get_cpu_cost() 598 caps->highest_perf : caps->nominal_perf); in cppc_cpufreq_cpu_init() 638 if (caps->highest_perf > caps->nominal_perf) in cppc_cpufreq_cpu_init() 642 policy->cur = cppc_perf_to_khz(caps, caps->highest_perf); in cppc_cpufreq_cpu_init() 643 cpu_data->perf_ctrls.desired_perf = caps->highest_perf; in cppc_cpufreq_cpu_init() 648 caps->highest_perf, cpu, ret); in cppc_cpufreq_cpu_init() [all …]
|
| A D | amd-pstate.c | 143 return (u8)clamp(perf_val, perf.lowest_perf, perf.highest_perf); in freq_to_perf() 249 perf.highest_perf, in msr_update_perf() 299 trace_amd_pstate_epp_perf(cpudata->cpu, perf.highest_perf, in msr_set_epp() 344 trace_amd_pstate_epp_perf(cpudata->cpu, perf.highest_perf, in shmem_set_epp() 420 perf.highest_perf = numerator; in msr_init_perf() 447 perf.highest_perf = numerator; in shmem_init_perf() 509 perf.highest_perf, in shmem_update_perf() 720 cap_perf = perf.highest_perf; in amd_pstate_adjust_perf() 1011 perf.highest_perf); in amd_pstate_cpu_init() 1112 return sysfs_emit(buf, "%u\n", cpudata->perf.highest_perf); in show_amd_pstate_highest_perf() [all …]
|
| A D | acpi-cpufreq.c | 636 u64 highest_perf, nominal_perf; in get_max_boost_ratio() local 650 ret = amd_get_boost_ratio_numerator(cpu, &highest_perf); in get_max_boost_ratio() 657 highest_perf = perf_caps.highest_perf; in get_max_boost_ratio() 665 if (!highest_perf || !nominal_perf) { in get_max_boost_ratio() 670 if (highest_perf < nominal_perf) { in get_max_boost_ratio() 675 return div_u64(highest_perf << SCHED_CAPACITY_SHIFT, nominal_perf); in get_max_boost_ratio()
|
| A D | amd-pstate.h | 37 u8 highest_perf; member
|
| A D | intel_pstate.c | 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()
|
| /drivers/acpi/ |
| A D | cppc_acpi.c | 177 show_cppc_data(cppc_get_perf_caps, cppc_perf_caps, highest_perf); 218 &highest_perf.attr, 1316 int cppc_get_highest_perf(int cpunum, u64 *highest_perf) in cppc_get_highest_perf() argument 1318 return cppc_get_reg_val(cpunum, HIGHEST_PERF, highest_perf); in cppc_get_highest_perf() 1385 perf_caps->highest_perf = high; in cppc_get_perf_caps() 1987 div = caps->highest_perf; in cppc_perf_to_khz() 2024 mul = caps->highest_perf; in cppc_khz_to_perf()
|
| /drivers/base/ |
| A D | arch_topology.c | 336 (perf_caps.highest_perf >= perf_caps.nominal_perf) && in topology_init_cpu_capacity_cppc() 337 (perf_caps.highest_perf >= perf_caps.lowest_perf)) { in topology_init_cpu_capacity_cppc() 338 raw_capacity[cpu] = perf_caps.highest_perf; in topology_init_cpu_capacity_cppc()
|
Completed in 29 milliseconds