Searched refs:max_cap (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/drivers/cpufreq/ |
D | cppc_cpufreq.c | 483 unsigned int min_cap, max_cap; in get_perf_level_count() local 489 max_cap = arch_scale_cpu_capacity(cpu); in get_perf_level_count() 490 min_cap = div_u64(max_cap * perf_caps->lowest_perf, perf_caps->highest_perf); in get_perf_level_count() 491 if ((min_cap == 0) || (max_cap < min_cap)) in get_perf_level_count() 493 return 1 + max_cap / CPPC_EM_CAP_STEP - min_cap / CPPC_EM_CAP_STEP; in get_perf_level_count() 512 unsigned int min_cap, max_cap; in cppc_get_cpu_power() local 521 max_cap = arch_scale_cpu_capacity(cpu_dev->id); in cppc_get_cpu_power() 522 min_cap = div_u64(max_cap * perf_caps->lowest_perf, in cppc_get_cpu_power() 525 perf_step = CPPC_EM_CAP_STEP * perf_caps->highest_perf / max_cap; in cppc_get_cpu_power() 527 max_step = max_cap / CPPC_EM_CAP_STEP; in cppc_get_cpu_power() [all …]
|
/Linux-v6.1/kernel/sched/ |
D | cpudeadline.c | 123 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()
|
D | rt.c | 508 unsigned int max_cap; in rt_task_fits_capacity() local 516 max_cap = uclamp_eff_value(p, UCLAMP_MAX); in rt_task_fits_capacity() 520 return cpu_cap >= min(min_cap, max_cap); in rt_task_fits_capacity()
|
D | fair.c | 6905 unsigned long busy_time, max_cap = arch_scale_cpu_capacity(prev_cpu); in eenv_task_busy_time() local 6908 if (unlikely(irq >= max_cap)) in eenv_task_busy_time() 6909 busy_time = max_cap; in eenv_task_busy_time() 6911 busy_time = scale_irq_capacity(task_util_est(p), irq, max_cap); in eenv_task_busy_time()
|
/Linux-v6.1/drivers/infiniband/hw/erdma/ |
D | erdma_main.c | 386 dev->res_cb[ERDMA_RES_TYPE_PD].max_cap = ERDMA_MAX_PD; in erdma_dev_attrs_init() 387 dev->res_cb[ERDMA_RES_TYPE_STAG_IDX].max_cap = dev->attrs.max_mr; in erdma_dev_attrs_init() 409 bitmap_zalloc(dev->res_cb[i].max_cap, GFP_KERNEL); in erdma_res_cb_init()
|
D | erdma.h | 175 u32 max_cap; member
|
D | erdma_verbs.c | 206 idx = find_next_zero_bit(res_cb->bitmap, res_cb->max_cap, in erdma_alloc_idx() 208 if (idx == res_cb->max_cap) { in erdma_alloc_idx() 209 idx = find_first_zero_bit(res_cb->bitmap, res_cb->max_cap); in erdma_alloc_idx() 210 if (idx == res_cb->max_cap) { in erdma_alloc_idx()
|
/Linux-v6.1/drivers/soc/qcom/ |
D | llcc-qcom.c | 88 u32 max_cap; member 479 desc->slice_size = cfg->max_cap; in llcc_slice_getd() 651 max_cap_cacheline = MAX_CAP_TO_BYTES(config->max_cap); in _qcom_llcc_cfg_program()
|
/Linux-v6.1/drivers/hwmon/ |
D | acpi_power_meter.c | 71 u64 max_cap; member 230 if (temp > resource->caps.max_cap || temp < resource->caps.min_cap) in set_cap() 407 val = resource->caps.max_cap * 1000; in show_val()
|