Lines Matching defs:tt
17 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle;
18 u32 duration = tt->params.ct_kill_duration;
27 tt->throttle = false;
28 tt->dynamic_smps = false;
36 schedule_delayed_work(&tt->ct_kill_exit,
278 struct iwl_mvm_tt_mgmt *tt;
284 tt = container_of(work, struct iwl_mvm_tt_mgmt, ct_kill_exit.work);
285 mvm = container_of(tt, struct iwl_mvm, thermal_throttle);
293 duration = tt->params.ct_kill_duration;
311 if (temp <= tt->params.ct_kill_exit) {
388 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle;
408 if (!tt->dynamic_smps &&
411 tt->dynamic_smps = true;
416 } else if (tt->dynamic_smps &&
419 tt->dynamic_smps = false;
436 tx_backoff = tt->min_backoff;
440 tx_backoff = max(tt->min_backoff,
443 if (tx_backoff != tt->min_backoff)
445 if (tt->tx_backoff != tx_backoff)
449 if (!tt->throttle && throttle_enable) {
452 tt->throttle = true;
453 } else if (tt->throttle && !tt->dynamic_smps &&
454 tt->tx_backoff == tt->min_backoff &&
458 tt->throttle = false;
801 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle;
806 tt->params = *mvm->cfg->thermal_params;
808 tt->params = iwl_mvm_default_tt_params;
810 tt->throttle = false;
811 tt->dynamic_smps = false;
812 tt->min_backoff = min_backoff;
813 INIT_DELAYED_WORK(&tt->ct_kill_exit, check_exit_ctkill);