Home
last modified time | relevance | path

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

/SCP-firmware-master/module/thermal_mgmt/src/
A Dpower_allocation.c22 return (actor_ctx->granted_power >= actor_ctx->demand_power); in is_power_request_satisfied()
50 *level = driver->power_to_level(driver_id, actor_ctx->granted_power); in get_actor_level()
62 actor_ctx->granted_power = in allocate_power()
67 if (actor_ctx->granted_power > actor_ctx->demand_power) { in allocate_power()
69 actor_ctx->granted_power - actor_ctx->demand_power; in allocate_power()
72 actor_ctx->granted_power = actor_ctx->demand_power; in allocate_power()
76 actor_ctx->demand_power - actor_ctx->granted_power; in allocate_power()
101 actor_ctx->granted_power += in re_allocate_power()
105 if (actor_ctx->granted_power > actor_ctx->demand_power) { in re_allocate_power()
107 actor_ctx->granted_power - actor_ctx->demand_power; in re_allocate_power()
[all …]
A Dthermal_mgmt.h45 uint32_t granted_power; member

Completed in 3 milliseconds