Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/wireless/intel/iwlwifi/iwl-trans.c iwl_trans_restart_wk() -> iwl_trans_pcie_reset()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->dev 4096-ptr_max
PARAM_VALUE 0 trans->op_mode 1-u64max
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt->trans->sync_cmd_lockdep_map.name 0-255
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.dump.txf_iter_data.fifo s32min-s32max
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.dump.txf_iter_data.fifo_size 0-4294967295
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.dump.txf_iter_data.internal_txf 0-255
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.dump.txf_iter_data.lmac s32min-s32max
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.dump.umac_err_id 0-4294967295
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.smem_cfg.num_lmacs s32min-s32max
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->dbg.imr_data.imr2sram_remainbyte 0-4294967295
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->dbg.last_tp_resetfw 1,255
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->dbg.rec_on 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->dbg.restart_required 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->dbg.ucode_preset 0-4294967295
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->dev->dma_uses_io_tlb 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->dev->kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->dev->kobj.sd->count.counter s32min-s32max
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->restart.during_reset 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->restart.mode.context 0-4294967295
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->restart.mode.type 0-4294967295
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->restart.wk.cpu s32min-s32max
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->restart.wk.timer.flags 0-4294967295
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->state 0-4294967295
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->suppress_cmd_error_once 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->wiphy->mtx.dep_map->name 0-255
PARAM_VALUE 0 trans->op_mode->op_mode_specific->wiphy->mtx.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 trans->op_mode->op_mode_specific->wiphy->mtx.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 trans->op_mode->op_mode_specific->wiphy->mtx.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 trans->op_mode->op_mode_specific->wiphy->mtx.osq.tail.counter s32min-s32max
PARAM_VALUE 0 trans->restart.mode.type 0-3,5-u32max
PARAM_VALUE 1 mode 3-6,8-u32max
DATA_SOURCE 1 mode r iwl_trans_determine_restart_mode
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c _iwl_trans_pcie_grab_nic_access() -> iwl_trans_pcie_reset()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
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->fw_name_pre 0,4096-ptr_max
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->dev->dma_io_tlb_mem->for_alloc 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->dev->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 trans->dev->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 trans->dev->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 trans->mac_cfg 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg->base->d3_debug_data_base_addr 0,4198400
PARAM_VALUE 0 trans->mac_cfg->base->d3_debug_data_length 0-4000000
PARAM_VALUE 0 trans->mac_cfg->base->eeprom_size 0-8192,16384,32768
PARAM_VALUE 0 trans->mac_cfg->base->features 0,1099511627776,1099512741906
PARAM_VALUE 0 trans->mac_cfg->base->gp2_reg_addr 0,10497128,13642856
PARAM_VALUE 0 trans->mac_cfg->base->led_compensation 0,51,57
PARAM_VALUE 0 trans->mac_cfg->base->mac_addr_from_csr 0,48,896
PARAM_VALUE 0 trans->mac_cfg->base->max_event_log_size 0,128,512,1024
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.cur_frag.mask 0,4095,1048575,16777215,251658240,u32max
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.cycle_cnt.mask 0,4095,1048575,16777215,251658240,u32max
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_dbgi_regs.write_ptr.mask 0,4095,1048575,16777215,251658240,u32max
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.cur_frag.mask 0,4095,1048575,16777215,251658240,u32max
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.cycle_cnt.mask 0,4095,1048575,16777215,251658240,u32max
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_dram_regs.write_ptr.mask 0,4095,1048575,16777215,251658240,u32max
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.cur_frag.mask 0,4095,1048575,16777215,251658240,u32max
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.cycle_cnt.mask 0,4095,1048575,16777215,251658240,u32max
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->mon_smem_regs.write_ptr.mask 0,4095,1048575,16777215,251658240,u32max
PARAM_VALUE 0 trans->mac_cfg->base->num_of_queues 12-u16max
PARAM_VALUE 0 trans->mac_cfg->base->nvm_hw_section_num 0,10
PARAM_VALUE 0 trans->mac_cfg->base->smem_len 0,425984
PARAM_VALUE 0 trans->mac_cfg->base->smem_offset 0,4194304
PARAM_VALUE 0 trans->mac_cfg->base->ucode_api_max 0,46,77,89,1105-1106
PARAM_VALUE 0 trans->mac_cfg->base->ucode_api_min 0,2-100,1101-1102
PARAM_VALUE 0 trans->mac_cfg->base->wd_timeout 0,2500,10000
PARAM_VALUE 0 trans->op_mode->ops->dump_error 0,1300730812347719680,5944262706937217024
PARAM_VALUE 0 trans->op_mode->ops->hw_rf_kill 0,2689809986662252544,3368034543225651200,3464457820025868288
PARAM_VALUE 0 trans->op_mode->ops->time_point 0,3218828857559166976,6471681724421632000
PARAM_VALUE 0 trans->restart.wk.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 trans->restart.wk.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 trans->restart.wk.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 trans->trans_specific 4096-ptr_max
PARAM_VALUE 0 trans->trans_specific->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 mode 3
BUF_SIZE 0 trans s32min-(-1),1-s32max
BUF_SIZE 0 trans s32min-(-1),1-s32max
BUF_SIZE 0 trans->cfg (-1),96
BUF_SIZE 0 trans->conf.command_groups (-1),272
DATA_SOURCE 0 trans $0
PREEMPT_ADD <- disables preempt
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.num_rxqs 2-15[c]
HOST_DATA 0 trans->info.pcie_link_speed 0[c]
NO_OVERFLOW_SIMPLE 0 trans->dev->cma_area->available_count
NO_OVERFLOW_SIMPLE 0 trans->info.num_rxqs
NO_OVERFLOW_SIMPLE 0 trans->mac_cfg->base->num_of_queues
UNITS 0 trans unit_byte
LOCK2 &trans_pcie->reg_lock
HALF_LOCKED2 &txq->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 0 &trans->trans_specific->reg_lock
TYPE_LOCK (struct iwl_trans_pcie)->reg_lock

drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c iwl_dbgfs_reset_write() -> iwl_trans_pcie_reset()

Type Parameter Key Value
PARAM_VALUE 1 mode 3-6
BUF_SIZE 0 trans s32min-(-2),1-s32max
BUF_SIZE 0 trans s32min-(-2),1-s32max
CAPPED_DATA 1 mode 1
DATA_SOURCE 1 mode r __sysfs_match_string
NOCHECK_CALL

drivers/net/wireless/intel/iwlwifi/mvm/fw.c iwl_run_unified_mvm_ucode() -> iwl_trans_pcie_reset()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->cfg 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_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 trans->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 trans->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 trans->do_top_reset 0
PARAM_VALUE 0 trans->mac_cfg 4096-ptr_max
PARAM_VALUE 0 trans->mac_cfg->base->min_txq_size 0,128
PARAM_VALUE 0 trans->mac_cfg->device_family 18-u32max
PARAM_VALUE 0 trans->trans_specific 4096-ptr_max
PARAM_VALUE 0 trans->trans_specific->alloc_page_used 0-4294967295
PARAM_VALUE 0 trans->trans_specific->fh_init_mask 0-4294967295
PARAM_VALUE 0 trans->trans_specific->fw_reset_state 4
PARAM_VALUE 0 trans->trans_specific->hw_init_mask 0-4294967295
PARAM_VALUE 0 trans->trans_specific->hw_mask 0-4294967295
PARAM_VALUE 0 trans->trans_specific->inta_mask 3120562319
PARAM_VALUE 0 trans->trans_specific->kw->addr (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 trans->trans_specific->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->trans_specific->rxq->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->trans_specific->txqs.scd_bc_tbls->addr (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *trans->trans_specific->base_rb_stts (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *trans->trans_specific->napi_dev->name 0-255
PARAM_VALUE 1 mode 4
CAPPED_DATA 0 trans->cfg->nvm_ver 1
CAPPED_DATA 0 trans->dev->iommu_group->default_domain 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 trans->trans_specific->ltr_enabled 0
LOCK2 &mvm->mutex
HALF_LOCKED2 &mvm->hw->wiphy->mtx
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct iwl_mvm)->mutex