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