Home
last modified time | relevance | path

Searched refs:SCHED_CAPACITY_SHIFT (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/arch/arm/kernel/
Dtopology.c150 >> (SCHED_CAPACITY_SHIFT+1); in parse_dt_topology()
153 >> (SCHED_CAPACITY_SHIFT-1)) + 1; in parse_dt_topology()
/linux-6.6.21/arch/arm64/kernel/
Dtopology.c138 ratio = ref_rate << (2 * SCHED_CAPACITY_SHIFT); in freq_inv_set_max_ratio()
177 scale = div64_u64(scale >> SCHED_CAPACITY_SHIFT, in amu_scale_freq_tick()
/linux-6.6.21/kernel/sched/
Dpelt.c144 sa->runnable_sum += runnable * contrib << SCHED_CAPACITY_SHIFT; in accumulate_sum()
146 sa->util_sum += contrib << SCHED_CAPACITY_SHIFT; in accumulate_sum()
Dpelt.h135 u32 divider = ((LOAD_AVG_MAX - 1024) << SCHED_CAPACITY_SHIFT) - LOAD_AVG_MAX; in update_idle_rq_clock_pelt()
Dcpufreq_schedutil.c284 boost = (sg_cpu->iowait_boost * max_cap) >> SCHED_CAPACITY_SHIFT; in sugov_iowait_apply()
Dsched.h220 #define cap_scale(v, s) ((v)*(s) >> SCHED_CAPACITY_SHIFT)
3016 return cap >= p->dl.dl_density >> (BW_SHIFT - SCHED_CAPACITY_SHIFT); in dl_task_fits_capacity()
Ddeadline.c148 return dl_bw_cpus(i) << SCHED_CAPACITY_SHIFT; in dl_bw_capacity()
Dfair.c4271 running_sum = se->avg.util_sum >> SCHED_CAPACITY_SHIFT; in update_tg_cfs_load()
4519 -(long)(removed_runnable * divider) >> SCHED_CAPACITY_SHIFT); in update_cfs_rq_load_avg()
Dcore.c10713 req.util = req.percent << SCHED_CAPACITY_SHIFT; in capacity_from_percent()
/linux-6.6.21/drivers/cpufreq/
Damd-pstate.c619 boost_ratio = div_u64(max_perf << SCHED_CAPACITY_SHIFT, in amd_get_max_freq()
622 max_freq = nominal_freq * boost_ratio >> SCHED_CAPACITY_SHIFT; in amd_get_max_freq()
656 lowest_nonlinear_ratio = div_u64(lowest_nonlinear_perf << SCHED_CAPACITY_SHIFT, in amd_get_lowest_nonlinear_freq()
659 lowest_nonlinear_freq = nominal_freq * lowest_nonlinear_ratio >> SCHED_CAPACITY_SHIFT; in amd_get_lowest_nonlinear_freq()
Dacpi-cpufreq.c664 return div_u64(highest_perf << SCHED_CAPACITY_SHIFT, nominal_perf); in get_max_boost_ratio()
839 policy->cpuinfo.max_freq = freq * max_boost_ratio >> SCHED_CAPACITY_SHIFT; in acpi_cpufreq_cpu_init()
Dcppc_cpufreq.c130 perf <<= SCHED_CAPACITY_SHIFT; in cppc_scale_freq_workfn()
/linux-6.6.21/drivers/base/
Darch_topology.c147 scale = (cur_freq << SCHED_CAPACITY_SHIFT) / max_freq; in topology_set_freq_scale()
289 capacity = div64_u64(capacity << SCHED_CAPACITY_SHIFT, in topology_normalize_cpu_scale()
/linux-6.6.21/arch/x86/kernel/cpu/
Daperfmperf.c357 if (check_shl_overflow(acnt, 2*SCHED_CAPACITY_SHIFT, &acnt)) in scale_freq_tick()
/linux-6.6.21/include/linux/
Dsched.h405 # define SCHED_CAPACITY_SHIFT SCHED_FIXEDPOINT_SHIFT macro
406 # define SCHED_CAPACITY_SCALE (1L << SCHED_CAPACITY_SHIFT)