Lines Matching refs:perf_caps

103 	struct cppc_perf_caps *caps = &cpu->perf_caps;  in cppc_cpufreq_perf_to_khz()
127 struct cppc_perf_caps *caps = &cpu->perf_caps; in cppc_cpufreq_khz_to_perf()
191 cpu->perf_ctrls.desired_perf = cpu->perf_caps.lowest_perf; in cppc_cpufreq_stop_cpu()
196 cpu->perf_caps.lowest_perf, cpu_num, ret); in cppc_cpufreq_stop_cpu()
251 ret = cppc_get_perf_caps(policy->cpu, &cpu->perf_caps); in cppc_cpufreq_cpu_init()
260 cpu->perf_caps.lowest_freq *= 1000; in cppc_cpufreq_cpu_init()
261 cpu->perf_caps.nominal_freq *= 1000; in cppc_cpufreq_cpu_init()
267 policy->min = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.lowest_nonlinear_perf); in cppc_cpufreq_cpu_init()
268 policy->max = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.nominal_perf); in cppc_cpufreq_cpu_init()
275 policy->cpuinfo.min_freq = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.lowest_perf); in cppc_cpufreq_cpu_init()
276 policy->cpuinfo.max_freq = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.nominal_perf); in cppc_cpufreq_cpu_init()
290 memcpy(&all_cpu_data[i]->perf_caps, &cpu->perf_caps, in cppc_cpufreq_cpu_init()
291 sizeof(cpu->perf_caps)); 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()
388 cpudata->perf_caps.nominal_perf); in cppc_cpufreq_set_boost()