Home
last modified time | relevance | path

Searched refs:cpufreq_clamp (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/macintosh/
H A Dwindfarm_pm81.c139 static struct wf_control *cpufreq_clamp; variable
467 if (cpufreq_clamp) in wf_smu_create_cpu_fans()
468 wf_control_set_max(cpufreq_clamp); in wf_smu_create_cpu_fans()
572 if (cpufreq_clamp) in wf_smu_tick()
573 wf_control_set_max(cpufreq_clamp); in wf_smu_tick()
586 if (cpufreq_clamp) in wf_smu_tick()
587 wf_control_set_min(cpufreq_clamp); in wf_smu_tick()
627 if (cpufreq_clamp == NULL && !strcmp(ct->name, "cpufreq-clamp")) { in wf_smu_new_control()
629 cpufreq_clamp = ct; in wf_smu_new_control()
637 if (fan_system && fan_cpu_main && cpufreq_clamp) in wf_smu_new_control()
[all …]
H A Dwindfarm_pm91.c75 static struct wf_control *cpufreq_clamp; variable
213 if (cpufreq_clamp) in wf_smu_create_cpu_fans()
214 wf_control_set_max(cpufreq_clamp); in wf_smu_create_cpu_fans()
493 if (cpufreq_clamp) in wf_smu_tick()
494 wf_control_set_max(cpufreq_clamp); in wf_smu_tick()
511 if (cpufreq_clamp) in wf_smu_tick()
512 wf_control_set_min(cpufreq_clamp); in wf_smu_tick()
558 if (cpufreq_clamp == NULL && !strcmp(ct->name, "cpufreq-clamp")) { in wf_smu_new_control()
560 cpufreq_clamp = ct; in wf_smu_new_control()
574 fan_slots && cpufreq_clamp) in wf_smu_new_control()
[all …]
H A Dwindfarm_pm112.c66 static struct wf_control *cpufreq_clamp; variable
195 if (cpufreq_clamp) in cpu_max_all_fans()
196 wf_control_set_max(cpufreq_clamp); in cpu_max_all_fans()
497 if (cpufreq_clamp) in set_fail_state()
498 wf_control_set_max(cpufreq_clamp); in set_fail_state()
548 if (failure_state && last_failure == 0 && cpufreq_clamp) in pm112_tick()
549 wf_control_set_max(cpufreq_clamp); in pm112_tick()
550 if (failure_state == 0 && last_failure && cpufreq_clamp) in pm112_tick()
551 wf_control_set_min(cpufreq_clamp); in pm112_tick()
562 if (cpufreq_clamp == NULL && !strcmp(ct->name, "cpufreq-clamp")) { in pm112_new_control()
[all …]
H A Dwindfarm_rm31.c58 static struct wf_control *cpufreq_clamp; variable
107 if (cpufreq_clamp) in cpu_max_all_fans()
108 wf_control_set_max(cpufreq_clamp); in cpu_max_all_fans()
557 if (failure_state && last_failure == 0 && cpufreq_clamp) in rm31_tick()
558 wf_control_set_max(cpufreq_clamp); in rm31_tick()
559 if (failure_state == 0 && last_failure && cpufreq_clamp) in rm31_tick()
560 wf_control_set_min(cpufreq_clamp); in rm31_tick()
588 cpufreq_clamp = ct; in rm31_new_control()
H A Dwindfarm_pm72.c60 static struct wf_control *cpufreq_clamp; variable
113 if (cpufreq_clamp) in cpu_max_all_fans()
114 wf_control_set_max(cpufreq_clamp); in cpu_max_all_fans()
659 if (failure_state && last_failure == 0 && cpufreq_clamp) in pm72_tick()
660 wf_control_set_max(cpufreq_clamp); in pm72_tick()
661 if (failure_state == 0 && last_failure && cpufreq_clamp) in pm72_tick()
662 wf_control_set_min(cpufreq_clamp); in pm72_tick()
693 cpufreq_clamp = ct; in pm72_new_control()