Searched refs:piddata (Results 1 – 4 of 4) sorted by relevance
145 struct smu_sdbp_cpupiddata *piddata; in wf_smu_create_cpu_fans() local156 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; in wf_smu_create_cpu_fans()177 pid_param.history_len = piddata->history_len; in wf_smu_create_cpu_fans()180 "CPU control loop (%d)\n", piddata->history_len); in wf_smu_create_cpu_fans()183 pid_param.gd = piddata->gd; in wf_smu_create_cpu_fans()184 pid_param.gp = piddata->gp; in wf_smu_create_cpu_fans()185 pid_param.gr = piddata->gr / pid_param.history_len; in wf_smu_create_cpu_fans()187 tdelta = ((s32)piddata->target_temp_delta) << 16; in wf_smu_create_cpu_fans()188 maxpow = ((s32)piddata->max_power) << 16; in wf_smu_create_cpu_fans()189 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()
130 struct smu_sdbp_cpupiddata *piddata; in create_cpu_loop() local142 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; in create_cpu_loop()165 pid.history_len = piddata->history_len; in create_cpu_loop()166 pid.gd = piddata->gd; in create_cpu_loop()167 pid.gp = piddata->gp; in create_cpu_loop()168 pid.gr = piddata->gr / piddata->history_len; in create_cpu_loop()169 pid.pmaxadj = (piddata->max_power << 16) - (piddata->power_adj << 8); in create_cpu_loop()170 pid.ttarget = tmax - (piddata->target_temp_delta << 16); in create_cpu_loop()
643 struct smu_sdbp_cpupiddata *piddata; in pm121_create_cpu_fans() local656 piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; in pm121_create_cpu_fans()677 pid_param.history_len = piddata->history_len; in pm121_create_cpu_fans()680 "CPU control loop (%d)\n", piddata->history_len); in pm121_create_cpu_fans()683 pid_param.gd = piddata->gd; in pm121_create_cpu_fans()684 pid_param.gp = piddata->gp; in pm121_create_cpu_fans()685 pid_param.gr = piddata->gr / pid_param.history_len; in pm121_create_cpu_fans()687 tdelta = ((s32)piddata->target_temp_delta) << 16; in pm121_create_cpu_fans()688 maxpow = ((s32)piddata->max_power) << 16; in pm121_create_cpu_fans()689 powadj = ((s32)piddata->power_adj) << 16; in pm121_create_cpu_fans()