Home
last modified time | relevance | path

Searched refs:piddata (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/macintosh/
Dwindfarm_pm91.c146 struct smu_sdbp_cpupiddata *piddata; in wf_smu_create_cpu_fans() local
157 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; in wf_smu_create_cpu_fans()
178 pid_param.history_len = piddata->history_len; in wf_smu_create_cpu_fans()
181 "CPU control loop (%d)\n", piddata->history_len); 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()
188 tdelta = ((s32)piddata->target_temp_delta) << 16; in wf_smu_create_cpu_fans()
189 maxpow = ((s32)piddata->max_power) << 16; in wf_smu_create_cpu_fans()
190 powadj = ((s32)piddata->power_adj) << 16; in wf_smu_create_cpu_fans()
Dwindfarm_pm81.c397 struct smu_sdbp_cpupiddata *piddata; in wf_smu_create_cpu_fans() local
408 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; in wf_smu_create_cpu_fans()
432 pid_param.history_len = piddata->history_len; in wf_smu_create_cpu_fans()
435 "CPU control loop (%d)\n", piddata->history_len); in wf_smu_create_cpu_fans()
438 pid_param.gd = piddata->gd; in wf_smu_create_cpu_fans()
439 pid_param.gp = piddata->gp; in wf_smu_create_cpu_fans()
440 pid_param.gr = piddata->gr / pid_param.history_len; in wf_smu_create_cpu_fans()
442 tdelta = ((s32)piddata->target_temp_delta) << 16; in wf_smu_create_cpu_fans()
443 maxpow = ((s32)piddata->max_power) << 16; in wf_smu_create_cpu_fans()
444 powadj = ((s32)piddata->power_adj) << 16; in wf_smu_create_cpu_fans()
Dwindfarm_pm112.c129 struct smu_sdbp_cpupiddata *piddata; in create_cpu_loop() local
155 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; in create_cpu_loop()
166 pid.history_len = piddata->history_len; in create_cpu_loop()
167 pid.gd = piddata->gd; in create_cpu_loop()
168 pid.gp = piddata->gp; in create_cpu_loop()
169 pid.gr = piddata->gr / piddata->history_len; in create_cpu_loop()
170 pid.pmaxadj = (piddata->max_power << 16) - (piddata->power_adj << 8); in create_cpu_loop()
171 pid.ttarget = tmax - (piddata->target_temp_delta << 16); in create_cpu_loop()
Dwindfarm_pm121.c644 struct smu_sdbp_cpupiddata *piddata; in pm121_create_cpu_fans() local
657 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; in pm121_create_cpu_fans()
678 pid_param.history_len = piddata->history_len; in pm121_create_cpu_fans()
681 "CPU control loop (%d)\n", piddata->history_len); in pm121_create_cpu_fans()
684 pid_param.gd = piddata->gd; in pm121_create_cpu_fans()
685 pid_param.gp = piddata->gp; in pm121_create_cpu_fans()
686 pid_param.gr = piddata->gr / pid_param.history_len; in pm121_create_cpu_fans()
688 tdelta = ((s32)piddata->target_temp_delta) << 16; in pm121_create_cpu_fans()
689 maxpow = ((s32)piddata->max_power) << 16; in pm121_create_cpu_fans()
690 powadj = ((s32)piddata->power_adj) << 16; in pm121_create_cpu_fans()