Searched refs:piddata (Results 1 – 4 of 4) sorted by relevance
146 struct smu_sdbp_cpupiddata *piddata; in wf_smu_create_cpu_fans() local157 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()
397 struct smu_sdbp_cpupiddata *piddata; in wf_smu_create_cpu_fans() local408 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()
129 struct smu_sdbp_cpupiddata *piddata; in create_cpu_loop() local155 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()
644 struct smu_sdbp_cpupiddata *piddata; in pm121_create_cpu_fans() local657 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()