Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/kernel/
H A Dtopology.c150 >> (SCHED_CAPACITY_SHIFT+1); in parse_dt_topology()
153 >> (SCHED_CAPACITY_SHIFT-1)) + 1; in parse_dt_topology()
/openbmc/linux/arch/arm64/kernel/
H A 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()
/openbmc/linux/kernel/sched/
H A Dpelt.c144 sa->runnable_sum += runnable * contrib << SCHED_CAPACITY_SHIFT; in accumulate_sum()
146 sa->util_sum += contrib << SCHED_CAPACITY_SHIFT; in accumulate_sum()
H A Dpelt.h135 u32 divider = ((LOAD_AVG_MAX - 1024) << SCHED_CAPACITY_SHIFT) - LOAD_AVG_MAX; in update_idle_rq_clock_pelt()
H A Dcpufreq_schedutil.c284 boost = (sg_cpu->iowait_boost * max_cap) >> SCHED_CAPACITY_SHIFT; in sugov_iowait_apply()
H A Dsched.h222 #define cap_scale(v, s) ((v)*(s) >> SCHED_CAPACITY_SHIFT)
3019 return cap >= p->dl.dl_density >> (BW_SHIFT - SCHED_CAPACITY_SHIFT); in dl_task_fits_capacity()
H A Ddeadline.c148 return dl_bw_cpus(i) << SCHED_CAPACITY_SHIFT; in dl_bw_capacity()
H A Dfair.c4352 running_sum = se->avg.util_sum >> SCHED_CAPACITY_SHIFT; in update_tg_cfs_load()
4600 -(long)(removed_runnable * divider) >> SCHED_CAPACITY_SHIFT); in update_cfs_rq_load_avg()
H A Dcore.c10740 req.util = req.percent << SCHED_CAPACITY_SHIFT; in capacity_from_percent()
/openbmc/linux/drivers/base/
H A 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()
/openbmc/linux/drivers/cpufreq/
H A Damd-pstate.c643 boost_ratio = div_u64(max_perf << SCHED_CAPACITY_SHIFT, in amd_get_max_freq()
646 max_freq = nominal_freq * boost_ratio >> SCHED_CAPACITY_SHIFT; in amd_get_max_freq()
680 lowest_nonlinear_ratio = div_u64(lowest_nonlinear_perf << SCHED_CAPACITY_SHIFT, in amd_get_lowest_nonlinear_freq()
683 lowest_nonlinear_freq = nominal_freq * lowest_nonlinear_ratio >> SCHED_CAPACITY_SHIFT; in amd_get_lowest_nonlinear_freq()
H A 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()
H A Dcppc_cpufreq.c123 perf <<= SCHED_CAPACITY_SHIFT; in cppc_scale_freq_workfn()
/openbmc/linux/arch/x86/kernel/cpu/
H A Daperfmperf.c357 if (check_shl_overflow(acnt, 2*SCHED_CAPACITY_SHIFT, &acnt)) in scale_freq_tick()
/openbmc/linux/include/linux/
H A Dsched.h405 # define SCHED_CAPACITY_SHIFT SCHED_FIXEDPOINT_SHIFT macro
406 # define SCHED_CAPACITY_SCALE (1L << SCHED_CAPACITY_SHIFT)