Lines Matching refs:cpufreq_clamp
140 static struct wf_control *cpufreq_clamp; variable
468 if (cpufreq_clamp) in wf_smu_create_cpu_fans()
469 wf_control_set_max(cpufreq_clamp); in wf_smu_create_cpu_fans()
573 if (cpufreq_clamp) in wf_smu_tick()
574 wf_control_set_max(cpufreq_clamp); in wf_smu_tick()
587 if (cpufreq_clamp) in wf_smu_tick()
588 wf_control_set_min(cpufreq_clamp); in wf_smu_tick()
628 if (cpufreq_clamp == NULL && !strcmp(ct->name, "cpufreq-clamp")) { in wf_smu_new_control()
630 cpufreq_clamp = ct; in wf_smu_new_control()
638 if (fan_system && fan_cpu_main && cpufreq_clamp) in wf_smu_new_control()
648 if (fan_system && fan_hd && fan_cpu_main && cpufreq_clamp) in wf_smu_new_control()
759 if (cpufreq_clamp) in wf_smu_remove()
760 wf_put_control(cpufreq_clamp); in wf_smu_remove()