Lines Matching refs:ct
538 static void wf_smu_new_control(struct wf_control *ct) in wf_smu_new_control() argument
543 if (fan_cpu_main == NULL && !strcmp(ct->name, "cpu-rear-fan-0")) { in wf_smu_new_control()
544 if (wf_get_control(ct) == 0) in wf_smu_new_control()
545 fan_cpu_main = ct; in wf_smu_new_control()
548 if (fan_cpu_second == NULL && !strcmp(ct->name, "cpu-rear-fan-1")) { in wf_smu_new_control()
549 if (wf_get_control(ct) == 0) in wf_smu_new_control()
550 fan_cpu_second = ct; in wf_smu_new_control()
553 if (fan_cpu_third == NULL && !strcmp(ct->name, "cpu-front-fan-0")) { in wf_smu_new_control()
554 if (wf_get_control(ct) == 0) in wf_smu_new_control()
555 fan_cpu_third = ct; in wf_smu_new_control()
558 if (cpufreq_clamp == NULL && !strcmp(ct->name, "cpufreq-clamp")) { in wf_smu_new_control()
559 if (wf_get_control(ct) == 0) in wf_smu_new_control()
560 cpufreq_clamp = ct; in wf_smu_new_control()
563 if (fan_hd == NULL && !strcmp(ct->name, "drive-bay-fan")) { in wf_smu_new_control()
564 if (wf_get_control(ct) == 0) in wf_smu_new_control()
565 fan_hd = ct; in wf_smu_new_control()
568 if (fan_slots == NULL && !strcmp(ct->name, "slots-fan")) { in wf_smu_new_control()
569 if (wf_get_control(ct) == 0) in wf_smu_new_control()
570 fan_slots = ct; in wf_smu_new_control()