Searched refs:new_setpoint (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/macintosh/ |
D | windfarm_pm121.c | 464 static s32 pm121_correct(s32 new_setpoint, in pm121_correct() argument 476 return max3(new_setpoint, new_min, 0); in pm121_correct() 481 s32 new_min, value, new_setpoint; in pm121_connect() local 489 new_setpoint = max(setpoint, (new_min >> 16)); in pm121_connect() 490 if (new_setpoint != setpoint) { in pm121_connect() 495 (int) setpoint, (int) new_setpoint); in pm121_connect() 498 new_setpoint = setpoint; in pm121_connect() 502 new_setpoint = setpoint; in pm121_connect() 504 return new_setpoint; in pm121_connect() 587 s32 temp, new_setpoint; in pm121_sys_fans_tick() local [all …]
|
D | windfarm_pm81.c | 331 s32 new_setpoint, temp, scaled, cputarget; in wf_smu_sys_fans_tick() local 355 new_setpoint = wf_pid_run(&st->pid, temp); in wf_smu_sys_fans_tick() 357 DBG("wf_smu: new_setpoint: %d RPM\n", (int)new_setpoint); in wf_smu_sys_fans_tick() 359 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0; in wf_smu_sys_fans_tick() 371 if (st->sys_setpoint == scaled && new_setpoint == st->hd_setpoint) in wf_smu_sys_fans_tick() 374 st->hd_setpoint = new_setpoint; in wf_smu_sys_fans_tick() 475 s32 new_setpoint, temp, power, systarget; in wf_smu_cpu_fans_tick() local 511 new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); in wf_smu_cpu_fans_tick() 513 DBG("wf_smu: new_setpoint: %d RPM\n", (int)new_setpoint); in wf_smu_cpu_fans_tick() 518 new_setpoint = max(new_setpoint, systarget); in wf_smu_cpu_fans_tick() [all …]
|
D | windfarm_pm91.c | 221 s32 new_setpoint, temp, power; in wf_smu_cpu_fans_tick() local 257 new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); in wf_smu_cpu_fans_tick() 259 DBG("wf_smu: new_setpoint: %d RPM\n", (int)new_setpoint); in wf_smu_cpu_fans_tick() 261 if (st->cpu_setpoint == new_setpoint) in wf_smu_cpu_fans_tick() 263 st->cpu_setpoint = new_setpoint; in wf_smu_cpu_fans_tick() 330 s32 new_setpoint, temp; in wf_smu_drive_fans_tick() local 354 new_setpoint = wf_pid_run(&st->pid, temp); in wf_smu_drive_fans_tick() 356 DBG("wf_smu: new_setpoint: %d\n", (int)new_setpoint); in wf_smu_drive_fans_tick() 358 if (st->setpoint == new_setpoint) in wf_smu_drive_fans_tick() 360 st->setpoint = new_setpoint; in wf_smu_drive_fans_tick() [all …]
|