Searched refs:perf_caps (Results 1 – 6 of 6) sorted by relevance
131 local_freq_scale = div64_u64(perf, cpu_data->perf_caps.highest_perf); in cppc_scale_freq_workfn()331 struct cppc_perf_caps *caps = &cpu_data->perf_caps; in cppc_cpufreq_perf_to_khz()356 struct cppc_perf_caps *caps = &cpu_data->perf_caps; in cppc_cpufreq_khz_to_perf()482 struct cppc_perf_caps *perf_caps; in get_perf_level_count() local488 perf_caps = &cpu_data->perf_caps; in get_perf_level_count()490 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in get_perf_level_count()491 perf_caps->highest_perf); in get_perf_level_count()516 struct cppc_perf_caps *perf_caps; in cppc_get_cpu_power() local521 perf_caps = &cpu_data->perf_caps; in cppc_get_cpu_power()523 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in cppc_get_cpu_power()[all …]
640 struct cppc_perf_caps perf_caps; in get_max_boost_ratio() local647 ret = cppc_get_perf_caps(cpu, &perf_caps); in get_max_boost_ratio()657 highest_perf = perf_caps.highest_perf; in get_max_boost_ratio()659 nominal_perf = perf_caps.nominal_perf; in get_max_boost_ratio()
71 struct cppc_perf_caps perf_caps; in amd_set_max_freq_ratio() local76 rc = cppc_get_perf_caps(0, &perf_caps); in amd_set_max_freq_ratio()83 nominal_perf = perf_caps.nominal_perf; in amd_set_max_freq_ratio()
353 struct cppc_perf_caps perf_caps; in topology_init_cpu_capacity_cppc() local365 if (!cppc_get_perf_caps(cpu, &perf_caps) && in topology_init_cpu_capacity_cppc()366 (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()
1163 int cppc_get_perf_caps(int cpunum, struct cppc_perf_caps *perf_caps) in cppc_get_perf_caps() argument1206 perf_caps->highest_perf = high; in cppc_get_perf_caps()1209 perf_caps->lowest_perf = low; in cppc_get_perf_caps()1212 perf_caps->nominal_perf = nom; in cppc_get_perf_caps()1216 perf_caps->guaranteed_perf = 0; in cppc_get_perf_caps()1219 perf_caps->guaranteed_perf = guaranteed; in cppc_get_perf_caps()1223 perf_caps->lowest_nonlinear_perf = min_nonlinear; in cppc_get_perf_caps()1235 perf_caps->lowest_freq = low_f; in cppc_get_perf_caps()1236 perf_caps->nominal_freq = nom_f; in cppc_get_perf_caps()
129 struct cppc_perf_caps perf_caps; member