Lines Matching defs:temp
93 s32 temp = priv->temperature; /* degrees CELSIUS except specified */
97 within_margin = ((temp + IWL_TT_CT_KILL_MARGIN) >=
100 within_margin = ((temp + IWL_TT_CT_KILL_MARGIN) >=
241 static void iwl_legacy_tt_handler(struct iwl_priv *priv, s32 temp, bool force)
248 (temp > tt->tt_previous_temp) &&
249 ((temp - tt->tt_previous_temp) >
253 (temp - tt->tt_previous_temp));
258 if (temp >= IWL_MINIMAL_POWER_THRESHOLD)
260 else if (temp >= IWL_REDUCED_PERFORMANCE_THRESHOLD_2)
262 else if (temp >= IWL_REDUCED_PERFORMANCE_THRESHOLD_1)
268 tt->tt_previous_temp = temp;
346 static void iwl_advance_tt_handler(struct iwl_priv *priv, s32 temp, bool force)
368 if (temp >= transaction->tt_low &&
369 temp <= transaction->tt_high) {
372 (temp > tt->tt_previous_temp) &&
373 ((temp - tt->tt_previous_temp) >
378 (temp - tt->tt_previous_temp));
380 tt->tt_previous_temp = temp;
562 s32 temp = priv->temperature; /* degrees CELSIUS except specified */
568 iwl_legacy_tt_handler(priv, temp, false);
570 iwl_advance_tt_handler(priv, temp, false);