Home
last modified time | relevance | path

Searched refs:min_cap (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/cpufreq/
Dcppc_cpufreq.c486 unsigned int min_cap, max_cap; in get_perf_level_count() local
493 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in get_perf_level_count()
495 if ((min_cap == 0) || (max_cap < min_cap)) in get_perf_level_count()
497 return 1 + max_cap / CPPC_EM_CAP_STEP - min_cap / CPPC_EM_CAP_STEP; in get_perf_level_count()
516 unsigned int min_cap, max_cap; in cppc_get_cpu_power() local
526 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in cppc_get_cpu_power()
530 min_step = min_cap / CPPC_EM_CAP_STEP; in cppc_get_cpu_power()
/linux-6.6.21/drivers/hwmon/
Dacpi_power_meter.c71 u64 min_cap; member
231 if (temp > resource->caps.max_cap || temp < resource->caps.min_cap) in set_cap()
408 val = resource->caps.min_cap * 1000; in show_val()
/linux-6.6.21/kernel/sched/
Drt.c511 unsigned int min_cap; in rt_task_fits_capacity() local
519 min_cap = uclamp_eff_value(p, UCLAMP_MIN); in rt_task_fits_capacity()
524 return cpu_cap >= min(min_cap, max_cap); in rt_task_fits_capacity()