Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_flush_no_vif() -> iwl_trans_wait_tx_queues_empty()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg->gen2 0
DATA_SOURCE 1 txqs $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_flush() -> iwl_trans_wait_tx_queues_empty()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg->gen2 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_redirect_queue() -> iwl_trans_wait_tx_queues_empty()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 trans->dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 trans->mac_cfg 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg->base 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg->base->eeprom_size 0,2048,16384,32768
PARAM_VALUE 0 trans->mac_cfg->base->max_tfd_queue_size 256,65536
PARAM_VALUE 0 trans->mac_cfg->base->min_txq_size 0,128
PARAM_VALUE 0 trans->mac_cfg->base->mon_dbgi_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 trans->mac_cfg->base->mon_dbgi_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 trans->mac_cfg->base->mon_dbgi_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 trans->mac_cfg->base->mon_dram_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 trans->mac_cfg->base->mon_dram_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 trans->mac_cfg->base->mon_dram_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 trans->mac_cfg->base->mon_smem_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 trans->mac_cfg->base->mon_smem_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 trans->mac_cfg->base->mon_smem_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 trans->mac_cfg->base->num_of_queues 20,31,512
PARAM_VALUE 0 trans->mac_cfg->base->wd_timeout 0,2500,10000
PARAM_VALUE 0 trans->mac_cfg->gen2 0
CAPPED_DATA 1 txqs 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 trans->info.num_rxqs
LOCK2 &mvm->mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct iwl_mvm)->mutex

drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_rm_sta() -> iwl_trans_wait_tx_queues_empty()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 trans->mac_cfg 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg->gen2 0
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt->dump.lmac_err_id 0-4294967295
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.dump.umac_err_id 0-4294967295
PARAM_VALUE 0 trans->restart.mode.context 0
PARAM_VALUE 0 trans->restart.mode.type 1,3
PARAM_VALUE 0 trans->restart.wk->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 trans->restart.wk.timer.is_hard 0-1
PARAM_VALUE 0 trans->restart.wk.timer.is_lazy 0-1
PARAM_VALUE 0 trans->restart.wk.timer.is_soft 0-1
PARAM_VALUE 0 trans->suppress_cmd_error_once 0
PARAM_VALUE 0 trans->trans_specific->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *trans->restart.wk.timer->entry.pprev 4096-ptr_max
CAPPED_DATA 0 trans->mac_cfg->base->num_of_queues 1
CAPPED_DATA 0 trans->mac_cfg->base->ucode_api_max 1
CAPPED_DATA 0 trans->mac_cfg->base->ucode_api_min 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mvm->mutex
TYPE_LOCK (struct iwl_mvm)->mutex

drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_sta_tx_agg_flush() -> iwl_trans_wait_tx_queues_empty()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 trans->mac_cfg 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg->gen2 0
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt->dump.lmac_err_id 0-4294967295
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.dump.umac_err_id 0-4294967295
PARAM_VALUE 0 trans->restart.mode.context 0
PARAM_VALUE 0 trans->restart.mode.type 1,3
PARAM_VALUE 0 trans->restart.wk->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 trans->restart.wk.timer.is_hard 0-1
PARAM_VALUE 0 trans->restart.wk.timer.is_lazy 0-1
PARAM_VALUE 0 trans->restart.wk.timer.is_soft 0-1
PARAM_VALUE 0 trans->suppress_cmd_error_once 0
PARAM_VALUE 0 trans->trans_specific->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *trans->restart.wk.timer->entry.pprev 4096-ptr_max
CAPPED_DATA 0 trans->mac_cfg->base->num_of_queues 1
CAPPED_DATA 0 trans->mac_cfg->base->ucode_api_max 1
CAPPED_DATA 0 trans->mac_cfg->base->ucode_api_min 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mvm->mutex
TYPE_LOCK (struct iwl_mvm)->mutex

drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_sta_tx_agg_oper() -> iwl_trans_wait_tx_queues_empty()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg->base 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg->base->wd_timeout 0,2500,10000
PARAM_VALUE 0 trans->mac_cfg->gen2 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mvm->mutex
TYPE_LOCK (struct iwl_mvm)->mutex

drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c iwlagn_mac_flush() -> iwl_trans_wait_tx_queues_empty()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg->base 4096-ptr_max
PARAM_VALUE 1 txqs 0-4294966767
BIT_INFO 1 txqs 0x0,0xfffffdef
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->mutex
TYPE_LOCK (struct iwl_priv)->mutex

drivers/net/wireless/intel/iwlwifi/dvm/lib.c iwlagn_dev_txfifo_flush() -> iwl_trans_wait_tx_queues_empty()

Type Parameter Key Value
PARAM_VALUE 0 trans->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 trans->state 2
PARAM_VALUE 0 trans->trans_specific->cmd_hold_nic_awake 1
PARAM_VALUE 0 trans->trans_specific->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 txqs u32max
CAPPED_DATA 0 trans->mac_cfg->base->num_of_queues 1
CAPPED_DATA 0 trans->mac_cfg->base->ucode_api_max 1
CAPPED_DATA 0 trans->mac_cfg->base->ucode_api_min 1
NOCHECK_CALL
LOCK2 &priv->mutex
TYPE_LOCK (struct iwl_priv)->mutex