Lines Matching refs:fan_hd
73 static struct wf_control *fan_hd; variable
312 param.additive = (fan_hd->type == WF_CONTROL_RPM_FAN); in wf_smu_create_drive_fans()
313 param.min = wf_control_get_min(fan_hd); in wf_smu_create_drive_fans()
314 param.max = wf_control_get_max(fan_hd); in wf_smu_create_drive_fans()
323 if (fan_hd) in wf_smu_create_drive_fans()
324 wf_control_set_max(fan_hd); in wf_smu_create_drive_fans()
361 if (fan_hd && wf_smu_failure_state == 0) { in wf_smu_drive_fans_tick()
362 rc = wf_control_set(fan_hd, st->setpoint); in wf_smu_drive_fans_tick()
500 if (fan_hd) in wf_smu_tick()
501 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()