Lines Matching defs:max_cap
443 unsigned int min_cap, max_cap;
449 max_cap = arch_scale_cpu_capacity(cpu);
450 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf,
452 if ((min_cap == 0) || (max_cap < min_cap))
454 return 1 + max_cap / CPPC_EM_CAP_STEP - min_cap / CPPC_EM_CAP_STEP;
473 unsigned int min_cap, max_cap;
485 max_cap = arch_scale_cpu_capacity(cpu_dev->id);
486 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf,
489 max_cap);
491 max_step = max_cap / CPPC_EM_CAP_STEP;
546 unsigned int max_cap;
555 max_cap = arch_scale_cpu_capacity(cpu_dev->id);
558 perf_step = CPPC_EM_CAP_STEP * perf_caps->highest_perf / max_cap;