Lines Matching full:out

161 static void amd_pmf_update_trans_data(int idx, struct apmf_dyn_slider_output out)  in amd_pmf_update_trans_data()  argument
166 tp->time_constant = out.t_balanced_to_quiet; in amd_pmf_update_trans_data()
171 tp->time_constant = out.t_balanced_to_perf; in amd_pmf_update_trans_data()
176 tp->time_constant = out.t_quiet_to_balanced; in amd_pmf_update_trans_data()
181 tp->time_constant = out.t_perf_to_balanced; in amd_pmf_update_trans_data()
186 tp->time_constant = out.t_turbo_to_perf; in amd_pmf_update_trans_data()
191 tp->time_constant = out.t_perf_to_turbo; in amd_pmf_update_trans_data()
196 static void amd_pmf_update_mode_set(int idx, struct apmf_dyn_slider_output out) in amd_pmf_update_mode_set() argument
202 ms->power_floor = out.ps[APMF_CNQF_QUIET].pfloor; in amd_pmf_update_mode_set()
203 ms->power_control.fppt = out.ps[APMF_CNQF_QUIET].fppt; in amd_pmf_update_mode_set()
204 ms->power_control.sppt = out.ps[APMF_CNQF_QUIET].sppt; in amd_pmf_update_mode_set()
205 ms->power_control.sppt_apu_only = out.ps[APMF_CNQF_QUIET].sppt_apu_only; in amd_pmf_update_mode_set()
206 ms->power_control.spl = out.ps[APMF_CNQF_QUIET].spl; in amd_pmf_update_mode_set()
207 ms->power_control.stt_min = out.ps[APMF_CNQF_QUIET].stt_min_limit; in amd_pmf_update_mode_set()
209 out.ps[APMF_CNQF_QUIET].stt_skintemp[STT_TEMP_APU]; in amd_pmf_update_mode_set()
211 out.ps[APMF_CNQF_QUIET].stt_skintemp[STT_TEMP_HS2]; in amd_pmf_update_mode_set()
212 ms->fan_control.fan_id = out.ps[APMF_CNQF_QUIET].fan_id; in amd_pmf_update_mode_set()
216 ms->power_floor = out.ps[APMF_CNQF_BALANCE].pfloor; in amd_pmf_update_mode_set()
217 ms->power_control.fppt = out.ps[APMF_CNQF_BALANCE].fppt; in amd_pmf_update_mode_set()
218 ms->power_control.sppt = out.ps[APMF_CNQF_BALANCE].sppt; in amd_pmf_update_mode_set()
219 ms->power_control.sppt_apu_only = out.ps[APMF_CNQF_BALANCE].sppt_apu_only; in amd_pmf_update_mode_set()
220 ms->power_control.spl = out.ps[APMF_CNQF_BALANCE].spl; in amd_pmf_update_mode_set()
221 ms->power_control.stt_min = out.ps[APMF_CNQF_BALANCE].stt_min_limit; in amd_pmf_update_mode_set()
223 out.ps[APMF_CNQF_BALANCE].stt_skintemp[STT_TEMP_APU]; in amd_pmf_update_mode_set()
225 out.ps[APMF_CNQF_BALANCE].stt_skintemp[STT_TEMP_HS2]; in amd_pmf_update_mode_set()
226 ms->fan_control.fan_id = out.ps[APMF_CNQF_BALANCE].fan_id; in amd_pmf_update_mode_set()
230 ms->power_floor = out.ps[APMF_CNQF_PERFORMANCE].pfloor; in amd_pmf_update_mode_set()
231 ms->power_control.fppt = out.ps[APMF_CNQF_PERFORMANCE].fppt; in amd_pmf_update_mode_set()
232 ms->power_control.sppt = out.ps[APMF_CNQF_PERFORMANCE].sppt; in amd_pmf_update_mode_set()
233 ms->power_control.sppt_apu_only = out.ps[APMF_CNQF_PERFORMANCE].sppt_apu_only; in amd_pmf_update_mode_set()
234 ms->power_control.spl = out.ps[APMF_CNQF_PERFORMANCE].spl; in amd_pmf_update_mode_set()
235 ms->power_control.stt_min = out.ps[APMF_CNQF_PERFORMANCE].stt_min_limit; in amd_pmf_update_mode_set()
237 out.ps[APMF_CNQF_PERFORMANCE].stt_skintemp[STT_TEMP_APU]; in amd_pmf_update_mode_set()
239 out.ps[APMF_CNQF_PERFORMANCE].stt_skintemp[STT_TEMP_HS2]; in amd_pmf_update_mode_set()
240 ms->fan_control.fan_id = out.ps[APMF_CNQF_PERFORMANCE].fan_id; in amd_pmf_update_mode_set()
244 ms->power_floor = out.ps[APMF_CNQF_TURBO].pfloor; in amd_pmf_update_mode_set()
245 ms->power_control.fppt = out.ps[APMF_CNQF_TURBO].fppt; in amd_pmf_update_mode_set()
246 ms->power_control.sppt = out.ps[APMF_CNQF_TURBO].sppt; in amd_pmf_update_mode_set()
247 ms->power_control.sppt_apu_only = out.ps[APMF_CNQF_TURBO].sppt_apu_only; in amd_pmf_update_mode_set()
248 ms->power_control.spl = out.ps[APMF_CNQF_TURBO].spl; in amd_pmf_update_mode_set()
249 ms->power_control.stt_min = out.ps[APMF_CNQF_TURBO].stt_min_limit; in amd_pmf_update_mode_set()
251 out.ps[APMF_CNQF_TURBO].stt_skintemp[STT_TEMP_APU]; in amd_pmf_update_mode_set()
253 out.ps[APMF_CNQF_TURBO].stt_skintemp[STT_TEMP_HS2]; in amd_pmf_update_mode_set()
254 ms->fan_control.fan_id = out.ps[APMF_CNQF_TURBO].fan_id; in amd_pmf_update_mode_set()
259 struct apmf_dyn_slider_output out = {}; in amd_pmf_check_flags() local
262 apmf_get_dyn_slider_def_ac(dev, &out); in amd_pmf_check_flags()
264 apmf_get_dyn_slider_def_dc(dev, &out); in amd_pmf_check_flags()
266 return out.flags; in amd_pmf_check_flags()
271 struct apmf_dyn_slider_output out; in amd_pmf_load_defaults_cnqf() local
279 ret = apmf_get_dyn_slider_def_ac(dev, &out); in amd_pmf_load_defaults_cnqf()
281 ret = apmf_get_dyn_slider_def_dc(dev, &out); in amd_pmf_load_defaults_cnqf()
287 amd_pmf_update_mode_set(i, out); in amd_pmf_load_defaults_cnqf()
288 amd_pmf_update_trans_data(i, out); in amd_pmf_load_defaults_cnqf()