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

/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_pm112.c130 struct smu_sdbp_cpupiddata *piddata; create_cpu_loop() local
142 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; create_cpu_loop()
165 pid.history_len = piddata->history_len; create_cpu_loop()
166 pid.gd = piddata->gd; create_cpu_loop()
167 pid.gp = piddata->gp; create_cpu_loop()
168 pid.gr = piddata->gr / piddata->history_len; create_cpu_loop()
169 pid.pmaxadj = (piddata->max_power << 16) - (piddata->power_adj << 8); create_cpu_loop()
170 pid.ttarget = tmax - (piddata->target_temp_delta << 16); create_cpu_loop()
H A Dwindfarm_pm121.c654 struct smu_sdbp_cpupiddata *piddata; pm121_create_cpu_fans() local
667 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; pm121_create_cpu_fans()
688 pid_param.history_len = piddata->history_len; pm121_create_cpu_fans()
691 "CPU control loop (%d)\n", piddata->history_len); pm121_create_cpu_fans()
694 pid_param.gd = piddata->gd; pm121_create_cpu_fans()
695 pid_param.gp = piddata->gp; pm121_create_cpu_fans()
696 pid_param.gr = piddata->gr / pid_param.history_len; pm121_create_cpu_fans()
698 tdelta = ((s32)piddata->target_temp_delta) << 16; pm121_create_cpu_fans()
699 maxpow = ((s32)piddata->max_power) << 16; pm121_create_cpu_fans()
700 powadj = ((s32)piddata->power_adj) << 16; pm121_create_cpu_fans()
H A Dwindfarm_pm81.c398 struct smu_sdbp_cpupiddata *piddata; wf_smu_create_cpu_fans() local
409 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; wf_smu_create_cpu_fans()
433 pid_param.history_len = piddata->history_len; wf_smu_create_cpu_fans()
436 "CPU control loop (%d)\n", piddata->history_len); wf_smu_create_cpu_fans()
439 pid_param.gd = piddata->gd; wf_smu_create_cpu_fans()
440 pid_param.gp = piddata->gp; wf_smu_create_cpu_fans()
441 pid_param.gr = piddata->gr / pid_param.history_len; wf_smu_create_cpu_fans()
443 tdelta = ((s32)piddata->target_temp_delta) << 16; wf_smu_create_cpu_fans()
444 maxpow = ((s32)piddata->max_power) << 16; wf_smu_create_cpu_fans()
445 powadj = ((s32)piddata->power_adj) << 16; wf_smu_create_cpu_fans()
H A Dwindfarm_pm91.c146 struct smu_sdbp_cpupiddata *piddata; wf_smu_create_cpu_fans() local
157 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; wf_smu_create_cpu_fans()
178 pid_param.history_len = piddata->history_len; wf_smu_create_cpu_fans()
181 "CPU control loop (%d)\n", piddata->history_len); wf_smu_create_cpu_fans()
184 pid_param.gd = piddata->gd; wf_smu_create_cpu_fans()
185 pid_param.gp = piddata->gp; wf_smu_create_cpu_fans()
186 pid_param.gr = piddata->gr / pid_param.history_len; wf_smu_create_cpu_fans()
188 tdelta = ((s32)piddata->target_temp_delta) << 16; wf_smu_create_cpu_fans()
189 maxpow = ((s32)piddata->max_power) << 16; wf_smu_create_cpu_fans()
190 powadj = ((s32)piddata->power_adj) << 16; wf_smu_create_cpu_fans()

Completed in 117 milliseconds