Home
last modified time | relevance | path

Searched refs:err_integral (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/include/trace/events/
Dthermal_power_allocator.h59 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,
/Linux-v4.19/drivers/thermal/
Dpower_allocator.c76 s64 err_integral; member
224 i = mul_frac(tz->tzp->k_i, params->err_integral); in pid_controller()
231 params->err_integral += err; in pid_controller()
254 frac_to_int(params->err_integral), in pid_controller()
517 params->err_integral = 0; in reset_pid_controller()
/Linux-v4.19/Documentation/thermal/
Dpower_allocator.txt25 P_max = k_p * e + k_i * err_integral + k_d * diff_err + sustainable_power
29 err_integral is the sum of previous errors