Searched refs:max_capacity (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/base/ |
D | arch_topology.c | 179 unsigned long max_capacity, capacity, th_pressure; in topology_update_thermal_pressure() local 184 max_capacity = arch_scale_cpu_capacity(cpu); in topology_update_thermal_pressure() 195 capacity = max_capacity; in topology_update_thermal_pressure() 197 capacity = mult_frac(max_capacity, capped_freq, max_freq); in topology_update_thermal_pressure() 199 th_pressure = max_capacity - capacity; in topology_update_thermal_pressure()
|
/linux-5.19.10/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-5.19.10/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-5.19.10/include/linux/mfd/ |
D | 88pm860x.h | 430 int max_capacity; member
|
/linux-5.19.10/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-5.19.10/kernel/sched/ |
D | fair.c | 8397 sdg->sgc->max_capacity = capacity; in update_cpu_capacity() 8404 unsigned long capacity, min_capacity, max_capacity; in update_group_capacity() local 8418 max_capacity = 0; in update_group_capacity() 8431 max_capacity = max(cpu_cap, max_capacity); in update_group_capacity() 8445 max_capacity = max(sgc->max_capacity, max_capacity); in update_group_capacity() 8452 sdg->sgc->max_capacity = max_capacity; in update_group_capacity() 8817 (!capacity_greater(capacity_of(env->dst_cpu), sg->sgc->max_capacity) || in update_sd_pick_busiest() 9023 !task_fits_capacity(p, group->sgc->max_capacity)) { in update_sg_wakeup_stats() 9074 if (idlest->sgc->max_capacity >= group->sgc->max_capacity) in update_pick_idlest() 9215 if (local->sgc->max_capacity >= idlest->sgc->max_capacity) in find_idlest_group()
|
D | topology.c | 983 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in init_overlap_sched_group() 1210 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in get_group()
|
D | sched.h | 1775 unsigned long max_capacity; /* Max per-CPU capacity in group */ member
|