Searched refs:SCHED_CAPACITY_SCALE (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/arch/x86/kernel/cpu/ |
D | aperfmperf.c | 87 static u64 arch_turbo_freq_ratio = SCHED_CAPACITY_SCALE; 88 static u64 arch_max_freq_ratio = SCHED_CAPACITY_SCALE; 92 arch_max_freq_ratio = turbo_disabled ? SCHED_CAPACITY_SCALE : in arch_set_max_freq_ratio() 279 turbo_ratio = div_u64(turbo_freq * SCHED_CAPACITY_SCALE, base_freq); in intel_set_max_freq_ratio() 339 DEFINE_PER_CPU(unsigned long, arch_freq_scale) = SCHED_CAPACITY_SCALE; 358 if (freq_scale > SCHED_CAPACITY_SCALE) in scale_freq_tick() 359 freq_scale = SCHED_CAPACITY_SCALE; in scale_freq_tick()
|
/linux-6.1.9/arch/x86/kernel/acpi/ |
D | cppc.c | 90 perf_ratio = div_u64(highest_perf * SCHED_CAPACITY_SCALE, nominal_perf); in amd_set_max_freq_ratio() 92 perf_ratio = (perf_ratio + SCHED_CAPACITY_SCALE) >> 1; in amd_set_max_freq_ratio()
|
/linux-6.1.9/include/linux/sched/ |
D | topology.h | 259 return SCHED_CAPACITY_SCALE; in arch_scale_cpu_capacity()
|
/linux-6.1.9/kernel/sched/ |
D | topology.c | 101 if (group->sgc->capacity != SCHED_CAPACITY_SCALE) in sched_domain_debug_one() 981 sg->sgc->capacity = SCHED_CAPACITY_SCALE * cpumask_weight(sg_span); in init_overlap_sched_group() 982 sg->sgc->min_capacity = SCHED_CAPACITY_SCALE; in init_overlap_sched_group() 983 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in init_overlap_sched_group() 1208 sg->sgc->capacity = SCHED_CAPACITY_SCALE * cpumask_weight(sched_group_span(sg)); in get_group() 1209 sg->sgc->min_capacity = SCHED_CAPACITY_SCALE; in get_group() 1210 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in get_group()
|
D | sched.h | 907 unsigned long value : bits_per(SCHED_CAPACITY_SCALE); 908 unsigned long tasks : BITS_PER_LONG - bits_per(SCHED_CAPACITY_SCALE); 2528 return SCHED_CAPACITY_SCALE; in arch_scale_freq_capacity() 2917 return (rq->dl.running_bw * SCHED_CAPACITY_SCALE) >> BW_SHIFT; in cpu_bw_dl() 3064 return max_util != SCHED_CAPACITY_SCALE && rq_util >= max_util; in uclamp_rq_is_capped() 3086 return SCHED_CAPACITY_SCALE; in uclamp_eff_value() 3109 return SCHED_CAPACITY_SCALE; in uclamp_rq_get()
|
D | cpufreq_schedutil.c | 9 #define IOWAIT_BOOST_MIN (SCHED_CAPACITY_SCALE / 8) 229 min_t(unsigned int, sg_cpu->iowait_boost << 1, SCHED_CAPACITY_SCALE); in sugov_iowait_boost()
|
D | core.c | 1300 static unsigned int __maybe_unused sysctl_sched_uclamp_util_min = SCHED_CAPACITY_SCALE; 1303 static unsigned int __maybe_unused sysctl_sched_uclamp_util_max = SCHED_CAPACITY_SCALE; 1320 static unsigned int sysctl_sched_uclamp_util_min_rt_default = SCHED_CAPACITY_SCALE; 1346 #define UCLAMP_BUCKET_DELTA DIV_ROUND_CLOSEST(SCHED_CAPACITY_SCALE, UCLAMP_BUCKETS) 1360 return SCHED_CAPACITY_SCALE; in uclamp_none() 1797 sysctl_sched_uclamp_util_max > SCHED_CAPACITY_SCALE || in sysctl_sched_uclamp_handler() 1798 sysctl_sched_uclamp_util_min_rt_default > SCHED_CAPACITY_SCALE) { in sysctl_sched_uclamp_handler() 1854 if (util_min + 1 > SCHED_CAPACITY_SCALE + 1) in uclamp_validate() 1861 if (util_max + 1 > SCHED_CAPACITY_SCALE + 1) in uclamp_validate() 9768 rq->cpu_capacity = rq->cpu_capacity_orig = SCHED_CAPACITY_SCALE; in sched_init() [all …]
|
D | fair.c | 4330 #define UTIL_EST_MARGIN (SCHED_CAPACITY_SCALE / 100) 4512 uclamp_max_fits = (capacity_orig == SCHED_CAPACITY_SCALE) && (uclamp_max == SCHED_CAPACITY_SCALE); in util_fits_cpu() 4548 if (util < uclamp_min && capacity_orig != SCHED_CAPACITY_SCALE) in util_fits_cpu() 9222 sgs->avg_load = (sgs->group_load * SCHED_CAPACITY_SCALE) / in update_sg_lb_stats() 9484 sgs->avg_load = (sgs->group_load * SCHED_CAPACITY_SCALE) / in update_sg_wakeup_stats() 9770 do_div(tmp, 10000 * SCHED_CAPACITY_SCALE); in update_idle_cpu_scan() 9771 tmp = min_t(long, tmp, SCHED_CAPACITY_SCALE); in update_idle_cpu_scan() 9772 y = SCHED_CAPACITY_SCALE - tmp; in update_idle_cpu_scan() 9776 do_div(y, SCHED_CAPACITY_SCALE); in update_idle_cpu_scan() 9986 local->avg_load = (local->group_load * SCHED_CAPACITY_SCALE) / in calculate_imbalance() [all …]
|
D | deadline.c | 145 capacity_orig_of(i) == SCHED_CAPACITY_SCALE) { in dl_bw_capacity() 193 return SCHED_CAPACITY_SCALE; in dl_bw_capacity()
|
/linux-6.1.9/arch/arm64/kernel/ |
D | topology.c | 180 scale = min_t(unsigned long, scale, SCHED_CAPACITY_SCALE); in amu_scale_freq_tick()
|
/linux-6.1.9/drivers/base/ |
D | arch_topology.c | 127 DEFINE_PER_CPU(unsigned long, arch_freq_scale) = SCHED_CAPACITY_SCALE; 153 DEFINE_PER_CPU(unsigned long, cpu_scale) = SCHED_CAPACITY_SCALE;
|
/linux-6.1.9/include/linux/ |
D | sched.h | 405 # define SCHED_CAPACITY_SCALE (1L << SCHED_CAPACITY_SHIFT) macro 702 unsigned int value : bits_per(SCHED_CAPACITY_SCALE);
|
/linux-6.1.9/drivers/cpufreq/ |
D | cppc_cpufreq.c | 477 #define CPPC_EM_COST_GAP (4 * SCHED_CAPACITY_SCALE * CPPC_EM_COST_STEP \
|
/linux-6.1.9/init/ |
D | Kconfig | 844 will be SCHED_CAPACITY_SCALE/UCLAMP_BUCKETS_COUNT. The higher the
|