Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt7996/npu.c mt7996_npu_hw_init() -> __mt7996_npu_hw_init()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->backup_l1 0-4294967295
PARAM_VALUE 0 dev->backup_l2 0-4294967295
PARAM_VALUE 0 dev->dump_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->dump_mutex.first_waiter 0
PARAM_VALUE 0 dev->dump_mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->dump_mutex.osq.tail.counter 0
PARAM_VALUE 0 dev->dump_mutex.owner.counter 0
PARAM_VALUE 0 dev->hif2 0
PARAM_VALUE 0 dev->mphy.hw 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->chanctx_data_size 8
PARAM_VALUE 0 dev->mphy.hw->flags 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->max_rx_aggregation_subframes 256,1024
PARAM_VALUE 0 dev->mphy.hw->max_tx_aggregation_subframes 256,512,1024
PARAM_VALUE 0 dev->mphy.hw->max_tx_fragments 4
PARAM_VALUE 0 dev->mphy.hw->netdev_features 1099511627776,564049465049088
PARAM_VALUE 0 dev->mphy.hw->priv 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->queues 4
PARAM_VALUE 0 dev->mphy.hw->radiotap_timestamp.units_pos 1
PARAM_VALUE 0 dev->mphy.hw->sta_data_size 1672
PARAM_VALUE 0 dev->mphy.hw->vif_data_size 3208
PARAM_VALUE 0 dev->mphy.hw->wiphy 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->wiphy->flags 0,2-u32max
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations 6159770218840780800,7333234041913909248
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations->beacon_int_min_gcd 0,100
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations->limits 765085585329336320
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations->max_interfaces 32,57
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations->n_limits 1
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations->num_different_channels 2-3
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations->radar_detect_widths 47
PARAM_VALUE 0 dev->mphy.hw->wiphy->iftype_ext_capab 5710426077443567616
PARAM_VALUE 0 dev->mphy.hw->wiphy->iftype_ext_capab->ext_mld_capa_and_ops 0,256
PARAM_VALUE 0 dev->mphy.hw->wiphy->iftype_ext_capab->extended_capabilities_len 8-11
PARAM_VALUE 0 dev->mphy.hw->wiphy->iftype_ext_capab->iftype 0,2-3
PARAM_VALUE 0 dev->mphy.hw->wiphy->max_scan_ie_len 2304
PARAM_VALUE 0 dev->mphy.hw->wiphy->max_scan_ssids 4
PARAM_VALUE 0 dev->mphy.hw->wiphy->mbssid_max_interfaces 16
PARAM_VALUE 0 dev->mphy.hw->wiphy->n_iface_combinations 1
PARAM_VALUE 0 dev->mphy.hw->wiphy->num_iftype_ext_capab 2
PARAM_VALUE 0 dev->mphy.hw->wiphy->radio->iface_combinations 4415751862979518464
PARAM_VALUE 0 dev->mphy.hw->wiphy->radio->n_freq_range 1
PARAM_VALUE 0 dev->mphy.hw->wiphy->radio->n_iface_combinations 1
PARAM_VALUE 0 dev->mphy.hw->wiphy->reg_notifier 7133498138461728768
PARAM_VALUE 0 dev->mphy.hw->wiphy->txq_memory_limit 33554432
PARAM_VALUE 0 dev->mt76->sdio.func->card->host->fail_mmc_request.ratelimit_state.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->mt76->sdio.func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->mt76->sdio.func->card->host->private->regmap->cache->data 0-4294967295
PARAM_VALUE 0 dev->mt76->sdio.func->card->host->private->ucr->cmd_buf 0-255
PARAM_VALUE 0 dev->mt76->sdio.func->tmpbuf 0-255
PARAM_VALUE 0 dev->mt76->usb->data 0-255
PARAM_VALUE 0 dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus->wr 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dma_dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mt76.dma_dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->mt76.dma_dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dma_dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dma_dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dma_dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.dma_dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dma_dev->dma_mem 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.dma_dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.mcu.mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.mcu.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2->hw->mirror->cache->data 0-4294967295
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->mirror->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->mirror->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->mirror->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->mirror->cache_dirty 1
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->pcie_base 0-4294967295
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->regs->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->regs->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->regs->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->regs->cache_dirty 0-1
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->version 0-255
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->wed_dev 0-s64max
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->wed_wo->mcu.mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->wed_wo->mcu.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->wed_wo->mcu.mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->wed_wo->mcu.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->wed_wo->mcu.res_q.qlen 0-4294967295
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->wed_wo->mcu.seq 0-u16max
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->wed_wo->mcu.timeout 5000
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->wed_wo->mmio.regs->cache_dirty 0-1
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->wed_wo->q_tx.head 0-u16max
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->wed_wo->q_tx.tail 0-u16max
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw_rro.desc 1-ptr_max
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw_rro.pages 4096-ptr_max
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.init_done 1
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.running 1
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.rx_buf_ring.desc 1-ptr_max
PARAM_VALUE 0 dev->mt76.mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mt76.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mt76.mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dev->mt76.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->mt76.phy.hw->wiphy->sar_capa->freq_ranges 1588472398671695872,2234421883889115136,2752340918958592000,3970840399040405504,4754012303986532352
PARAM_VALUE 0 dev->mt76.phy.hw->wiphy->sar_capa->num_freq_ranges 2,4,10-11
PARAM_VALUE 0 dev->mt76.phy.priv 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->claim_cnt s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->cqe_on 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->doing_retune 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->fail_mmc_request.ratelimit_state.flags 0-4294967295
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->fail_mmc_request.ratelimit_state.missed.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->fail_mmc_request.space.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->fail_mmc_request.times.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->hold_retune s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->led->brightness 0-4294967295
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->need_retune s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner (-1)
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->parent->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->parent->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->parent->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->parent->dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->parent->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->parent->dma_uses_io_tlb 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->parent->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->pcr->pci->dev.dma_uses_io_tlb 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->pcr->pcr_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->ucr->dev_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->retune_now 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->uhs2_app_cmd 0-1
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->npu_txd_addr 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->hif2 0
PARAM_VALUE 0 dev->phy.dev->mphy.hw 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->mt76.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.mt76 4096-ptr_max
PARAM_VALUE 0 dev->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->reset_wait.head.next 4096-ptr_max
PARAM_VALUE 0 dev->reset_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 dev->reset_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 dev->reset_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->reset_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.next 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.next 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 *dev->chainshift 0-255
PARAM_VALUE 0 *dev->mt76->dev->p->deferred_probe_reason 0-255
BUF_SIZE 0 dev->mt76.phy.priv 13440
BUF_SIZE 0 dev->phy.mt76 2952
CAPPED_DATA 0 dev->mt76.dma_dev 1
CAPPED_DATA 0 &dev->mt76.mutex 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 dev->mt76.mmio.irqmask 0-u32max[c]
HOST_DATA 0 dev->mt76.rx_token.idr_rt.xa_flags 0,4-u32max
HOST_DATA 0 dev->mt76.rxfilter 0-u32max
HOST_DATA 0 dev->mt76.token.idr_rt.xa_flags 0,67108864-u32max
LOCK2 0 &dev->mt76.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mt76_dev)->mutex