Lines Matching defs:tt
15 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle;
16 u32 duration = tt->params.ct_kill_duration;
25 tt->throttle = false;
26 tt->dynamic_smps = false;
34 schedule_delayed_work(&tt->ct_kill_exit,
276 struct iwl_mvm_tt_mgmt *tt;
282 tt = container_of(work, struct iwl_mvm_tt_mgmt, ct_kill_exit.work);
283 mvm = container_of(tt, struct iwl_mvm, thermal_throttle);
291 duration = tt->params.ct_kill_duration;
309 if (temp <= tt->params.ct_kill_exit) {
386 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle;
406 if (!tt->dynamic_smps &&
409 tt->dynamic_smps = true;
414 } else if (tt->dynamic_smps &&
417 tt->dynamic_smps = false;
434 tx_backoff = tt->min_backoff;
438 tx_backoff = max(tt->min_backoff,
441 if (tx_backoff != tt->min_backoff)
443 if (tt->tx_backoff != tx_backoff)
447 if (!tt->throttle && throttle_enable) {
450 tt->throttle = true;
451 } else if (tt->throttle && !tt->dynamic_smps &&
452 tt->tx_backoff == tt->min_backoff &&
456 tt->throttle = false;
815 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle;
820 tt->params = *mvm->cfg->thermal_params;
822 tt->params = iwl_mvm_default_tt_params;
824 tt->throttle = false;
825 tt->dynamic_smps = false;
826 tt->min_backoff = min_backoff;
827 INIT_DELAYED_WORK(&tt->ct_kill_exit, check_exit_ctkill);