Lines Matching refs:perf_caps
88 struct cppc_perf_caps *caps = &cpu->perf_caps; in cppc_cpufreq_perf_to_khz()
103 div = cpu->perf_caps.highest_perf; in cppc_cpufreq_perf_to_khz()
112 struct cppc_perf_caps *caps = &cpu->perf_caps; in cppc_cpufreq_khz_to_perf()
126 mul = cpu->perf_caps.highest_perf; in cppc_cpufreq_khz_to_perf()
176 cpu->perf_ctrls.desired_perf = cpu->perf_caps.lowest_perf; in cppc_cpufreq_stop_cpu()
181 cpu->perf_caps.lowest_perf, cpu_num, ret); in cppc_cpufreq_stop_cpu()
236 ret = cppc_get_perf_caps(policy->cpu, &cpu->perf_caps); in cppc_cpufreq_cpu_init()
245 cpu->perf_caps.lowest_freq *= 1000; in cppc_cpufreq_cpu_init()
246 cpu->perf_caps.nominal_freq *= 1000; in cppc_cpufreq_cpu_init()
252 policy->min = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.lowest_nonlinear_perf); in cppc_cpufreq_cpu_init()
253 policy->max = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.highest_perf); in cppc_cpufreq_cpu_init()
260 policy->cpuinfo.min_freq = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.lowest_perf); in cppc_cpufreq_cpu_init()
261 policy->cpuinfo.max_freq = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.highest_perf); in cppc_cpufreq_cpu_init()
275 memcpy(&all_cpu_data[i]->perf_caps, &cpu->perf_caps, in cppc_cpufreq_cpu_init()
276 sizeof(cpu->perf_caps)); in cppc_cpufreq_cpu_init()
288 cpu->perf_caps.highest_perf); in cppc_cpufreq_cpu_init()
289 cpu->perf_ctrls.desired_perf = cpu->perf_caps.highest_perf; in cppc_cpufreq_cpu_init()
294 cpu->perf_caps.highest_perf, cpu_num, ret); in cppc_cpufreq_cpu_init()