Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/cpufreq/
Dcppc_cpufreq.c483 unsigned int min_cap, max_cap; in get_perf_level_count() local
490 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in get_perf_level_count()
492 if ((min_cap == 0) || (max_cap < min_cap)) in get_perf_level_count()
494 return 1 + max_cap / CPPC_EM_CAP_STEP - min_cap / CPPC_EM_CAP_STEP; in get_perf_level_count()
513 unsigned int min_cap, max_cap; in cppc_get_cpu_power() local
523 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in cppc_get_cpu_power()
527 min_step = min_cap / CPPC_EM_CAP_STEP; in cppc_get_cpu_power()
/linux-6.1.9/drivers/hwmon/
Dacpi_power_meter.c70 u64 min_cap; member
230 if (temp > resource->caps.max_cap || temp < resource->caps.min_cap) in set_cap()
404 val = resource->caps.min_cap * 1000; in show_val()
/linux-6.1.9/kernel/sched/
Drt.c507 unsigned int min_cap; in rt_task_fits_capacity() local
515 min_cap = uclamp_eff_value(p, UCLAMP_MIN); in rt_task_fits_capacity()
520 return cpu_cap >= min(min_cap, max_cap); in rt_task_fits_capacity()