Lines Matching full:target
36 s32 target; in wf_pid_run() local
66 /* Calculate target */ in wf_pid_run()
67 target = (s32)((integ * (s64)st->param.gr + deriv * (s64)st->param.gd + in wf_pid_run()
70 target += st->target; in wf_pid_run()
71 target = max(target, st->param.min); in wf_pid_run()
72 target = min(target, st->param.max); in wf_pid_run()
73 st->target = target; in wf_pid_run()
75 return st->target; in wf_pid_run()
91 s32 error, target, sval, adj; in wf_cpu_pid_run() local
136 /* Calculate target */ in wf_cpu_pid_run()
137 target = st->target + (s32)((deriv + prop) >> 36); in wf_cpu_pid_run()
138 target = max(target, st->param.min); in wf_cpu_pid_run()
139 target = min(target, st->param.max); in wf_cpu_pid_run()
140 st->target = target; in wf_cpu_pid_run()
142 return st->target; in wf_cpu_pid_run()