Lines Matching refs:max_cap
391 unsigned int min_cap, max_cap;
397 max_cap = arch_scale_cpu_capacity(cpu);
398 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf,
400 if ((min_cap == 0) || (max_cap < min_cap))
402 return 1 + max_cap / CPPC_EM_CAP_STEP - min_cap / CPPC_EM_CAP_STEP;
421 unsigned int min_cap, max_cap;
430 max_cap = arch_scale_cpu_capacity(cpu_dev->id);
431 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf,
434 max_cap);
436 max_step = max_cap / CPPC_EM_CAP_STEP;
491 unsigned int max_cap;
497 max_cap = arch_scale_cpu_capacity(cpu_dev->id);
500 perf_step = CPPC_EM_CAP_STEP * perf_caps->highest_perf / max_cap;