Home
last modified time | relevance | path

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

/linux-6.6.21/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);
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/Documentation/translations/zh_CN/scheduler/
Dsched-capacity.rst196 task_util_cpu_inv(p) = duty_cycle(p) * (capacity(cpu) / max_capacity)
198 其中 ``max_capacity`` 是系统中最高的CPU算力。对上面的例子运用该公式,可以算出CPU算力不变
209 max_frequency(cpu) max_capacity
/linux-6.6.21/drivers/base/
Darch_topology.c180 unsigned long max_capacity, capacity, th_pressure; in topology_update_thermal_pressure() local
185 max_capacity = arch_scale_cpu_capacity(cpu); in topology_update_thermal_pressure()
196 capacity = max_capacity; in topology_update_thermal_pressure()
198 capacity = mult_frac(max_capacity, capped_freq, max_freq); in topology_update_thermal_pressure()
200 th_pressure = max_capacity - capacity; in topology_update_thermal_pressure()
/linux-6.6.21/drivers/cpuidle/governors/
Dteo.c670 unsigned long max_capacity = arch_scale_cpu_capacity(dev->cpu); in teo_enable_device() local
674 cpu_data->util_threshold = max_capacity >> UTIL_THRESHOLD_SHIFT; in teo_enable_device()
/linux-6.6.21/include/linux/mfd/
D88pm860x.h430 int max_capacity; member
/linux-6.6.21/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
/linux-6.6.21/kernel/sched/
Dfair.c9413 sdg->sgc->max_capacity = capacity; in update_cpu_capacity()
9420 unsigned long capacity, min_capacity, max_capacity; in update_group_capacity() local
9434 max_capacity = 0; in update_group_capacity()
9447 max_capacity = max(cpu_cap, max_capacity); in update_group_capacity()
9461 max_capacity = max(sgc->max_capacity, max_capacity); in update_group_capacity()
9468 sdg->sgc->max_capacity = max_capacity; in update_group_capacity()
9870 (!capacity_greater(capacity_of(env->dst_cpu), sg->sgc->max_capacity) || in update_sd_pick_busiest()
10167 if (idlest->sgc->max_capacity >= group->sgc->max_capacity) in update_pick_idlest()
10299 if (local->sgc->max_capacity >= idlest->sgc->max_capacity) in find_idlest_group()
Dtopology.c989 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in init_overlap_sched_group()
1216 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in get_group()
Dsched.h1890 unsigned long max_capacity; /* Max per-CPU capacity in group */ member