Lines Matching refs:fan_cpu_main
70 static struct wf_control *fan_cpu_main; variable
197 pid_param.min = wf_control_get_min(fan_cpu_main); in wf_smu_create_cpu_fans()
198 pid_param.max = wf_control_get_max(fan_cpu_main); in wf_smu_create_cpu_fans()
215 if (fan_cpu_main) in wf_smu_create_cpu_fans()
216 wf_control_set_max(fan_cpu_main); in wf_smu_create_cpu_fans()
265 if (fan_cpu_main && wf_smu_failure_state == 0) { in wf_smu_cpu_fans_tick()
266 rc = wf_control_set(fan_cpu_main, st->cpu_setpoint); in wf_smu_cpu_fans_tick()
495 if (fan_cpu_main) in wf_smu_tick()
496 wf_control_set_max(fan_cpu_main); in wf_smu_tick()
543 if (fan_cpu_main == NULL && !strcmp(ct->name, "cpu-rear-fan-0")) { in wf_smu_new_control()
545 fan_cpu_main = ct; in wf_smu_new_control()
573 if (fan_cpu_main && (fan_cpu_second || fan_cpu_third) && fan_hd && in wf_smu_new_control()
677 if (fan_cpu_main) in wf_smu_remove()
678 wf_put_control(fan_cpu_main); in wf_smu_remove()