Searched refs:err_integral (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/thermal/ |
H A D | thermal_trace_ipa.h | 59 TP_PROTO(struct thermal_zone_device *tz, s32 err, s32 err_integral, 61 TP_ARGS(tz, err, err_integral, p, i, d, output), 65 __field(s32, err_integral) 74 __entry->err_integral = err_integral; 82 __entry->tz_id, __entry->err, __entry->err_integral,
|
H A D | gov_power_allocator.c | 70 s64 err_integral; member 242 i = mul_frac(tz->tzp->k_i, params->err_integral); in pid_controller() 249 params->err_integral += err; in pid_controller() 272 frac_to_int(params->err_integral), in pid_controller() 562 params->err_integral = 0; in reset_pid_controller()
|
/openbmc/linux/Documentation/driver-api/thermal/ |
H A 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
|