Searched refs:req_power (Results 1 – 1 of 1) sorted by relevance
288 static void divvy_up_power(u32 *req_power, u32 *max_power, int num_actors, in divvy_up_power() argument304 u64 req_range = (u64)req_power[i] * power_range; in divvy_up_power()337 u32 *req_power, *max_power, *granted_power, *extra_actor_power; in allocate_power() local368 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*max_power)); in allocate_power()369 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*granted_power)); in allocate_power()370 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*extra_actor_power)); in allocate_power()371 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*weighted_req_power)); in allocate_power()372 req_power = kcalloc(num_actors * 5, sizeof(*req_power), GFP_KERNEL); in allocate_power()373 if (!req_power) { in allocate_power()378 max_power = &req_power[num_actors]; in allocate_power()[all …]