Lines Matching refs:fan_cpu_main
136 static struct wf_control *fan_cpu_main; variable
451 pid_param.min = wf_control_get_min(fan_cpu_main); in wf_smu_create_cpu_fans()
452 pid_param.max = wf_control_get_max(fan_cpu_main); in wf_smu_create_cpu_fans()
469 if (fan_cpu_main) in wf_smu_create_cpu_fans()
470 wf_control_set_max(fan_cpu_main); in wf_smu_create_cpu_fans()
528 if (fan_cpu_main && wf_smu_failure_state == 0) { in wf_smu_cpu_fans_tick()
529 rc = wf_control_set(fan_cpu_main, st->cpu_setpoint); in wf_smu_cpu_fans_tick()
576 if (fan_cpu_main) in wf_smu_tick()
577 wf_control_set_max(fan_cpu_main); in wf_smu_tick()
617 if (fan_cpu_main == NULL && !strcmp(ct->name, "cpu-fan")) { in wf_smu_new_control()
619 fan_cpu_main = 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()
752 if (fan_cpu_main) in wf_smu_remove()
753 wf_put_control(fan_cpu_main); in wf_smu_remove()