Lines Matching defs: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
331 s32 new_setpoint, temp, scaled, cputarget;
359 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0;
361 DBG("wf_smu: scaled setpoint: %d RPM\n", (int)scaled);
365 scaled = max(scaled, cputarget);
366 scaled = max(scaled, st->pid.param.min);
367 scaled = min(scaled, st->pid.param.max);
369 DBG("wf_smu: adjusted setpoint: %d RPM\n", (int)scaled);
371 if (st->sys_setpoint == scaled && new_setpoint == st->hd_setpoint)
373 st->sys_setpoint = scaled;