| /linux/drivers/soc/qcom/ |
| H A D | llcc-qcom.c | 124 u32 max_cap; member 189 .max_cap = 768, 205 .max_cap = 256, 221 .max_cap = 2048, 230 .max_cap = 512, 239 .max_cap = 1024, 248 .max_cap = 512, 257 .max_cap = 1024, 265 .max_cap = 4096, 274 .max_cap = 1024, [all …]
|
| /linux/kernel/sched/ |
| H A D | cpufreq_schedutil.c | 327 unsigned long max_cap) in sugov_iowait_apply() argument 354 return (sg_cpu->iowait_boost * max_cap) >> SCHED_CAPACITY_SHIFT; in sugov_iowait_apply() 400 u64 time, unsigned long max_cap, in sugov_update_single_common() argument 413 boost = sugov_iowait_apply(sg_cpu, time, max_cap); in sugov_update_single_common() 425 unsigned long max_cap; in sugov_update_single_freq() local 428 max_cap = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_update_single_freq() 430 if (!sugov_update_single_common(sg_cpu, time, max_cap, flags)) in sugov_update_single_freq() 433 next_f = get_next_freq(sg_policy, sg_cpu->util, max_cap); in sugov_update_single_freq() 465 unsigned long max_cap; in sugov_update_single_perf() local 477 max_cap = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_update_single_perf() [all …]
|
| H A D | cpudeadline.c | 124 unsigned long cap, max_cap = 0; in cpudl_find() local 137 if (cap > max_cap || in cpudl_find() 138 (cpu == task_cpu(p) && cap == max_cap)) { in cpudl_find() 139 max_cap = cap; in cpudl_find()
|
| H A D | rt.c | 458 unsigned int max_cap; in rt_task_fits_capacity() local 466 max_cap = uclamp_eff_value(p, UCLAMP_MAX); in rt_task_fits_capacity() 470 return cpu_cap >= min(min_cap, max_cap); in rt_task_fits_capacity()
|
| H A D | fair.c | 8209 unsigned long busy_time, max_cap = arch_scale_cpu_capacity(prev_cpu); in eenv_task_busy_time() local 8212 if (unlikely(irq >= max_cap)) in eenv_task_busy_time() 8213 busy_time = max_cap; in eenv_task_busy_time() 8215 busy_time = scale_irq_capacity(task_util_est(p), irq, max_cap); in eenv_task_busy_time()
|
| /linux/drivers/cpufreq/ |
| H A D | cppc_cpufreq.c | 367 unsigned int min_cap, max_cap; in get_perf_level_count() local 373 max_cap = arch_scale_cpu_capacity(cpu); in get_perf_level_count() 374 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in get_perf_level_count() 376 if ((min_cap == 0) || (max_cap < min_cap)) in get_perf_level_count() 378 return 1 + max_cap / CPPC_EM_CAP_STEP - min_cap / CPPC_EM_CAP_STEP; in get_perf_level_count() 397 unsigned int min_cap, max_cap; in cppc_get_cpu_power() local 409 max_cap = arch_scale_cpu_capacity(cpu_dev->id); in cppc_get_cpu_power() 410 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in cppc_get_cpu_power() 413 max_cap); in cppc_get_cpu_power() 415 max_step = max_cap / CPPC_EM_CAP_STEP; in cppc_get_cpu_power() [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | topology.h | 306 void arch_set_cpu_capacity(int cpu, unsigned long cap, unsigned long max_cap, 317 unsigned long max_cap, in arch_set_cpu_capacity() argument
|
| /linux/drivers/infiniband/hw/erdma/ |
| H A D | erdma_main.c | 412 dev->res_cb[ERDMA_RES_TYPE_PD].max_cap = ERDMA_MAX_PD; in erdma_dev_attrs_init() 413 dev->res_cb[ERDMA_RES_TYPE_STAG_IDX].max_cap = dev->attrs.max_mr; in erdma_dev_attrs_init() 414 dev->res_cb[ERDMA_RES_TYPE_AH].max_cap = dev->attrs.max_ah; in erdma_dev_attrs_init() 453 bitmap_zalloc(dev->res_cb[i].max_cap, GFP_KERNEL); in erdma_res_cb_init()
|
| H A D | erdma.h | 174 u32 max_cap; member
|
| H A D | erdma_verbs.c | 261 idx = find_next_zero_bit(res_cb->bitmap, res_cb->max_cap, in erdma_alloc_idx() 263 if (idx == res_cb->max_cap) { in erdma_alloc_idx() 264 idx = find_first_zero_bit(res_cb->bitmap, res_cb->max_cap); in erdma_alloc_idx() 265 if (idx == res_cb->max_cap) { in erdma_alloc_idx()
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | aperfmperf.c | 411 void arch_set_cpu_capacity(int cpu, unsigned long cap, unsigned long max_cap, in arch_set_cpu_capacity() argument 416 div_u64(cap << SCHED_CAPACITY_SHIFT, max_cap)); in arch_set_cpu_capacity()
|
| /linux/kernel/power/ |
| H A D | energy_model.c | 208 u64 fmax, max_cap; in em_init_performance() local 223 max_cap = (u64) arch_scale_cpu_capacity(cpu); in em_init_performance() 225 table[i].performance = div64_u64(max_cap * table[i].frequency, in em_init_performance()
|
| /linux/drivers/hwmon/ |
| H A D | acpi_power_meter.c | 72 u64 max_cap; member 325 if (cap > resource->caps.max_cap || cap < resource->caps.min_cap) in set_cap() 475 *val = res->caps.max_cap * 1000; in power_meter_read()
|