Searched refs:max_cap (Results 1 - 11 of 11) sorted by relevance

/linux-master/kernel/sched/
H A Dcpufreq_schedutil.c282 * @max_cap: the max CPU capacity
297 unsigned long max_cap)
324 return (sg_cpu->iowait_boost * max_cap) >> SCHED_CAPACITY_SHIFT;
351 u64 time, unsigned long max_cap,
364 boost = sugov_iowait_apply(sg_cpu, time, max_cap);
376 unsigned long max_cap; local
379 max_cap = arch_scale_cpu_capacity(sg_cpu->cpu);
381 if (!sugov_update_single_common(sg_cpu, time, max_cap, flags))
384 next_f = get_next_freq(sg_policy, sg_cpu->util, max_cap);
422 unsigned long max_cap; local
296 sugov_iowait_apply(struct sugov_cpu *sg_cpu, u64 time, unsigned long max_cap) argument
350 sugov_update_single_common(struct sugov_cpu *sg_cpu, u64 time, unsigned long max_cap, unsigned int flags) argument
459 unsigned long util = 0, max_cap; local
[all...]
H A Dcpudeadline.c123 unsigned long cap, max_cap = 0; local
136 if (cap > max_cap ||
137 (cpu == task_cpu(p) && cap == max_cap)) {
138 max_cap = cap;
H A Drt.c464 unsigned int max_cap; local
472 max_cap = uclamp_eff_value(p, UCLAMP_MAX);
476 return cpu_cap >= min(min_cap, max_cap);
H A Dfair.c7799 unsigned long busy_time, max_cap = arch_scale_cpu_capacity(prev_cpu); local
7802 if (unlikely(irq >= max_cap))
7803 busy_time = max_cap;
7805 busy_time = scale_irq_capacity(task_util_est(p), irq, max_cap);
/linux-master/drivers/cpufreq/
H A Dcppc_cpufreq.c391 unsigned int min_cap, max_cap; local
397 max_cap = arch_scale_cpu_capacity(cpu);
398 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf,
400 if ((min_cap == 0) || (max_cap < min_cap))
402 return 1 + max_cap / CPPC_EM_CAP_STEP - min_cap / CPPC_EM_CAP_STEP;
421 unsigned int min_cap, max_cap; local
430 max_cap = arch_scale_cpu_capacity(cpu_dev->id);
431 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf,
434 max_cap);
436 max_step = max_cap / CPPC_EM_CAP_STE
491 unsigned int max_cap; local
[all...]
/linux-master/kernel/power/
H A Denergy_model.c220 u64 fmax, max_cap; local
235 max_cap = (u64) arch_scale_cpu_capacity(cpu);
237 table[i].performance = div64_u64(max_cap * table[i].frequency,
683 u64 max_cap)
681 em_adjust_new_capacity(struct device *dev, struct em_perf_domain *pd, u64 max_cap) argument
/linux-master/drivers/infiniband/hw/erdma/
H A Derdma_main.c405 dev->res_cb[ERDMA_RES_TYPE_PD].max_cap = ERDMA_MAX_PD;
406 dev->res_cb[ERDMA_RES_TYPE_STAG_IDX].max_cap = dev->attrs.max_mr;
444 bitmap_zalloc(dev->res_cb[i].max_cap, GFP_KERNEL);
H A Derdma.h171 u32 max_cap; member in struct:erdma_resource_cb
H A Derdma_verbs.c255 idx = find_next_zero_bit(res_cb->bitmap, res_cb->max_cap,
257 if (idx == res_cb->max_cap) {
258 idx = find_first_zero_bit(res_cb->bitmap, res_cb->max_cap);
259 if (idx == res_cb->max_cap) {
/linux-master/drivers/hwmon/
H A Dacpi_power_meter.c72 u64 max_cap; member in struct:acpi_power_meter_capabilities
231 if (temp > resource->caps.max_cap || temp < resource->caps.min_cap)
411 val = resource->caps.max_cap * 1000;
/linux-master/drivers/soc/qcom/
H A Dllcc-qcom.c73 * @max_cap: The maximum capacity of the cache slice provided in KB
112 u32 max_cap; member in struct:llcc_slice_config
804 desc->slice_size = cfg->max_cap;
995 max_cap_cacheline = MAX_CAP_TO_BYTES(config->max_cap);

Completed in 251 milliseconds