Lines Matching refs:temp

111 	s32 temp = priv->temperature; /* degrees CELSIUS except specified */  in iwl_within_ct_kill_margin()  local
115 within_margin = ((temp + IWL_TT_CT_KILL_MARGIN) >= in iwl_within_ct_kill_margin()
118 within_margin = ((temp + IWL_TT_CT_KILL_MARGIN) >= in iwl_within_ct_kill_margin()
258 static void iwl_legacy_tt_handler(struct iwl_priv *priv, s32 temp, bool force) in iwl_legacy_tt_handler() argument
265 (temp > tt->tt_previous_temp) && in iwl_legacy_tt_handler()
266 ((temp - tt->tt_previous_temp) > in iwl_legacy_tt_handler()
270 (temp - tt->tt_previous_temp)); in iwl_legacy_tt_handler()
275 if (temp >= IWL_MINIMAL_POWER_THRESHOLD) in iwl_legacy_tt_handler()
277 else if (temp >= IWL_REDUCED_PERFORMANCE_THRESHOLD_2) in iwl_legacy_tt_handler()
279 else if (temp >= IWL_REDUCED_PERFORMANCE_THRESHOLD_1) in iwl_legacy_tt_handler()
285 tt->tt_previous_temp = temp; in iwl_legacy_tt_handler()
363 static void iwl_advance_tt_handler(struct iwl_priv *priv, s32 temp, bool force) in iwl_advance_tt_handler() argument
385 if (temp >= transaction->tt_low && in iwl_advance_tt_handler()
386 temp <= transaction->tt_high) { in iwl_advance_tt_handler()
389 (temp > tt->tt_previous_temp) && in iwl_advance_tt_handler()
390 ((temp - tt->tt_previous_temp) > in iwl_advance_tt_handler()
395 (temp - tt->tt_previous_temp)); in iwl_advance_tt_handler()
397 tt->tt_previous_temp = temp; in iwl_advance_tt_handler()
579 s32 temp = priv->temperature; /* degrees CELSIUS except specified */ in iwl_bg_tt_work() local
585 iwl_legacy_tt_handler(priv, temp, false); in iwl_bg_tt_work()
587 iwl_advance_tt_handler(priv, temp, false); in iwl_bg_tt_work()