Searched refs:new_setpoint (Results 1 – 3 of 3) sorted by relevance
/drivers/macintosh/ |
D | windfarm_pm121.c | 472 static s32 pm121_correct(s32 new_setpoint, in pm121_correct() argument 484 return max3(new_setpoint, new_min, 0); in pm121_correct() 489 s32 new_min, value, new_setpoint; in pm121_connect() local 497 new_setpoint = max(setpoint, (new_min >> 16)); in pm121_connect() 498 if (new_setpoint != setpoint) { in pm121_connect() 503 (int) setpoint, (int) new_setpoint); in pm121_connect() 506 new_setpoint = setpoint; in pm121_connect() 510 new_setpoint = setpoint; in pm121_connect() 512 return new_setpoint; in pm121_connect() 585 s32 temp, new_setpoint; in pm121_sys_fans_tick() local [all …]
|
D | windfarm_pm81.c | 330 s32 new_setpoint, temp, scaled, cputarget; in wf_smu_sys_fans_tick() local 354 new_setpoint = wf_pid_run(&st->pid, temp); in wf_smu_sys_fans_tick() 356 DBG("wf_smu: new_setpoint: %d RPM\n", (int)new_setpoint); in wf_smu_sys_fans_tick() 358 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0; in wf_smu_sys_fans_tick() 370 if (st->sys_setpoint == scaled && new_setpoint == st->hd_setpoint) in wf_smu_sys_fans_tick() 373 st->hd_setpoint = new_setpoint; in wf_smu_sys_fans_tick() 474 s32 new_setpoint, temp, power, systarget; in wf_smu_cpu_fans_tick() local 510 new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); in wf_smu_cpu_fans_tick() 512 DBG("wf_smu: new_setpoint: %d RPM\n", (int)new_setpoint); in wf_smu_cpu_fans_tick() 517 new_setpoint = max(new_setpoint, systarget); in wf_smu_cpu_fans_tick() [all …]
|
D | windfarm_pm91.c | 219 s32 new_setpoint, temp, power; in wf_smu_cpu_fans_tick() local 255 new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); in wf_smu_cpu_fans_tick() 257 DBG("wf_smu: new_setpoint: %d RPM\n", (int)new_setpoint); in wf_smu_cpu_fans_tick() 259 if (st->cpu_setpoint == new_setpoint) in wf_smu_cpu_fans_tick() 261 st->cpu_setpoint = new_setpoint; in wf_smu_cpu_fans_tick() 331 s32 new_setpoint, temp; in wf_smu_drive_fans_tick() local 355 new_setpoint = wf_pid_run(&st->pid, temp); in wf_smu_drive_fans_tick() 357 DBG("wf_smu: new_setpoint: %d\n", (int)new_setpoint); in wf_smu_drive_fans_tick() 359 if (st->setpoint == new_setpoint) in wf_smu_drive_fans_tick() 361 st->setpoint = new_setpoint; in wf_smu_drive_fans_tick() [all …]
|