Home
last modified time | relevance | path

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

/openbmc/linux/tools/thermal/tmon/
H A Dpid.c86 void controller_handler(const double xk, double *yk) in controller_handler() argument
96 *yk = 0.0; in controller_handler()
104 *yk += p_term + i_term + d_term; in controller_handler()
110 if (*yk < -LIMIT_HIGH) in controller_handler()
111 *yk = -LIMIT_HIGH; in controller_handler()
112 else if (*yk > -LIMIT_LOW) in controller_handler()
113 *yk = -LIMIT_LOW; in controller_handler()
115 p_param.y_k = *yk; in controller_handler()
H A Dtmon.c221 double yk = 0.0, temp; /* controller output */ in main() local
325 controller_handler(trec[0].temp[target_tz_index] / 1000, &yk); in main()
326 trec[0].pid_out_pct = yk; in main()
H A Dtmon.h137 extern void controller_handler(const double xk, double *yk);