Lines Matching refs:fan_hd
139 static struct wf_control *fan_hd; variable
308 if (fan_hd) { in wf_smu_create_sys_fans()
310 max(pid_param.min,fan_hd->ops->get_min(fan_hd)); in wf_smu_create_sys_fans()
312 min(pid_param.max,fan_hd->ops->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 = fan_hd->ops->set_value(fan_hd, st->hd_setpoint); in wf_smu_sys_fans_tick()
579 if (fan_hd) in wf_smu_tick()
580 wf_control_set_max(fan_hd); in wf_smu_tick()
640 if (fan_hd == NULL && !strcmp(ct->name, "drive-bay-fan")) { in wf_smu_new_control()
642 fan_hd = ct; in wf_smu_new_control()
645 if (fan_system && fan_hd && fan_cpu_main && cpufreq_clamp) in wf_smu_new_control()
752 if (fan_hd) in wf_smu_remove()
753 wf_put_control(fan_hd); in wf_smu_remove()