Lines Matching refs:fan_hd
73 static struct wf_control *fan_hd; variable
313 param.additive = (fan_hd->type == WF_CONTROL_RPM_FAN); in wf_smu_create_drive_fans()
314 param.min = wf_control_get_min(fan_hd); in wf_smu_create_drive_fans()
315 param.max = wf_control_get_max(fan_hd); in wf_smu_create_drive_fans()
324 if (fan_hd) in wf_smu_create_drive_fans()
325 wf_control_set_max(fan_hd); in wf_smu_create_drive_fans()
362 if (fan_hd && wf_smu_failure_state == 0) { in wf_smu_drive_fans_tick()
363 rc = wf_control_set(fan_hd, st->setpoint); in wf_smu_drive_fans_tick()
501 if (fan_hd) in wf_smu_tick()
502 wf_control_set_max(fan_hd); in wf_smu_tick()
563 if (fan_hd == NULL && !strcmp(ct->name, "drive-bay-fan")) { in wf_smu_new_control()
565 fan_hd = ct; in wf_smu_new_control()
573 if (fan_cpu_main && (fan_cpu_second || fan_cpu_third) && fan_hd && in wf_smu_new_control()
683 if (fan_hd) in wf_smu_remove()
684 wf_put_control(fan_hd); in wf_smu_remove()