Lines Matching refs:max_cap
486 unsigned int min_cap, max_cap;
492 max_cap = arch_scale_cpu_capacity(cpu);
493 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf,
495 if ((min_cap == 0) || (max_cap < min_cap))
497 return 1 + max_cap / CPPC_EM_CAP_STEP - min_cap / CPPC_EM_CAP_STEP;
516 unsigned int min_cap, max_cap;
525 max_cap = arch_scale_cpu_capacity(cpu_dev->id);
526 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf,
529 max_cap);
531 max_step = max_cap / CPPC_EM_CAP_STEP;
586 unsigned int max_cap;
592 max_cap = arch_scale_cpu_capacity(cpu_dev->id);
595 perf_step = CPPC_EM_CAP_STEP * perf_caps->highest_perf / max_cap;