xk_1 46 tools/thermal/tmon/pid.c static double xk_1, xk_2; /* input temperature x[k-#] */ xk_1 76 tools/thermal/tmon/pid.c xk_1 = 0.0; xk_1 101 tools/thermal/tmon/pid.c p_term = -p_param.kp * (xk - xk_1); xk_1 103 tools/thermal/tmon/pid.c d_term = -p_param.kp * p_param.kd * (xk - 2 * xk_1 + xk_2) / p_param.ts; xk_1 107 tools/thermal/tmon/pid.c xk_1 = xk; xk_1 108 tools/thermal/tmon/pid.c xk_2 = xk_1;