Searched refs:max_capacity (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.6/drivers/misc/vmw_vmci/ |
D | vmci_handle_array.c | 17 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()
|
D | vmci_handle_array.h | 17 u32 max_capacity; member 32 struct vmci_handle_arr *vmci_handle_arr_create(u32 capacity, u32 max_capacity);
|
/Linux-v6.6/arch/arm/kernel/ |
D | topology.c | 90 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-v6.6/drivers/power/supply/ |
D | 88pm860x_battery.c | 103 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-v6.6/Documentation/translations/zh_CN/scheduler/ |
D | sched-capacity.rst | 196 task_util_cpu_inv(p) = duty_cycle(p) * (capacity(cpu) / max_capacity) 198 其中 ``max_capacity`` 是系统中最高的CPU算力。对上面的例子运用该公式,可以算出CPU算力不变 209 max_frequency(cpu) max_capacity
|
/Linux-v6.6/drivers/base/ |
D | arch_topology.c | 180 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-v6.6/drivers/cpuidle/governors/ |
D | teo.c | 670 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-v6.6/include/linux/mfd/ |
D | 88pm860x.h | 430 int max_capacity; member
|
/Linux-v6.6/Documentation/scheduler/ |
D | sched-capacity.rst | 213 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-v6.6/kernel/sched/ |
D | fair.c | 9325 sdg->sgc->max_capacity = capacity; in update_cpu_capacity() 9332 unsigned long capacity, min_capacity, max_capacity; in update_group_capacity() local 9346 max_capacity = 0; in update_group_capacity() 9359 max_capacity = max(cpu_cap, max_capacity); in update_group_capacity() 9373 max_capacity = max(sgc->max_capacity, max_capacity); in update_group_capacity() 9380 sdg->sgc->max_capacity = max_capacity; in update_group_capacity() 9782 (!capacity_greater(capacity_of(env->dst_cpu), sg->sgc->max_capacity) || in update_sd_pick_busiest() 10079 if (idlest->sgc->max_capacity >= group->sgc->max_capacity) in update_pick_idlest() 10211 if (local->sgc->max_capacity >= idlest->sgc->max_capacity) in find_idlest_group()
|
D | topology.c | 989 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in init_overlap_sched_group() 1216 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in get_group()
|
D | sched.h | 1890 unsigned long max_capacity; /* Max per-CPU capacity in group */ member
|