Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A Dgov_power_allocator.c391 u32 *weighted_req_power; in allocate_power() local
419 BUILD_BUG_ON(sizeof(*req_power) != sizeof(*weighted_req_power)); in allocate_power()
427 weighted_req_power = &req_power[4 * num_actors]; in allocate_power()
452 weighted_req_power[i] = frac_to_int(weight * req_power[i]); in allocate_power()
460 total_weighted_req_power += weighted_req_power[i]; in allocate_power()
467 divvy_up_power(weighted_req_power, max_power, num_actors, in allocate_power()