Lines Matching refs:cpufreq_clamp
138 static struct wf_control *cpufreq_clamp; variable
466 if (cpufreq_clamp) in wf_smu_create_cpu_fans()
467 wf_control_set_max(cpufreq_clamp); in wf_smu_create_cpu_fans()
571 if (cpufreq_clamp) in wf_smu_tick()
572 wf_control_set_max(cpufreq_clamp); in wf_smu_tick()
585 if (cpufreq_clamp) in wf_smu_tick()
586 wf_control_set_min(cpufreq_clamp); in wf_smu_tick()
626 if (cpufreq_clamp == NULL && !strcmp(ct->name, "cpufreq-clamp")) { in wf_smu_new_control()
628 cpufreq_clamp = ct; in wf_smu_new_control()
636 if (fan_system && fan_cpu_main && cpufreq_clamp) in wf_smu_new_control()
646 if (fan_system && fan_hd && fan_cpu_main && cpufreq_clamp) in wf_smu_new_control()
757 if (cpufreq_clamp) in wf_smu_remove()
758 wf_put_control(cpufreq_clamp); in wf_smu_remove()