Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/macintosh/
Dwindfarm_pm91.c73 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()
[all …]
Dwindfarm_pm81.c138 static struct wf_control *fan_hd; variable
309 if (fan_hd) { in wf_smu_create_sys_fans()
311 max(pid_param.min, wf_control_get_min(fan_hd)); in wf_smu_create_sys_fans()
313 min(pid_param.max, wf_control_get_max(fan_hd)); in wf_smu_create_sys_fans()
326 if (fan_hd) in wf_smu_create_sys_fans()
327 wf_control_set_max(fan_hd); in wf_smu_create_sys_fans()
385 if (fan_hd && wf_smu_failure_state == 0) { in wf_smu_sys_fans_tick()
386 rc = wf_control_set(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()
[all …]