Lines Matching refs:thermal_throttle
66 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tt_is_low_power_state()
75 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tt_current_power_mode()
82 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_ht_enabled()
85 if (!priv->thermal_throttle.advanced_tt) in iwl_ht_enabled()
96 if (!priv->thermal_throttle.advanced_tt) in iwl_within_ct_kill_margin()
118 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tx_ant_restriction()
121 if (!priv->thermal_throttle.advanced_tt) in iwl_tx_ant_restriction()
129 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_rx_ant_restriction()
132 if (!priv->thermal_throttle.advanced_tt) in iwl_rx_ant_restriction()
152 thermal_throttle.ct_kill_exit_tm); in iwl_tt_check_exit_ct_kill()
153 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tt_check_exit_ct_kill()
159 if (priv->thermal_throttle.ct_kill_toggle) { in iwl_tt_check_exit_ct_kill()
162 priv->thermal_throttle.ct_kill_toggle = false; in iwl_tt_check_exit_ct_kill()
166 priv->thermal_throttle.ct_kill_toggle = true; in iwl_tt_check_exit_ct_kill()
176 mod_timer(&priv->thermal_throttle.ct_kill_exit_tm, in iwl_tt_check_exit_ct_kill()
190 mod_timer(&priv->thermal_throttle.ct_kill_exit_tm, in iwl_perform_ct_kill_task()
202 thermal_throttle.ct_kill_waiting_tm); in iwl_tt_ready_for_ct_kill()
203 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tt_ready_for_ct_kill()
224 mod_timer(&priv->thermal_throttle.ct_kill_waiting_tm, in iwl_prepare_ct_kill_task()
243 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_legacy_tt_handler()
271 del_timer_sync(&priv->thermal_throttle.ct_kill_waiting_tm); in iwl_legacy_tt_handler()
348 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_advance_tt_handler()
392 del_timer_sync(&priv->thermal_throttle.ct_kill_waiting_tm); in iwl_advance_tt_handler()
482 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_bg_ct_enter()
493 if (!priv->thermal_throttle.advanced_tt) in iwl_bg_ct_enter()
511 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_bg_ct_exit()
520 del_timer_sync(&priv->thermal_throttle.ct_kill_exit_tm); in iwl_bg_ct_exit()
531 if (!priv->thermal_throttle.advanced_tt) in iwl_bg_ct_exit()
567 if (!priv->thermal_throttle.advanced_tt) in iwl_bg_tt_work()
589 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tt_initialize()
598 timer_setup(&priv->thermal_throttle.ct_kill_exit_tm, in iwl_tt_initialize()
600 timer_setup(&priv->thermal_throttle.ct_kill_waiting_tm, in iwl_tt_initialize()
618 priv->thermal_throttle.advanced_tt = false; in iwl_tt_initialize()
640 priv->thermal_throttle.advanced_tt = true; in iwl_tt_initialize()
644 priv->thermal_throttle.advanced_tt = false; in iwl_tt_initialize()
651 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tt_exit()
654 del_timer_sync(&priv->thermal_throttle.ct_kill_exit_tm); in iwl_tt_exit()
656 del_timer_sync(&priv->thermal_throttle.ct_kill_waiting_tm); in iwl_tt_exit()
661 if (priv->thermal_throttle.advanced_tt) { in iwl_tt_exit()