Home
last modified time | relevance | path

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

/linux/drivers/cpufreq/
H A Dcppc_cpufreq.c386 unsigned int min_cap, max_cap; in get_perf_level_count() local
393 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in get_perf_level_count()
395 if ((min_cap == 0) || (max_cap < min_cap)) in get_perf_level_count()
397 return 1 + max_cap / CPPC_EM_CAP_STEP - min_cap / CPPC_EM_CAP_STEP; in get_perf_level_count()
416 unsigned int min_cap, max_cap; in cppc_get_cpu_power() local
426 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in cppc_get_cpu_power()
430 min_step = min_cap / CPPC_EM_CAP_STEP; in cppc_get_cpu_power()
/linux/drivers/hwmon/
H A 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/kernel/sched/
H A Drt.c461 unsigned int min_cap; in rt_task_fits_capacity() local
469 min_cap = uclamp_eff_value(p, UCLAMP_MIN); in rt_task_fits_capacity()
474 return cpu_cap >= min(min_cap, max_cap); in rt_task_fits_capacity()