Searched refs:err_integral (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/include/trace/events/
H A Dthermal_power_allocator.h58 TP_PROTO(struct thermal_zone_device *tz, s32 err, s32 err_integral,
60 TP_ARGS(tz, err, err_integral, p, i, d, output),
64 __field(s32, err_integral)
73 __entry->err_integral = err_integral;
80 TP_printk("thermal_zone_id=%d err=%d err_integral=%d p=%lld i=%lld d=%lld output=%d",
81 __entry->tz_id, __entry->err, __entry->err_integral,
/linux-4.4.14/drivers/thermal/
H A Dpower_allocator.c63 * @err_integral: accumulated error in the PID controller.
76 s64 err_integral; member in struct:power_allocator_params
224 i = mul_frac(tz->tzp->k_i, params->err_integral); pid_controller()
231 params->err_integral += err; pid_controller()
254 frac_to_int(params->err_integral), pid_controller()
517 params->err_integral = 0; reset_pid_controller()

Completed in 66 milliseconds