Home
last modified time | relevance | path

Searched refs:cap_scale (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/kernel/sched/
Dpelt.h100 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()
Dpelt.c439 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()
Ddeadline.c226 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()
Dsched.h219 #define cap_scale(v, s) ((v)*(s) >> SCHED_CAPACITY_SHIFT) macro
335 return cap_scale(p->dl.dl_deadline, cap) >= p->dl.dl_runtime; in dl_task_fits_capacity()
/linux-5.19.10/drivers/power/supply/
Dab8500_fg.c134 struct ab8500_fg_cap_scaling cap_scale; member
1201 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 …]