Lines Matching full:transition
66 if ((config_store.transition[i].shifting_up && avg_power >= in amd_pmf_trans_automode()
67 config_store.transition[i].power_threshold) || in amd_pmf_trans_automode()
68 (!config_store.transition[i].shifting_up && avg_power <= in amd_pmf_trans_automode()
69 config_store.transition[i].power_threshold)) { in amd_pmf_trans_automode()
70 if (config_store.transition[i].timer < in amd_pmf_trans_automode()
71 config_store.transition[i].time_constant) in amd_pmf_trans_automode()
72 config_store.transition[i].timer += time_elapsed_ms; in amd_pmf_trans_automode()
74 config_store.transition[i].timer = 0; in amd_pmf_trans_automode()
77 if (config_store.transition[i].timer >= in amd_pmf_trans_automode()
78 config_store.transition[i].time_constant && in amd_pmf_trans_automode()
79 !config_store.transition[i].applied) { in amd_pmf_trans_automode()
80 config_store.transition[i].applied = true; in amd_pmf_trans_automode()
82 } else if (config_store.transition[i].timer <= in amd_pmf_trans_automode()
83 config_store.transition[i].time_constant && in amd_pmf_trans_automode()
84 config_store.transition[i].applied) { in amd_pmf_trans_automode()
85 config_store.transition[i].applied = false; in amd_pmf_trans_automode()
96 if (config_store.transition[j].applied) { in amd_pmf_trans_automode()
98 config_store.transition[j].target_mode) { in amd_pmf_trans_automode()
100 config_store.transition[j].target_mode; in amd_pmf_trans_automode()
115 config_store.transition[AUTO_TRANSITION_TO_PERFORMANCE].target_mode = in amd_pmf_update_2_cql()
119 mode != config_store.transition[AUTO_TRANSITION_TO_PERFORMANCE].target_mode) { in amd_pmf_update_2_cql()
120 mode = config_store.transition[AUTO_TRANSITION_TO_PERFORMANCE].target_mode; in amd_pmf_update_2_cql()
128 config_store.transition[AUTO_TRANSITION_TO_QUIET].power_threshold = in amd_pmf_get_power_threshold()
130 config_store.transition[AUTO_TRANSITION_TO_QUIET].power_delta; in amd_pmf_get_power_threshold()
132 config_store.transition[AUTO_TRANSITION_TO_PERFORMANCE].power_threshold = in amd_pmf_get_power_threshold()
134 config_store.transition[AUTO_TRANSITION_TO_PERFORMANCE].power_delta; in amd_pmf_get_power_threshold()
136 config_store.transition[AUTO_TRANSITION_FROM_QUIET_TO_BALANCE].power_threshold = in amd_pmf_get_power_threshold()
138 config_store.transition[AUTO_TRANSITION_FROM_QUIET_TO_BALANCE].power_delta; in amd_pmf_get_power_threshold()
140 config_store.transition[AUTO_TRANSITION_FROM_PERFORMANCE_TO_BALANCE].power_threshold = in amd_pmf_get_power_threshold()
142 config_store.transition[AUTO_TRANSITION_FROM_PERFORMANCE_TO_BALANCE].power_delta; in amd_pmf_get_power_threshold()
169 config_store.transition[AUTO_TRANSITION_TO_QUIET].time_constant = in amd_pmf_load_defaults_auto_mode()
171 config_store.transition[AUTO_TRANSITION_TO_PERFORMANCE].time_constant = in amd_pmf_load_defaults_auto_mode()
173 config_store.transition[AUTO_TRANSITION_FROM_QUIET_TO_BALANCE].time_constant = in amd_pmf_load_defaults_auto_mode()
175 config_store.transition[AUTO_TRANSITION_FROM_PERFORMANCE_TO_BALANCE].time_constant = in amd_pmf_load_defaults_auto_mode()
185 config_store.transition[AUTO_TRANSITION_TO_QUIET].power_delta = in amd_pmf_load_defaults_auto_mode()
187 config_store.transition[AUTO_TRANSITION_TO_PERFORMANCE].power_delta = in amd_pmf_load_defaults_auto_mode()
189 config_store.transition[AUTO_TRANSITION_FROM_QUIET_TO_BALANCE].power_delta = in amd_pmf_load_defaults_auto_mode()
191 config_store.transition[AUTO_TRANSITION_FROM_PERFORMANCE_TO_BALANCE].power_delta = in amd_pmf_load_defaults_auto_mode()
241 config_store.transition[AUTO_TRANSITION_TO_QUIET].target_mode = AUTO_QUIET; in amd_pmf_load_defaults_auto_mode()
242 config_store.transition[AUTO_TRANSITION_TO_PERFORMANCE].target_mode = in amd_pmf_load_defaults_auto_mode()
244 config_store.transition[AUTO_TRANSITION_FROM_QUIET_TO_BALANCE].target_mode = in amd_pmf_load_defaults_auto_mode()
246 config_store.transition[AUTO_TRANSITION_FROM_PERFORMANCE_TO_BALANCE].target_mode = in amd_pmf_load_defaults_auto_mode()
249 config_store.transition[AUTO_TRANSITION_TO_QUIET].shifting_up = false; in amd_pmf_load_defaults_auto_mode()
250 config_store.transition[AUTO_TRANSITION_TO_PERFORMANCE].shifting_up = true; in amd_pmf_load_defaults_auto_mode()
251 config_store.transition[AUTO_TRANSITION_FROM_QUIET_TO_BALANCE].shifting_up = true; in amd_pmf_load_defaults_auto_mode()
252 config_store.transition[AUTO_TRANSITION_FROM_PERFORMANCE_TO_BALANCE].shifting_up = in amd_pmf_load_defaults_auto_mode()