Searched refs:cap_scale (Results 1 – 5 of 5) sorted by relevance
118 delta = cap_scale(delta, arch_scale_cpu_capacity(cpu_of(rq))); in update_rq_clock_pelt()119 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()
230 cap_scale(dl_b->bw, cap) < dl_b->total_bw - old_bw + new_bw; in __dl_overflow()1350 scaled_delta_exec = cap_scale(delta_exec, scale_freq); in update_curr_dl()1351 scaled_delta_exec = cap_scale(scaled_delta_exec, scale_cpu); in update_curr_dl()
220 #define cap_scale(v, s) ((v)*(s) >> SCHED_CAPACITY_SHIFT) macro
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 …]