Home
last modified time | relevance | path

Searched refs:granted_power (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/thermal/
H A Dthermal_trace_ipa.h12 u32 total_req_power, u32 *granted_power,
16 TP_ARGS(tz, req_power, total_req_power, granted_power,
23 __dynamic_array(u32, granted_power, num_actors)
36 memcpy(__get_dynamic_array(granted_power), granted_power,
37 num_actors * sizeof(*granted_power));
51 __print_array(__get_dynamic_array(granted_power),
H A Dgov_power_allocator.c339 u32 *granted_power, u32 *extra_actor_power) in divvy_up_power() argument
355 granted_power[i] = DIV_ROUND_CLOSEST_ULL(req_range, in divvy_up_power()
358 if (granted_power[i] > max_power[i]) { in divvy_up_power()
359 extra_power += granted_power[i] - max_power[i]; in divvy_up_power()
360 granted_power[i] = max_power[i]; in divvy_up_power()
363 extra_actor_power[i] = max_power[i] - granted_power[i]; in divvy_up_power()
378 granted_power[i] += DIV_ROUND_CLOSEST_ULL(extra_range, in divvy_up_power()
425 granted_power = &req_power[2 * num_actors]; in allocate_power()
481 granted_power[i]); in allocate_power()
482 total_granted_power += granted_power[i]; in allocate_power()
[all …]