Lines Matching refs:fan_hd
137 static struct wf_control *fan_hd; variable
308 if (fan_hd) { in wf_smu_create_sys_fans()
310 max(pid_param.min, wf_control_get_min(fan_hd)); in wf_smu_create_sys_fans()
312 min(pid_param.max, wf_control_get_max(fan_hd)); in wf_smu_create_sys_fans()
325 if (fan_hd) in wf_smu_create_sys_fans()
326 wf_control_set_max(fan_hd); in wf_smu_create_sys_fans()
384 if (fan_hd && wf_smu_failure_state == 0) { in wf_smu_sys_fans_tick()
385 rc = wf_control_set(fan_hd, st->hd_setpoint); in wf_smu_sys_fans_tick()
578 if (fan_hd) in wf_smu_tick()
579 wf_control_set_max(fan_hd); in wf_smu_tick()
642 if (fan_hd == NULL && !strcmp(ct->name, "drive-bay-fan")) { in wf_smu_new_control()
644 fan_hd = ct; in wf_smu_new_control()
647 if (fan_system && fan_hd && fan_cpu_main && cpufreq_clamp) in wf_smu_new_control()
754 if (fan_hd) in wf_smu_remove()
755 wf_put_control(fan_hd); in wf_smu_remove()