Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/macintosh/
Dwindfarm_pm91.c72 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()
[all …]
Dwindfarm_pm81.c136 static struct wf_control *fan_hd; variable
307 if (fan_hd) { in wf_smu_create_sys_fans()
309 max(pid_param.min, wf_control_get_min(fan_hd)); in wf_smu_create_sys_fans()
311 min(pid_param.max, wf_control_get_max(fan_hd)); in wf_smu_create_sys_fans()
324 if (fan_hd) in wf_smu_create_sys_fans()
325 wf_control_set_max(fan_hd); in wf_smu_create_sys_fans()
383 if (fan_hd && wf_smu_failure_state == 0) { in wf_smu_sys_fans_tick()
384 rc = wf_control_set(fan_hd, st->hd_setpoint); in wf_smu_sys_fans_tick()
577 if (fan_hd) in wf_smu_tick()
578 wf_control_set_max(fan_hd); in wf_smu_tick()
[all …]