Searched refs:integ (Results 1 – 6 of 6) sorted by relevance
35 s64 error, integ, deriv; in wf_pid_run() local57 for (i = 0, integ = 0; i < hlen; i++) in wf_pid_run()58 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_pid_run()59 integ *= st->param.interval; in wf_pid_run()67 target = (s32)((integ * (s64)st->param.gr + deriv * (s64)st->param.gd + in wf_pid_run()90 s64 integ, deriv, prop; in wf_cpu_pid_run() local115 for (i = 0, integ = 0; i < hlen; i++) in wf_cpu_pid_run()116 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_cpu_pid_run()117 integ *= st->param.interval; in wf_cpu_pid_run()118 integ *= st->param.gr; in wf_cpu_pid_run()[all …]
36 struct integ { struct
39 tests/ubi-tests/integ.c | 6 +++---274 diff --git a/tests/ubi-tests/integ.c b/tests/ubi-tests/integ.c276 --- a/tests/ubi-tests/integ.c277 +++ b/tests/ubi-tests/integ.c
40 static struct integ __iomem *wdt_reg;
200 .end = INTEG0_BASE_ADDR + sizeof(struct integ),
[all...]