Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c iwl_get_nvm() -> iwl_init_sbands()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->cfg 4096-ptr_max
PARAM_VALUE 0 trans->cfg->nvm_type 0-2
PARAM_VALUE 0 trans->dev 0,4096-ptr_max
PARAM_VALUE 0 trans->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 trans->dev->class 0,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->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 trans->dev->driver 0,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->base 4096-ptr_max
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->state 2
PARAM_VALUE 0 trans->trans_specific 4096-ptr_max
PARAM_VALUE 0 trans->trans_specific->fh_init_mask 0-4294967295
PARAM_VALUE 0 trans->trans_specific->hw_init_mask 0-4294967295
PARAM_VALUE 0 trans->trans_specific->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 1 data->hw_addr 4096-ptr_max
PARAM_VALUE 1 data->n_hw_addrs 0-255
PARAM_VALUE 1 data->nvm_version 0-u16max
PARAM_VALUE 5 sbands_flags 0-1
PARAM_VALUE 7 fw 4096-ptr_max
PARAM_VALUE 7 fw->ucode_capa._api 4096-ptr_max
PARAM_VALUE 7 fw->ucode_capa._capa 4096-ptr_max
BUF_SIZE 1 data 10840
BUF_SIZE 1 data 10840
BUF_SIZE 2 nvm_ch_flags 102,460
BUF_SIZE 2 nvm_ch_flags 102,460
CAPPED_DATA 0 trans->mac_cfg->base->max_tfd_queue_size 1
CAPPED_DATA 0 trans->mac_cfg->base->num_of_queues 1
CAPPED_DATA 0 trans->mac_cfg->base->ucode_api_max 1
DATA_SOURCE 0 trans $0
DATA_SOURCE 1 data r _kzalloc_noprof
DATA_SOURCE 6 v4 r fw_has_api
DATA_SOURCE 7 fw $1
FUZZY_MAX 5 sbands_flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 trans->info.num_rxqs
NO_OVERFLOW_SIMPLE 7 fw->pnvm_size
HALF_LOCKED2 &mld->wiphy->mtx
HALF_LOCKED2 &mvm->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &iwlwifi_opmode_table_mtx
HALF_LOCKED2 global &rtnl_mutex

drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c iwl_parse_mei_nvm_data() -> iwl_init_sbands()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->csme_own 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->mac_addr_from_csr 0,48,896
PARAM_VALUE 0 trans->trans_specific->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 1 data->hw_addr 4096-ptr_max
PARAM_VALUE 1 data->n_hw_addrs 0-255
PARAM_VALUE 1 data->radio_cfg_dash 0-15
PARAM_VALUE 1 data->radio_cfg_pnum 0-15
PARAM_VALUE 1 data->radio_cfg_step 0-15
PARAM_VALUE 1 data->radio_cfg_type 0-4095
PARAM_VALUE 1 data->sku_cap_11ac_enable 1
PARAM_VALUE 1 data->sku_cap_band_24ghz_enable 1
PARAM_VALUE 1 data->sku_cap_band_52ghz_enable 1
PARAM_VALUE 1 data->sku_cap_mimo_disabled 0
PARAM_VALUE 1 *data->hw_addr 0-255
PARAM_VALUE 5 sbands_flags 0-1
PARAM_VALUE 6 v4 1
PARAM_VALUE 7 fw 4096-ptr_max
PARAM_VALUE 7 fw->ucode_capa._capa 4096-ptr_max
BUF_SIZE 1 data 5720,10440,10840
BUF_SIZE 1 data 5720,10440,10840
BUF_SIZE 2 nvm_ch_flags 440
DATA_SOURCE 0 trans $0
DATA_SOURCE 7 fw $3
FUZZY_MAX 5 sbands_flags 0
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 7 fw->pnvm_size
HALF_LOCKED2 &pool->lock

drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c iwl_parse_nvm_data() -> iwl_init_sbands()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->cfg 4096-ptr_max
PARAM_VALUE 0 trans->cfg->nvm_type 0-2
PARAM_VALUE 0 trans->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 0,5159360019465732096
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->dyn_alloc.function 1626621062881370112
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->dev->iommu_group->default_domain 0-s64max
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->mac_addr_from_csr 0,48,896
PARAM_VALUE 0 trans->mac_cfg->base->max_tfd_queue_size 256,65536
PARAM_VALUE 0 trans->mac_cfg->base->nvm_hw_section_num 0,10
PARAM_VALUE 0 trans->mac_cfg->device_family 0-17
PARAM_VALUE 0 trans->trans_specific 4096-ptr_max
PARAM_VALUE 0 trans->trans_specific->ctxt_info->control.control_flags 0-131071
PARAM_VALUE 0 trans->trans_specific->ctxt_info->version.size 448
PARAM_VALUE 0 trans->trans_specific->ctxt_info_v2->mcr_size 0-31,u16max
PARAM_VALUE 0 trans->trans_specific->ctxt_info_v2->mtr_size 0-28,65533-u16max
PARAM_VALUE 0 trans->trans_specific->ctxt_info_v2->prph_scratch_size 1660,1724
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->kw.size 0,4096
PARAM_VALUE 0 trans->trans_specific->mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 trans->trans_specific->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 trans->trans_specific->napi_dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 trans->trans_specific->napi_dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 trans->trans_specific->napi_dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 trans->trans_specific->pm_support 1
PARAM_VALUE 0 trans->trans_specific->prph_scratch->ctrl_cfg.control.control_flags_ext 0,16,32,48,256,272,288,304
PARAM_VALUE 0 trans->trans_specific->prph_scratch->ctrl_cfg.version.size 431
PARAM_VALUE 0 trans->trans_specific->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *trans->trans_specific->kw.addr (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *trans->trans_specific->txqs.scd_bc_tbls.addr (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 1 data->hw_addr 4096-ptr_max
PARAM_VALUE 1 data->n_hw_addrs 0-u16max
PARAM_VALUE 1 data->radio_cfg_dash 0-15
PARAM_VALUE 1 data->radio_cfg_pnum 0-15
PARAM_VALUE 1 data->radio_cfg_step 0-15
PARAM_VALUE 1 data->radio_cfg_type 0-4095
PARAM_VALUE 1 *data->hw_addr 0-255
PARAM_VALUE 2 nvm_ch_flags 4096-ptr_max
PARAM_VALUE 5 sbands_flags 0-3
PARAM_VALUE 6 v4 0
PARAM_VALUE 7 fw 4096-ptr_max
PARAM_VALUE 7 fw->ucode_capa._capa 4096-ptr_max
BUF_SIZE 1 data 4760,5720,10440,10840
BUF_SIZE 1 data 4760,5720,10440,10840
BUF_SIZE 2 nvm_ch_flags (-1),1-u16max
CAPPED_DATA 0 trans->mac_cfg->base->eeprom_size 1
CAPPED_DATA 0 trans->mac_cfg->base->nvm_hw_section_num 1
CAPPED_DATA 0 trans->mac_cfg->base->ucode_api_max 1
DATA_SOURCE 0 trans $0
DATA_SOURCE 3 tx_chains $9 [m]
DATA_SOURCE 4 rx_chains $10 [m]
DATA_SOURCE 7 fw $2
FUZZY_MAX 0 trans->cfg->nvm_type 2
FUZZY_MAX 5 sbands_flags 0
BIT_INFO 1 data->nvm_version 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 trans->info.num_rxqs
LOCK2 &mvm->mutex
HALF_LOCKED2 &mvm->hw->wiphy->mtx
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct iwl_mvm)->mutex

drivers/net/wireless/intel/iwlwifi/dvm/eeprom.c iwl_parse_eeprom_data() -> iwl_init_sbands()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->conf.n_no_reclaim_cmds 0-6
PARAM_VALUE 0 trans->init_dram.fw 0
PARAM_VALUE 0 trans->init_dram.fw_cnt 0
PARAM_VALUE 0 trans->init_dram.paging 0
PARAM_VALUE 0 trans->init_dram.paging_cnt 0
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_ll_items 0,3-4,7
PARAM_VALUE 0 trans->op_mode 4096-ptr_max
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fw_status.in_hw_restart 1
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.dev->dma_uses_io_tlb 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->csme_own 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->dbg.ini_dest 0-4294967295
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->dev->iommu->priv->domain->pd_mode 0-2
PARAM_VALUE 0 trans->op_mode->op_mode_specific->fwrt.trans->dev->iommu->priv->domain->pscid (-4095)-s32max
PARAM_VALUE 0 trans->op_mode->op_mode_specific->low_latency.work.timer.is_hard 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->low_latency.work.timer.is_lazy 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->low_latency.work.timer.is_queued 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->low_latency.work.timer.is_soft 0-1
PARAM_VALUE 0 trans->op_mode->op_mode_specific->mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 trans->op_mode->op_mode_specific->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 trans->op_mode->op_mode_specific->radio_kill.hw 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->prev 5159360019465732096
PARAM_VALUE 0 trans->op_mode->ops 6697887339428069376
PARAM_VALUE 0 trans->restart.mode.context 2
PARAM_VALUE 0 trans->state 0
PARAM_VALUE 0 trans->trans_specific 4096-ptr_max
PARAM_VALUE 0 trans->trans_specific->fh_init_mask 0-4294967295
PARAM_VALUE 0 trans->trans_specific->hw_init_mask 0-4294967295
PARAM_VALUE 0 trans->trans_specific->irq_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->trans_specific->is_down 1
PARAM_VALUE 0 trans->trans_specific->opmode_down 1
PARAM_VALUE 0 trans->trans_specific->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->trans_specific->rx_buf_bytes 0,2048,4096,8192,16384
PARAM_VALUE 0 trans->trans_specific->rx_page_order 0-32,4294967295
PARAM_VALUE 0 *trans->op_mode->op_mode_specific->scan.uid_status 0-4294967295
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 1 data->eeprom_params 4904194951461412864,5656844581687062528,7406703121602985984,8909176200735879168
PARAM_VALUE 1 data->max_data_size 0,49152,81920
PARAM_VALUE 1 data->max_inst_size 0,131072,262144
PARAM_VALUE 1 data->ucode_api_max 0,2,5-6,17,29,36,77,100
PARAM_VALUE 1 data->valid_rx_ant 0,3,6-7
PARAM_VALUE 1 data->valid_tx_ant 0,2-3,6-7
PARAM_VALUE 2 nvm_ch_flags 4096-ptr_max
PARAM_VALUE 2 nvm_ch_flags->n_hw_addrs 0-u16max
PARAM_VALUE 2 nvm_ch_flags->nvm_version 0-u16max
PARAM_VALUE 2 nvm_ch_flags->radio_cfg_dash 0-3
PARAM_VALUE 2 nvm_ch_flags->radio_cfg_pnum 0-3
PARAM_VALUE 2 nvm_ch_flags->radio_cfg_step 0-3
PARAM_VALUE 2 nvm_ch_flags->radio_cfg_type 0-3
PARAM_VALUE 2 nvm_ch_flags->valid_rx_ant 1-15
PARAM_VALUE 2 nvm_ch_flags->valid_tx_ant 1-15
PARAM_VALUE 3 tx_chains 16,4096-ptr_max
PARAM_VALUE 4 rx_chains 2048,16384,32768
BUF_SIZE 2 nvm_ch_flags 6120
BUF_SIZE 2 nvm_ch_flags 6120
CAPPED_DATA 0 trans->cfg->nvm_ver 1
CAPPED_DATA 0 trans->dev->cma_area->nranges 1
CAPPED_DATA 0 trans->dev->iommu_group->default_domain 1
CAPPED_DATA 0 trans->mac_cfg->base->eeprom_size 1
CAPPED_DATA 4 rx_chains 1
CAPPED_DATA 4 rx_chains 1
DATA_SOURCE 0 trans $0
DATA_SOURCE 1 data $1
DATA_SOURCE 2 nvm_ch_flags r _kzalloc_noprof
DATA_SOURCE 3 tx_chains $2
DATA_SOURCE 4 rx_chains $3
NOCHECK_CALL
LOCK2 global &iwlwifi_opmode_table_mtx
HALF_LOCKED2 &pool->lock