Lines Matching refs:ct
612 static void wf_smu_new_control(struct wf_control *ct) in wf_smu_new_control() argument
617 if (fan_cpu_main == NULL && !strcmp(ct->name, "cpu-fan")) { in wf_smu_new_control()
618 if (wf_get_control(ct) == 0) in wf_smu_new_control()
619 fan_cpu_main = ct; in wf_smu_new_control()
622 if (fan_system == NULL && !strcmp(ct->name, "system-fan")) { in wf_smu_new_control()
623 if (wf_get_control(ct) == 0) in wf_smu_new_control()
624 fan_system = ct; in wf_smu_new_control()
627 if (cpufreq_clamp == NULL && !strcmp(ct->name, "cpufreq-clamp")) { in wf_smu_new_control()
628 if (wf_get_control(ct) == 0) in wf_smu_new_control()
629 cpufreq_clamp = ct; in wf_smu_new_control()
642 if (fan_hd == NULL && !strcmp(ct->name, "drive-bay-fan")) { in wf_smu_new_control()
643 if (wf_get_control(ct) == 0) in wf_smu_new_control()
644 fan_hd = ct; in wf_smu_new_control()