Lines Matching refs:sustainable_power
88 u32 sustainable_power = 0; in estimate_sustainable_power() local
102 sustainable_power += min_power; in estimate_sustainable_power()
105 return sustainable_power; in estimate_sustainable_power()
128 u32 sustainable_power, int trip_switch_on, in estimate_pid_constants() argument
152 tz->tzp->k_po = int_to_frac(sustainable_power) / in estimate_pid_constants()
156 tz->tzp->k_pu = int_to_frac(2 * sustainable_power) / in estimate_pid_constants()
191 u32 sustainable_power; in pid_controller() local
196 if (tz->tzp->sustainable_power) { in pid_controller()
197 sustainable_power = tz->tzp->sustainable_power; in pid_controller()
199 sustainable_power = estimate_sustainable_power(tz); in pid_controller()
200 estimate_pid_constants(tz, sustainable_power, in pid_controller()
242 power_range = sustainable_power + frac_to_int(power_range); in pid_controller()
563 if (!tz->tzp->sustainable_power) in power_allocator_bind()
573 estimate_pid_constants(tz, tz->tzp->sustainable_power, in power_allocator_bind()