Searched refs:err_integral (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/thermal/ |
D | thermal_trace_ipa.h | 69 TP_PROTO(struct thermal_zone_device *tz, s32 err, s32 err_integral, 71 TP_ARGS(tz, err, err_integral, p, i, d, output), 75 __field(s32, err_integral) 84 __entry->err_integral = err_integral; 92 __entry->tz_id, __entry->err, __entry->err_integral,
|
D | gov_power_allocator.c | 89 s64 err_integral; member 265 i = mul_frac(tz->tzp->k_i, params->err_integral); in pid_controller() 272 params->err_integral += err; in pid_controller() 295 frac_to_int(params->err_integral), in pid_controller() 534 params->err_integral = 0; in reset_pid_controller()
|
/linux-6.12.1/Documentation/driver-api/thermal/ |
D | power_allocator.rst | 26 P_max = k_p * e + k_i * err_integral + k_d * diff_err + sustainable_power 30 - err_integral is the sum of previous errors
|