/linux-master/kernel/sched/ |
H A D | cpufreq_schedutil.c | 282 * @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 D | cpudeadline.c | 123 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 D | rt.c | 464 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 D | fair.c | 7799 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 D | cppc_cpufreq.c | 391 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 D | energy_model.c | 220 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 D | erdma_main.c | 405 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 D | erdma.h | 171 u32 max_cap; member in struct:erdma_resource_cb
|
H A D | erdma_verbs.c | 255 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 D | acpi_power_meter.c | 72 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 D | llcc-qcom.c | 73 * @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);
|