Home
last modified time | relevance | path

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

/drivers/macintosh/
Dwindfarm_pm91.c147 struct smu_sdbp_cpupiddata *piddata; in wf_smu_create_cpu_fans() local
158 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; in wf_smu_create_cpu_fans()
179 pid_param.history_len = piddata->history_len; in wf_smu_create_cpu_fans()
182 "CPU control loop (%d)\n", piddata->history_len); in wf_smu_create_cpu_fans()
185 pid_param.gd = piddata->gd; in wf_smu_create_cpu_fans()
186 pid_param.gp = piddata->gp; in wf_smu_create_cpu_fans()
187 pid_param.gr = piddata->gr / pid_param.history_len; in wf_smu_create_cpu_fans()
189 tdelta = ((s32)piddata->target_temp_delta) << 16; in wf_smu_create_cpu_fans()
190 maxpow = ((s32)piddata->max_power) << 16; in wf_smu_create_cpu_fans()
191 powadj = ((s32)piddata->power_adj) << 16; in wf_smu_create_cpu_fans()
Dwindfarm_pm81.c398 struct smu_sdbp_cpupiddata *piddata; in wf_smu_create_cpu_fans() local
409 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; in wf_smu_create_cpu_fans()
433 pid_param.history_len = piddata->history_len; in wf_smu_create_cpu_fans()
436 "CPU control loop (%d)\n", piddata->history_len); in wf_smu_create_cpu_fans()
439 pid_param.gd = piddata->gd; in wf_smu_create_cpu_fans()
440 pid_param.gp = piddata->gp; in wf_smu_create_cpu_fans()
441 pid_param.gr = piddata->gr / pid_param.history_len; in wf_smu_create_cpu_fans()
443 tdelta = ((s32)piddata->target_temp_delta) << 16; in wf_smu_create_cpu_fans()
444 maxpow = ((s32)piddata->max_power) << 16; in wf_smu_create_cpu_fans()
445 powadj = ((s32)piddata->power_adj) << 16; in wf_smu_create_cpu_fans()
Dwindfarm_pm112.c131 struct smu_sdbp_cpupiddata *piddata; in create_cpu_loop() local
157 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; in create_cpu_loop()
168 pid.history_len = piddata->history_len; in create_cpu_loop()
169 pid.gd = piddata->gd; in create_cpu_loop()
170 pid.gp = piddata->gp; in create_cpu_loop()
171 pid.gr = piddata->gr / piddata->history_len; in create_cpu_loop()
172 pid.pmaxadj = (piddata->max_power << 16) - (piddata->power_adj << 8); in create_cpu_loop()
173 pid.ttarget = tmax - (piddata->target_temp_delta << 16); in create_cpu_loop()
Dwindfarm_pm121.c645 struct smu_sdbp_cpupiddata *piddata; in pm121_create_cpu_fans() local
658 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; in pm121_create_cpu_fans()
679 pid_param.history_len = piddata->history_len; in pm121_create_cpu_fans()
682 "CPU control loop (%d)\n", piddata->history_len); in pm121_create_cpu_fans()
685 pid_param.gd = piddata->gd; in pm121_create_cpu_fans()
686 pid_param.gp = piddata->gp; in pm121_create_cpu_fans()
687 pid_param.gr = piddata->gr / pid_param.history_len; in pm121_create_cpu_fans()
689 tdelta = ((s32)piddata->target_temp_delta) << 16; in pm121_create_cpu_fans()
690 maxpow = ((s32)piddata->max_power) << 16; in pm121_create_cpu_fans()
691 powadj = ((s32)piddata->power_adj) << 16; in pm121_create_cpu_fans()