Searched refs:cap_scale (Results 1 – 5 of 5) sorted by relevance
100 delta = cap_scale(delta, arch_scale_cpu_capacity(cpu_of(rq))); in update_rq_clock_pelt()101 delta = cap_scale(delta, arch_scale_freq_capacity(cpu_of(rq))); in update_rq_clock_pelt()
439 running = cap_scale(running, arch_scale_freq_capacity(cpu_of(rq))); in update_irq_load_avg()440 running = cap_scale(running, arch_scale_cpu_capacity(cpu_of(rq))); in update_irq_load_avg()
226 cap_scale(dl_b->bw, cap) < dl_b->total_bw - old_bw + new_bw; in __dl_overflow()1358 scaled_delta_exec = cap_scale(delta_exec, scale_freq); in update_curr_dl()1359 scaled_delta_exec = cap_scale(scaled_delta_exec, scale_cpu); in update_curr_dl()
219 #define cap_scale(v, s) ((v)*(s) >> SCHED_CAPACITY_SHIFT) macro335 return cap_scale(p->dl.dl_deadline, cap) >= p->dl.dl_runtime; in dl_task_fits_capacity()
134 struct ab8500_fg_cap_scaling cap_scale; member1201 struct ab8500_fg_cap_scaling *cs = &di->bat_cap.cap_scale; in ab8500_fg_calculate_scaled_capacity()1259 struct ab8500_fg_cap_scaling *cs = &di->bat_cap.cap_scale; in ab8500_fg_update_cap_scalers()1264 di->bat_cap.cap_scale.disable_cap_level = in ab8500_fg_update_cap_scalers()1265 di->bat_cap.cap_scale.scaled_cap; in ab8500_fg_update_cap_scalers()1267 di->bat_cap.cap_scale.disable_cap_level); in ab8500_fg_update_cap_scalers()1342 if (!di->bat_cap.cap_scale.enable && in ab8500_fg_check_capacity_limits()1344 di->bat_cap.cap_scale.enable = true; in ab8500_fg_check_capacity_limits()1345 di->bat_cap.cap_scale.cap_to_scale[0] = 100; in ab8500_fg_check_capacity_limits()1346 di->bat_cap.cap_scale.cap_to_scale[1] = in ab8500_fg_check_capacity_limits()[all …]