Lines Matching refs:perf_caps
144 struct cppc_perf_caps *caps = &cpu->perf_caps; in cppc_cpufreq_perf_to_khz()
159 div = cpu->perf_caps.highest_perf; in cppc_cpufreq_perf_to_khz()
168 struct cppc_perf_caps *caps = &cpu->perf_caps; in cppc_cpufreq_khz_to_perf()
182 mul = cpu->perf_caps.highest_perf; in cppc_cpufreq_khz_to_perf()
232 cpu->perf_ctrls.desired_perf = cpu->perf_caps.lowest_perf; in cppc_cpufreq_stop_cpu()
237 cpu->perf_caps.lowest_perf, cpu_num, ret); in cppc_cpufreq_stop_cpu()
292 ret = cppc_get_perf_caps(policy->cpu, &cpu->perf_caps); in cppc_cpufreq_cpu_init()
301 cpu->perf_caps.lowest_freq *= 1000; in cppc_cpufreq_cpu_init()
302 cpu->perf_caps.nominal_freq *= 1000; in cppc_cpufreq_cpu_init()
308 policy->min = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.lowest_nonlinear_perf); in cppc_cpufreq_cpu_init()
309 policy->max = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.highest_perf); in cppc_cpufreq_cpu_init()
316 policy->cpuinfo.min_freq = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.lowest_perf); in cppc_cpufreq_cpu_init()
317 policy->cpuinfo.max_freq = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.highest_perf); in cppc_cpufreq_cpu_init()
331 memcpy(&all_cpu_data[i]->perf_caps, &cpu->perf_caps, in cppc_cpufreq_cpu_init()
332 sizeof(cpu->perf_caps)); in cppc_cpufreq_cpu_init()
344 cpu->perf_caps.highest_perf); in cppc_cpufreq_cpu_init()
345 cpu->perf_ctrls.desired_perf = cpu->perf_caps.highest_perf; in cppc_cpufreq_cpu_init()
350 cpu->perf_caps.highest_perf, cpu_num, ret); in cppc_cpufreq_cpu_init()