Lines Matching refs:cpufreq_clamp
139 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()
647 if (fan_system && fan_hd && fan_cpu_main && cpufreq_clamp) in wf_smu_new_control()
758 if (cpufreq_clamp) in wf_smu_remove()
759 wf_put_control(cpufreq_clamp); in wf_smu_remove()