Home
last modified time | relevance | path

Searched refs:max_capacity (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/
Dvmci_handle_array.c17 struct vmci_handle_arr *vmci_handle_arr_create(u32 capacity, u32 max_capacity) in vmci_handle_arr_create() argument
21 if (max_capacity == 0 || capacity > max_capacity) in vmci_handle_arr_create()
26 max_capacity); in vmci_handle_arr_create()
33 array->max_capacity = max_capacity; in vmci_handle_arr_create()
52 u32 capacity_bump = min(array->max_capacity - array->capacity, in vmci_handle_arr_append_entry()
57 if (array->size >= array->max_capacity) in vmci_handle_arr_append_entry()
Dvmci_handle_array.h17 u32 max_capacity; member
32 struct vmci_handle_arr *vmci_handle_arr_create(u32 capacity, u32 max_capacity);
/kernel/linux/linux-5.10/arch/arm/kernel/
Dtopology.c90 unsigned long max_capacity = 0; in parse_dt_topology() local
135 if (capacity > max_capacity) in parse_dt_topology()
136 max_capacity = capacity; in parse_dt_topology()
148 if (4*max_capacity < (3*(max_capacity + min_capacity))) in parse_dt_topology()
149 middle_capacity = (min_capacity + max_capacity) in parse_dt_topology()
152 middle_capacity = ((max_capacity / 3) in parse_dt_topology()
/kernel/linux/linux-5.10/drivers/power/supply/
D88pm860x_battery.c103 int max_capacity; member
724 data = info->max_capacity * info->start_soc / 100; in calc_capacity()
736 cap_cc = cap_cc * 100 / info->max_capacity; in calc_capacity()
943 if (pdata && pdata->max_capacity) in pm860x_battery_probe()
944 info->max_capacity = pdata->max_capacity; in pm860x_battery_probe()
946 info->max_capacity = 1500; /* set default capacity */ in pm860x_battery_probe()
/kernel/linux/linux-5.10/drivers/thermal/
Dcpufreq_cooling.c430 unsigned long max_capacity, capacity; in cpufreq_set_cur_state() local
447 max_capacity = arch_scale_cpu_capacity(cpumask_first(cpus)); in cpufreq_set_cur_state()
448 capacity = frequency * max_capacity; in cpufreq_set_cur_state()
450 arch_set_thermal_pressure(cpus, max_capacity - capacity); in cpufreq_set_cur_state()
/kernel/linux/linux-5.10/kernel/sched/
Dtopology.c943 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in init_overlap_sched_group()
1169 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in get_group()
2022 unsigned long max_capacity = arch_scale_cpu_capacity(i); in asym_cpu_capacity_level() local
2034 if (capacity <= max_capacity) in asym_cpu_capacity_level()
2037 max_capacity = capacity; in asym_cpu_capacity_level()
Dfair.c4253 unsigned long max_capacity = cpu_rq(cpu)->rd->max_cpu_capacity; in task_fits_max() local
4255 if (capacity == max_capacity) in task_fits_max()
8561 sdg->sgc->max_capacity = capacity; in update_cpu_capacity()
8568 unsigned long capacity, min_capacity, max_capacity; in update_group_capacity() local
8582 max_capacity = 0; in update_group_capacity()
8598 max_capacity = max(cpu_cap, max_capacity); in update_group_capacity()
8616 max_capacity = max(sgc->max_capacity, in update_group_capacity()
8617 max_capacity); in update_group_capacity()
8625 sdg->sgc->max_capacity = max_capacity; in update_group_capacity()
8757 return fits_capacity(sg->sgc->max_capacity, ref->sgc->max_capacity); in group_smaller_max_cpu_capacity()
[all …]
Dsched.h1601 unsigned long max_capacity; /* Max per-CPU capacity in group */ member
2855 extern unsigned int max_capacity;
2947 max_capacity = max_cap; in __update_min_max_capacity()
Ddebug.c808 P(max_capacity); in sched_debug_header()
Dwalt.c174 unsigned int max_capacity = 1024; /* max(rq->capacity) */ variable
/kernel/linux/linux-5.10/include/linux/mfd/
D88pm860x.h430 int max_capacity; member
/kernel/linux/linux-5.10/Documentation/scheduler/
Dsched-capacity.rst213 task_util_cpu_inv(p) = duty_cycle(p) * (capacity(cpu) / max_capacity)
215 with ``max_capacity`` being the highest CPU capacity value in the
229 max_frequency(cpu) max_capacity