Home
last modified time | relevance | path

Searched refs:pc_error (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dsubr_pidctrl.c54 &pc->pc_error, 0, "Current difference from setpoint value (P)"); in pidctrl_init_sysctl()
89 pc->pc_olderror = pc->pc_error; in pidctrl_classic()
97 pc->pc_error = error; in pidctrl_classic()
103 output = (pc->pc_error / Kpd) + (pc->pc_integral / Kid) + in pidctrl_classic()
127 pc->pc_olderror = pc->pc_error; in pidctrl_daemon()
128 pc->pc_output = pc->pc_error = 0; in pidctrl_daemon()
131 error -= pc->pc_error - pc->pc_output; in pidctrl_daemon()
140 pc->pc_error += error; in pidctrl_daemon()
143 pc->pc_derivative = pc->pc_error - pc->pc_olderror; in pidctrl_daemon()
146 output = (pc->pc_error / Kpd) + (pc->pc_integral / Kid) + in pidctrl_daemon()
/freebsd/sys/sys/
H A Dpidctrl.h61 int pc_error; /* Current error. */ member