Home
last modified time | relevance | path

Searched refs:max_cap (Results 1 – 13 of 13) sorted by relevance

/linux/kernel/sched/
H A Dcpufreq_schedutil.c299 unsigned long max_cap) in sugov_iowait_apply() argument
326 return (sg_cpu->iowait_boost * max_cap) >> SCHED_CAPACITY_SHIFT; in sugov_iowait_apply()
372 u64 time, unsigned long max_cap, in sugov_update_single_common() argument
385 boost = sugov_iowait_apply(sg_cpu, time, max_cap); in sugov_update_single_common()
397 unsigned long max_cap; in sugov_update_single_freq() local
400 max_cap = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_update_single_freq()
402 if (!sugov_update_single_common(sg_cpu, time, max_cap, flags)) in sugov_update_single_freq()
405 next_f = get_next_freq(sg_policy, sg_cpu->util, max_cap); in sugov_update_single_freq()
437 unsigned long max_cap; in sugov_update_single_perf() local
449 max_cap = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_update_single_perf()
[all …]
H A Dcpudeadline.c123 unsigned long cap, max_cap = 0; in cpudl_find() local
136 if (cap > max_cap || in cpudl_find()
137 (cpu == task_cpu(p) && cap == max_cap)) { in cpudl_find()
138 max_cap = cap; in cpudl_find()
H A Drt.c462 unsigned int max_cap; in rt_task_fits_capacity() local
470 max_cap = uclamp_eff_value(p, UCLAMP_MAX); in rt_task_fits_capacity()
474 return cpu_cap >= min(min_cap, max_cap); in rt_task_fits_capacity()
H A Dfair.c8232 unsigned long busy_time, max_cap = arch_scale_cpu_capacity(prev_cpu); in eenv_task_busy_time() local
8235 if (unlikely(irq >= max_cap)) in eenv_task_busy_time()
8236 busy_time = max_cap; in eenv_task_busy_time()
8238 busy_time = scale_irq_capacity(task_util_est(p), irq, max_cap); in eenv_task_busy_time()
/linux/drivers/cpufreq/
H A Dcppc_cpufreq.c386 unsigned int min_cap, max_cap; in get_perf_level_count() local
392 max_cap = arch_scale_cpu_capacity(cpu); in get_perf_level_count()
393 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in get_perf_level_count()
395 if ((min_cap == 0) || (max_cap < min_cap)) in get_perf_level_count()
397 return 1 + max_cap / CPPC_EM_CAP_STEP - min_cap / CPPC_EM_CAP_STEP; in get_perf_level_count()
416 unsigned int min_cap, max_cap; in cppc_get_cpu_power() local
425 max_cap = arch_scale_cpu_capacity(cpu_dev->id); in cppc_get_cpu_power()
426 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in cppc_get_cpu_power()
429 max_cap); in cppc_get_cpu_power()
431 max_step = max_cap / CPPC_EM_CAP_STEP; in cppc_get_cpu_power()
[all …]
/linux/arch/x86/include/asm/
H A Dtopology.h286 void arch_set_cpu_capacity(int cpu, unsigned long cap, unsigned long max_cap,
297 unsigned long max_cap, in arch_set_cpu_capacity() argument
/linux/kernel/power/
H A Denergy_model.c220 u64 fmax, max_cap; in em_init_performance() local
235 max_cap = (u64) arch_scale_cpu_capacity(cpu); in em_init_performance()
237 table[i].performance = div64_u64(max_cap * table[i].frequency, in em_init_performance()
730 u64 max_cap) in em_adjust_new_capacity() argument
/linux/arch/x86/kernel/cpu/
H A Daperfmperf.c410 void arch_set_cpu_capacity(int cpu, unsigned long cap, unsigned long max_cap, in arch_set_cpu_capacity() argument
415 div_u64(cap << SCHED_CAPACITY_SHIFT, max_cap)); in arch_set_cpu_capacity()
/linux/drivers/infiniband/hw/erdma/
H A Derdma_main.c416 dev->res_cb[ERDMA_RES_TYPE_PD].max_cap = ERDMA_MAX_PD; in erdma_dev_attrs_init()
417 dev->res_cb[ERDMA_RES_TYPE_STAG_IDX].max_cap = dev->attrs.max_mr; in erdma_dev_attrs_init()
455 bitmap_zalloc(dev->res_cb[i].max_cap, GFP_KERNEL); in erdma_res_cb_init()
H A Derdma.h174 u32 max_cap; member
H A Derdma_verbs.c252 idx = find_next_zero_bit(res_cb->bitmap, res_cb->max_cap, in erdma_alloc_idx()
254 if (idx == res_cb->max_cap) { in erdma_alloc_idx()
255 idx = find_first_zero_bit(res_cb->bitmap, res_cb->max_cap); in erdma_alloc_idx()
256 if (idx == res_cb->max_cap) { in erdma_alloc_idx()
/linux/drivers/hwmon/
H A Dacpi_power_meter.c72 u64 max_cap; member
231 if (temp > resource->caps.max_cap || temp < resource->caps.min_cap) in set_cap()
411 val = resource->caps.max_cap * 1000; in show_val()
/linux/drivers/soc/qcom/
H A Dllcc-qcom.c113 u32 max_cap; member
839 desc->slice_size = cfg->max_cap; in llcc_slice_getd()
1032 max_cap_cacheline = MAX_CAP_TO_BYTES(config->max_cap); in _qcom_llcc_cfg_program()