Searched refs:fan_hd (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_pm81.c138 static struct wf_control *fan_hd; variable in typeref:struct:wf_control
308 if (fan_hd) { wf_smu_create_sys_fans()
310 max(pid_param.min, wf_control_get_min(fan_hd)); wf_smu_create_sys_fans()
312 min(pid_param.max, wf_control_get_max(fan_hd)); wf_smu_create_sys_fans()
325 if (fan_hd) wf_smu_create_sys_fans()
326 wf_control_set_max(fan_hd); wf_smu_create_sys_fans()
384 if (fan_hd && wf_smu_failure_state == 0) { wf_smu_sys_fans_tick()
385 rc = wf_control_set(fan_hd, st->hd_setpoint); wf_smu_sys_fans_tick()
578 if (fan_hd) wf_smu_tick()
579 wf_control_set_max(fan_hd); wf_smu_tick()
642 if (fan_hd == NULL && !strcmp(ct->name, "drive-bay-fan")) { wf_smu_new_control()
644 fan_hd = ct; wf_smu_new_control()
647 if (fan_system && fan_hd && fan_cpu_main && cpufreq_clamp) wf_smu_new_control()
754 if (fan_hd) wf_smu_remove()
755 wf_put_control(fan_hd); wf_smu_remove()
H A Dwindfarm_pm91.c73 static struct wf_control *fan_hd; variable in typeref:struct:wf_control
312 param.additive = (fan_hd->type == WF_CONTROL_RPM_FAN); wf_smu_create_drive_fans()
313 param.min = wf_control_get_min(fan_hd); wf_smu_create_drive_fans()
314 param.max = wf_control_get_max(fan_hd); wf_smu_create_drive_fans()
323 if (fan_hd) wf_smu_create_drive_fans()
324 wf_control_set_max(fan_hd); wf_smu_create_drive_fans()
361 if (fan_hd && wf_smu_failure_state == 0) { wf_smu_drive_fans_tick()
362 rc = wf_control_set(fan_hd, st->setpoint); wf_smu_drive_fans_tick()
500 if (fan_hd) wf_smu_tick()
501 wf_control_set_max(fan_hd); wf_smu_tick()
562 if (fan_hd == NULL && !strcmp(ct->name, "drive-bay-fan")) { wf_smu_new_control()
564 fan_hd = ct; wf_smu_new_control()
572 if (fan_cpu_main && (fan_cpu_second || fan_cpu_third) && fan_hd && wf_smu_new_control()
682 if (fan_hd) wf_smu_remove()
683 wf_put_control(fan_hd); wf_smu_remove()

Completed in 109 milliseconds