Lines Matching refs:num_actors
95 unsigned int num_actors; member
352 static void divvy_up_power(struct power_actor *power, int num_actors, in divvy_up_power() argument
365 for (i = 0; i < num_actors; i++) { in divvy_up_power()
390 for (i = 0; i < num_actors; i++) { in divvy_up_power()
403 unsigned int num_actors = params->num_actors; in allocate_power() local
414 if (!num_actors) in allocate_power()
453 divvy_up_power(power, num_actors, total_weighted_req_power, in allocate_power()
473 num_actors, power_range, in allocate_power()
603 int num_actors) in allocate_actors_buffer() argument
610 if (!num_actors) { in allocate_actors_buffer()
615 params->power = kcalloc(num_actors, sizeof(struct power_actor), in allocate_actors_buffer()
622 params->num_actors = num_actors; in allocate_actors_buffer()
623 params->buffer_size = num_actors * sizeof(struct power_actor); in allocate_actors_buffer()
628 params->num_actors = 0; in allocate_actors_buffer()
639 int num_actors = 0; in power_allocator_update_tz() local
646 num_actors++; in power_allocator_update_tz()
648 if (num_actors == params->num_actors) in power_allocator_update_tz()
651 allocate_actors_buffer(params, num_actors); in power_allocator_update_tz()