Lines Matching refs:fan_system
139 static struct wf_control *fan_system; variable
306 pid_param.min = wf_control_get_min(fan_system); in wf_smu_create_sys_fans()
307 pid_param.max = wf_control_get_max(fan_system); in wf_smu_create_sys_fans()
323 if (fan_system) in wf_smu_create_sys_fans()
324 wf_control_set_max(fan_system); in wf_smu_create_sys_fans()
376 if (fan_system && wf_smu_failure_state == 0) { in wf_smu_sys_fans_tick()
377 rc = wf_control_set(fan_system, st->sys_setpoint); in wf_smu_sys_fans_tick()
574 if (fan_system) in wf_smu_tick()
575 wf_control_set_max(fan_system); in wf_smu_tick()
622 if (fan_system == NULL && !strcmp(ct->name, "system-fan")) { in wf_smu_new_control()
624 fan_system = ct; in wf_smu_new_control()
637 if (fan_system && fan_cpu_main && cpufreq_clamp) in wf_smu_new_control()
647 if (fan_system && fan_hd && fan_cpu_main && cpufreq_clamp) in wf_smu_new_control()
756 if (fan_system) in wf_smu_remove()
757 wf_put_control(fan_system); in wf_smu_remove()