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

/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_rm31.c56 static struct wf_control *cpu_fans[NR_CHIPS][3]; variable in typeref:struct:wf_control
111 if (cpu_fans[i][0]) cpu_max_all_fans()
112 wf_control_set_max(cpu_fans[i][0]); cpu_max_all_fans()
113 if (cpu_fans[i][1]) cpu_max_all_fans()
114 wf_control_set_max(cpu_fans[i][1]); cpu_max_all_fans()
115 if (cpu_fans[i][2]) cpu_max_all_fans()
116 wf_control_set_max(cpu_fans[i][2]); cpu_max_all_fans()
257 wf_control_get(cpu_fans[cpu][0], &sp->target); cpu_fans_tick()
283 err = wf_control_set(cpu_fans[cpu][i], speed); cpu_fans_tick()
286 cpu_fans[cpu][i]->name, err); cpu_fans_tick()
314 fmin = wf_control_get_min(cpu_fans[cpu][0]); cpu_setup_pid()
315 fmax = wf_control_get_max(cpu_fans[cpu][0]); cpu_setup_pid()
573 cpu_fans[0][0] = ct; rm31_new_control()
575 cpu_fans[0][1] = ct; rm31_new_control()
577 cpu_fans[0][2] = ct; rm31_new_control()
579 cpu_fans[1][0] = ct; rm31_new_control()
581 cpu_fans[1][1] = ct; rm31_new_control()
583 cpu_fans[1][2] = ct; rm31_new_control()
592 cpu_fans[0][0] && rm31_new_control()
593 cpu_fans[0][1] && rm31_new_control()
594 cpu_fans[0][2] && rm31_new_control()
599 cpu_fans[1][0] && rm31_new_control()
600 cpu_fans[1][1] && rm31_new_control()
601 cpu_fans[1][2]; rm31_new_control()
H A Dwindfarm_pm112.c56 static struct wf_control *cpu_fans[NR_CPU_FANS]; variable in typeref:struct:wf_control
132 struct wf_control *main_fan = cpu_fans[0]; create_cpu_loop()
192 if (cpu_fans[i]) cpu_max_all_fans()
193 wf_control_set_max(cpu_fans[i]); cpu_max_all_fans()
327 ct = cpu_fans[i]; cpu_fans_tick()
494 if (cpu_fans[i]) set_fail_state()
495 wf_control_set_max(cpu_fans[i]); set_fail_state()
563 if (cpu_fans[i] == NULL && wf_get_control(ct) == 0) pm112_new_control()
564 cpu_fans[i] = ct; pm112_new_control()
584 if (cpu_fans[i] == NULL) pm112_new_control()
588 max_exhaust = cpu_fans[0]->ops->get_max(cpu_fans[0]); pm112_new_control()
590 if ((ct = cpu_fans[i]) != NULL) pm112_new_control()

Completed in 121 milliseconds