Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A Dgov_power_allocator.c353 u64 req_range = (u64)req_power[i] * power_range; in divvy_up_power()
420 req_power = kcalloc(num_actors * 5, sizeof(*req_power), GFP_KERNEL); in allocate_power()
421 if (!req_power) in allocate_power()
424 max_power = &req_power[num_actors]; in allocate_power()
425 granted_power = &req_power[2 * num_actors]; in allocate_power()
426 extra_actor_power = &req_power[3 * num_actors]; in allocate_power()
427 weighted_req_power = &req_power[4 * num_actors]; in allocate_power()
458 total_req_power += req_power[i]; in allocate_power()
493 kfree(req_power); in allocate_power()
572 u32 req_power; in allow_maximum_power() local
[all …]
H A Dthermal_trace_ipa.h11 TP_PROTO(struct thermal_zone_device *tz, u32 *req_power,
16 TP_ARGS(tz, req_power, total_req_power, granted_power,
21 __dynamic_array(u32, req_power, num_actors )
33 memcpy(__get_dynamic_array(req_power), req_power,
34 num_actors * sizeof(*req_power));
48 __print_array(__get_dynamic_array(req_power),