Lines Matching full:scaled
27 * - the main control (first control) gets the target value scaled with
30 * scaled with the second pair of factors, and the max of that and
31 * the scaled target is applied to the main control.
71 * systems fan control loop target result (the one before it gets scaled
332 s32 new_setpoint, temp, scaled, cputarget; in wf_smu_sys_fans_tick() local
360 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0; in wf_smu_sys_fans_tick()
362 DBG("wf_smu: scaled setpoint: %d RPM\n", (int)scaled); in wf_smu_sys_fans_tick()
366 scaled = max(scaled, cputarget); in wf_smu_sys_fans_tick()
367 scaled = max(scaled, st->pid.param.min); in wf_smu_sys_fans_tick()
368 scaled = min(scaled, st->pid.param.max); in wf_smu_sys_fans_tick()
370 DBG("wf_smu: adjusted setpoint: %d RPM\n", (int)scaled); in wf_smu_sys_fans_tick()
372 if (st->sys_setpoint == scaled && new_setpoint == st->hd_setpoint) in wf_smu_sys_fans_tick()
374 st->sys_setpoint = scaled; in wf_smu_sys_fans_tick()