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

/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_pm81.c137 static struct wf_control *fan_cpu_main; variable in typeref:struct:wf_control
451 pid_param.min = wf_control_get_min(fan_cpu_main); wf_smu_create_cpu_fans()
452 pid_param.max = wf_control_get_max(fan_cpu_main); wf_smu_create_cpu_fans()
469 if (fan_cpu_main) wf_smu_create_cpu_fans()
470 wf_control_set_max(fan_cpu_main); wf_smu_create_cpu_fans()
528 if (fan_cpu_main && wf_smu_failure_state == 0) { wf_smu_cpu_fans_tick()
529 rc = wf_control_set(fan_cpu_main, st->cpu_setpoint); wf_smu_cpu_fans_tick()
576 if (fan_cpu_main) wf_smu_tick()
577 wf_control_set_max(fan_cpu_main); wf_smu_tick()
617 if (fan_cpu_main == NULL && !strcmp(ct->name, "cpu-fan")) { wf_smu_new_control()
619 fan_cpu_main = ct; wf_smu_new_control()
637 if (fan_system && fan_cpu_main && cpufreq_clamp) wf_smu_new_control()
647 if (fan_system && fan_hd && fan_cpu_main && cpufreq_clamp) wf_smu_new_control()
752 if (fan_cpu_main) wf_smu_remove()
753 wf_put_control(fan_cpu_main); wf_smu_remove()
H A Dwindfarm_pm91.c70 static struct wf_control *fan_cpu_main; variable in typeref:struct:wf_control
196 pid_param.min = wf_control_get_min(fan_cpu_main); wf_smu_create_cpu_fans()
197 pid_param.max = wf_control_get_max(fan_cpu_main); wf_smu_create_cpu_fans()
214 if (fan_cpu_main) wf_smu_create_cpu_fans()
215 wf_control_set_max(fan_cpu_main); wf_smu_create_cpu_fans()
264 if (fan_cpu_main && wf_smu_failure_state == 0) { wf_smu_cpu_fans_tick()
265 rc = wf_control_set(fan_cpu_main, st->cpu_setpoint); wf_smu_cpu_fans_tick()
494 if (fan_cpu_main) wf_smu_tick()
495 wf_control_set_max(fan_cpu_main); wf_smu_tick()
542 if (fan_cpu_main == NULL && !strcmp(ct->name, "cpu-rear-fan-0")) { wf_smu_new_control()
544 fan_cpu_main = ct; wf_smu_new_control()
572 if (fan_cpu_main && (fan_cpu_second || fan_cpu_third) && fan_hd && wf_smu_new_control()
676 if (fan_cpu_main) wf_smu_remove()
677 wf_put_control(fan_cpu_main); wf_smu_remove()

Completed in 132 milliseconds