Lines Matching refs:fan_hd
74 static struct wf_control *fan_hd; variable
315 param.additive = (fan_hd->type == WF_CONTROL_RPM_FAN); in wf_smu_create_drive_fans()
316 param.min = fan_hd->ops->get_min(fan_hd); in wf_smu_create_drive_fans()
317 param.max = fan_hd->ops->get_max(fan_hd); in wf_smu_create_drive_fans()
326 if (fan_hd) in wf_smu_create_drive_fans()
327 wf_control_set_max(fan_hd); in wf_smu_create_drive_fans()
364 if (fan_hd && wf_smu_failure_state == 0) { in wf_smu_drive_fans_tick()
365 rc = fan_hd->ops->set_value(fan_hd, st->setpoint); in wf_smu_drive_fans_tick()
503 if (fan_hd) in wf_smu_tick()
504 wf_control_set_max(fan_hd); in wf_smu_tick()
562 if (fan_hd == NULL && !strcmp(ct->name, "drive-bay-fan")) { in wf_smu_new_control()
564 fan_hd = ct; in wf_smu_new_control()
572 if (fan_cpu_main && (fan_cpu_second || fan_cpu_third) && fan_hd && in wf_smu_new_control()
682 if (fan_hd) in wf_smu_remove()
683 wf_put_control(fan_hd); in wf_smu_remove()