Lines Matching refs:sustainable_power

74 	u32 sustainable_power;  member
90 u32 sustainable_power = 0; in estimate_sustainable_power() local
109 sustainable_power += min_power; in estimate_sustainable_power()
112 return sustainable_power; in estimate_sustainable_power()
126 u32 sustainable_power, int trip_switch_on, in estimate_pid_constants() argument
149 tz->tzp->k_po = int_to_frac(sustainable_power) / in estimate_pid_constants()
152 tz->tzp->k_pu = int_to_frac(2 * sustainable_power) / in estimate_pid_constants()
179 u32 sustainable_power; in get_sustainable_power() local
181 if (!tz->tzp->sustainable_power) in get_sustainable_power()
182 sustainable_power = estimate_sustainable_power(tz); in get_sustainable_power()
184 sustainable_power = tz->tzp->sustainable_power; in get_sustainable_power()
187 if (sustainable_power != params->sustainable_power) { in get_sustainable_power()
188 estimate_pid_constants(tz, sustainable_power, in get_sustainable_power()
192 tz->tzp->sustainable_power = sustainable_power; in get_sustainable_power()
193 params->sustainable_power = sustainable_power; in get_sustainable_power()
196 return sustainable_power; in get_sustainable_power()
223 u32 sustainable_power; in pid_controller() local
228 sustainable_power = get_sustainable_power(tz, params, control_temp); in pid_controller()
267 power_range = sustainable_power + frac_to_int(power_range); in pid_controller()
659 if (!tz->tzp->sustainable_power) in power_allocator_bind()
668 estimate_pid_constants(tz, tz->tzp->sustainable_power, in power_allocator_bind()