Lines Matching refs:granted_power
339 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()
390 u32 *req_power, *max_power, *granted_power, *extra_actor_power; in allocate_power() local
417 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*granted_power)); in allocate_power()
425 granted_power = &req_power[2 * num_actors]; in allocate_power()
468 total_weighted_req_power, power_range, granted_power, in allocate_power()
481 granted_power[i]); in allocate_power()
482 total_granted_power += granted_power[i]; in allocate_power()
488 granted_power, total_granted_power, in allocate_power()