Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx-gen2.c, line 851
- drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
Smatch caller information:
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c iwl_pcie_reclaim() -> iwl_trans_pcie_wake_queue()
| 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->cma_area->nranges | s32min-s32max |
| 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->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->wd_timeout | 0,2500,10000 |
| PARAM_VALUE | 0 | trans->state | 2 |
| PARAM_VALUE | 0 | trans->trans_specific->txqs.queue_stopped | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->trans_specific->txqs.queue_used | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->trans_specific->txqs.txq | 4096-ptr_max |
| PARAM_VALUE | 1 | txq | 4096-ptr_max |
| PARAM_VALUE | 1 | txq->entries | 4096-ptr_max |
| PARAM_VALUE | 1 | txq->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | txq->low_mark | s32min-65534 |
| PARAM_VALUE | 1 | txq->overflow_q.next | 4096-ptr_max |
| PARAM_VALUE | 1 | txq->overflow_q.next->prev | 314106808121315328,1484843406117097472,5293808541459329024,5800991937386569728,6115211255310327808,6418347204261314560,8979517577069375488 |
| PARAM_VALUE | 1 | txq->overflow_q.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | txq->overflow_q.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | txq->overflow_q.qlen | 0 |
| PARAM_VALUE | 1 | txq->overflow_tx | 1 |
| PARAM_VALUE | 1 | txq->reclaim_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | trans->mac_cfg->base->max_tfd_queue_size | 1 |
| CAPPED_DATA | 1 | txq->low_mark | 1 |
| CAPPED_DATA | 1 | &txq->overflow_q | 1 |
| DATA_SOURCE | 0 | trans | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 1 | &txq->reclaim_lock | |
| HALF_LOCKED2 | &priv->sta_lock | ||
| HALF_LOCKED2 | &rxq->lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct iwl_txq)->reclaim_lock |
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c iwl_pcie_txq_unmap() -> iwl_trans_pcie_wake_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans->cfg->dccm2_len | 0,32768 |
| PARAM_VALUE | 0 | trans->cfg->dccm2_offset | 0,8912896 |
| PARAM_VALUE | 0 | trans->cfg->dccm_len | 0,65536,81920,96768,98304 |
| PARAM_VALUE | 0 | trans->cfg->dccm_offset | 0,8388608 |
| PARAM_VALUE | 0 | trans->cfg->ht_params.ht40_bands | 0-1,3 |
| PARAM_VALUE | 0 | trans->cfg->led_mode | 0-2 |
| PARAM_VALUE | 0 | trans->cfg->max_data_size | 0,49152,81920 |
| PARAM_VALUE | 0 | trans->cfg->max_inst_size | 0,131072,262144 |
| PARAM_VALUE | 0 | trans->cfg->non_shared_ant | 0-2 |
| PARAM_VALUE | 0 | trans->cfg->num_rbds | 0,512,2048,4096 |
| PARAM_VALUE | 0 | trans->cfg->nvm_calib_ver | 0,4,6 |
| PARAM_VALUE | 0 | trans->cfg->nvm_type | 0-2 |
| PARAM_VALUE | 0 | trans->cfg->nvm_ver | 0,282,348,542,1059,1330,1363,1801,2053,2589,3089,3329 |
| PARAM_VALUE | 0 | trans->cfg->ucode_api_max | 0,2,5-6,17,29,36,77,100 |
| PARAM_VALUE | 0 | trans->cfg->ucode_api_min | 0-1,4-6,17,22,77,100 |
| PARAM_VALUE | 0 | trans->cfg->valid_rx_ant | 0,3,6-7 |
| PARAM_VALUE | 0 | trans->cfg->valid_tx_ant | 0,2-3,6-7 |
| PARAM_VALUE | 0 | trans->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | trans->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | trans->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->d3_debug_data_length | 0,61440,94208 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->eeprom_size | 0,2048,16384,32768 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->mac_addr_from_csr | 0,48,896 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->max_ll_items | 0,3-4,7 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->max_tfd_queue_size | 256,65536 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->min_ba_txq_size | 0,1024,2048 |
| 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->nvm_hw_section_num | 0,10 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->ucode_api_max | 0,46,77,89,1106-1107 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->ucode_api_min | 0,30,77,89,1102 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->wd_timeout | 0,2500,10000 |
| PARAM_VALUE | 0 | trans->trans_specific | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->trans_specific->txqs.txq | 4096-ptr_max |
| PARAM_VALUE | 1 | txq | 4096-ptr_max |
| PARAM_VALUE | 1 | txq->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | txq->reclaim_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | trans | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | trans | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | trans->cfg | (-1),96 |
| CAPPED_DATA | 0 | trans->dev->cma_area->nranges | 1 |
| CAPPED_DATA | 0 | trans->mac_cfg->base->num_of_queues | 1 |
| CAPPED_DATA | 1 | txq->read_ptr | 1 |
| CAPPED_DATA | 1 | txq->write_ptr | 1 |
| CAPPED_DATA | 1 | &txq->overflow_q | 1 |
| DATA_SOURCE | 0 | trans | $0 |
| PARAM_COMPARE | 1 | txq->read_ptr | == $1->write_ptr |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | trans->info.hw_cnv_id | 0-u32max |
| HOST_DATA | 0 | trans->info.hw_crf_id | 0-u32max |
| HOST_DATA | 0 | trans->info.hw_rev | 0-4294967294 |
| HOST_DATA | 0 | trans->info.hw_rev_step | 0-15[c] |
| HOST_DATA | 0 | trans->info.hw_rf_id | 0-u32max |
| HOST_DATA | 0 | trans->info.pcie_link_speed | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | trans->info.num_rxqs | |
| NO_OVERFLOW_SIMPLE | 0 | trans->mac_cfg->base->num_of_queues | |
| UNITS | 0 | trans | unit_byte |
| HALF_LOCKED2 | &trans_pcie->mutex |
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx-gen2.c iwl_txq_gen2_unmap() -> iwl_trans_pcie_wake_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans->cfg->ht_params.ht40_bands | 0-1,3 |
| PARAM_VALUE | 0 | trans->cfg->num_rbds | 0,512,2048,4096 |
| PARAM_VALUE | 0 | trans->cfg->nvm_type | 0-2 |
| PARAM_VALUE | 0 | trans->cfg->nvm_ver | 0,282,348,542,1059,1330,1363,1801,2053,2589,3089,3329 |
| PARAM_VALUE | 0 | trans->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | trans->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | trans->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | trans->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | trans->dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | trans->mac_cfg->base->eeprom_size | 0,2048,16384,32768 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->mac_addr_from_csr | 0,48,896 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->max_ll_items | 0,3-4,7 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->min_ba_txq_size | 0,1024,2048 |
| 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->nvm_hw_section_num | 0,10 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->ucode_api_max | 0,46,77,89,1106 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->ucode_api_min | 0,30,77,89,1102 |
| PARAM_VALUE | 0 | trans->mac_cfg->base->wd_timeout | 0,2500,10000 |
| PARAM_VALUE | 0 | trans->trans_specific | 4096-ptr_max |
| PARAM_VALUE | 0 | trans->trans_specific->txqs.txq | 4096-ptr_max |
| PARAM_VALUE | 1 | txq | 4096-ptr_max |
| PARAM_VALUE | 1 | txq->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | txq->reclaim_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | trans | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | trans | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | trans->cfg | (-1),96 |
| CAPPED_DATA | 0 | trans->dev->cma_area->nranges | 1 |
| CAPPED_DATA | 0 | trans->mac_cfg->base->num_of_queues | 1 |
| CAPPED_DATA | 1 | txq->read_ptr | 1 |
| CAPPED_DATA | 1 | txq->write_ptr | 1 |
| CAPPED_DATA | 1 | &txq->overflow_q | 1 |
| DATA_SOURCE | 0 | trans | $0 |
| PARAM_COMPARE | 1 | txq->read_ptr | == $1->write_ptr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | trans->info.hw_cnv_id | 0-u32max |
| HOST_DATA | 0 | trans->info.hw_crf_id | 0-u32max |
| HOST_DATA | 0 | trans->info.hw_rev | 0-4294967294 |
| HOST_DATA | 0 | trans->info.hw_rev_step | 0-15[c] |
| HOST_DATA | 0 | trans->info.hw_rf_id | 0-u32max |
| HOST_DATA | 0 | trans->info.pcie_link_speed | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | trans->info.num_rxqs | |
| NO_OVERFLOW_SIMPLE | 0 | trans->mac_cfg->base->num_of_queues | |
| UNITS | 0 | trans | unit_byte |