Lines Matching refs:pid_param
144 struct wf_cpu_pid_param pid_param; in wf_smu_create_cpu_fans() local
177 pid_param.interval = WF_SMU_CPU_FANS_INTERVAL; in wf_smu_create_cpu_fans()
178 pid_param.history_len = piddata->history_len; in wf_smu_create_cpu_fans()
179 if (pid_param.history_len > WF_CPU_PID_MAX_HISTORY) { in wf_smu_create_cpu_fans()
182 pid_param.history_len = WF_CPU_PID_MAX_HISTORY; in wf_smu_create_cpu_fans()
184 pid_param.gd = piddata->gd; in wf_smu_create_cpu_fans()
185 pid_param.gp = piddata->gp; in wf_smu_create_cpu_fans()
186 pid_param.gr = piddata->gr / pid_param.history_len; in wf_smu_create_cpu_fans()
192 pid_param.tmax = tmax; in wf_smu_create_cpu_fans()
193 pid_param.ttarget = tmax - tdelta; in wf_smu_create_cpu_fans()
194 pid_param.pmaxadj = maxpow - powadj; in wf_smu_create_cpu_fans()
196 pid_param.min = wf_control_get_min(fan_cpu_main); in wf_smu_create_cpu_fans()
197 pid_param.max = wf_control_get_max(fan_cpu_main); in wf_smu_create_cpu_fans()
199 wf_cpu_pid_init(&wf_smu_cpu_fans->pid, &pid_param); in wf_smu_create_cpu_fans()
203 FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), in wf_smu_create_cpu_fans()
204 pid_param.min, pid_param.max); in wf_smu_create_cpu_fans()