Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt76x0/pci.c mt76x0e_init_hardware() -> mt76x02_dma_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->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->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->rr 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus->wr 4096-ptr_max
PARAM_VALUE 0 dev->mt76.drv->rx_check 0,1157620040371703808,4848663956030836736,4948581913064058880,5485176288187613184,6782910663296389120
PARAM_VALUE 0 dev->mt76.mcu.mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->mt76.mcu.mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
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_ops 2081404359066046464
PARAM_VALUE 0 dev->mt76.mcu_ops->headroom 0
PARAM_VALUE 0 dev->mt76.mcu_ops->max_retry 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_parse_response 396022216663597056
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_rd_rp 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_restart 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_rr 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_send_msg 5414446649499410432
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_skb_prepare_msg 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_skb_send_msg 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_wr 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_wr_rp 0
PARAM_VALUE 0 dev->mt76.mcu_ops->tailroom 0
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->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
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->private->cookie s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->cookie_sg_count (-22),0-s32max
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->dma_uses_io_tlb 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dma_len 1-4294967295
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->next_data.cookie s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->next_data.dma_len 0-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->pcr->pci->dev.iommu->attach_deferred 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.dma_uses_io_tlb 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->sg_count s32min-s32max
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 s32min-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->phy_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->phy_mutex.first_waiter 0
PARAM_VALUE 0 dev->phy_mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->phy_mutex.osq.tail.counter 0
PARAM_VALUE 0 dev->phy_mutex.owner.counter 0
PARAM_VALUE 0 dev->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *dev->mt76.mcu_ops->mcu_parse_response 396022216663597056
PARAM_VALUE 0 *dev->mt76.mcu_ops->mcu_send_msg 5414446649499410432
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76x2_init_hardware() -> mt76x02_dma_init()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->beacon_ops 7603371416424812544
PARAM_VALUE 0 dev->beacon_ops->beacon_enable 1871575587596918784
PARAM_VALUE 0 dev->beacon_ops->nslots 8
PARAM_VALUE 0 dev->beacon_ops->pre_tbtt_enable 2800037950347644928
PARAM_VALUE 0 dev->beacon_ops->slot_size 1024
PARAM_VALUE 0 dev->dfs_pd.dfs_tasklet.count.counter 0
PARAM_VALUE 0 dev->dfs_pd.dfs_tasklet.data 0
PARAM_VALUE 0 dev->dfs_pd.dfs_tasklet.next 0
PARAM_VALUE 0 dev->dfs_pd.dfs_tasklet.state 0
PARAM_VALUE 0 dev->dfs_pd.dfs_tasklet.use_callback 1
PARAM_VALUE 0 dev->dfs_pd.seq_pool.next 4096-ptr_max
PARAM_VALUE 0 dev->dfs_pd.seq_pool.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dfs_pd.seq_pool.prev 4096-ptr_max
PARAM_VALUE 0 dev->dfs_pd.seq_pool.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dfs_pd.seq_pool.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dfs_pd.sequences.next 4096-ptr_max
PARAM_VALUE 0 dev->dfs_pd.sequences.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dfs_pd.sequences.prev 4096-ptr_max
PARAM_VALUE 0 dev->dfs_pd.sequences.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dfs_pd.sequences.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mphy->macaddr 0-255
PARAM_VALUE 0 dev->mphy.antenna_mask 1,3
PARAM_VALUE 0 dev->mphy.cap.has_2ghz 1
PARAM_VALUE 0 dev->mphy.cap.has_5ghz 1
PARAM_VALUE 0 dev->mphy.chainmask 257,514
PARAM_VALUE 0 dev->mphy.hw 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->extra_tx_headroom 2,26
PARAM_VALUE 0 dev->mphy.hw->flags 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->max_rate_tries 1
PARAM_VALUE 0 dev->mphy.hw->max_rates 1
PARAM_VALUE 0 dev->mphy.hw->max_report_rates 7
PARAM_VALUE 0 dev->mphy.hw->queues 4
PARAM_VALUE 0 dev->mphy.hw->sta_data_size 1056
PARAM_VALUE 0 dev->mphy.hw->vif_data_size 1032
PARAM_VALUE 0 dev->mphy.hw->wiphy 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations 6224389994855464960,9012118340022837248
PARAM_VALUE 0 dev->mphy.hw->wiphy->n_iface_combinations 1
PARAM_VALUE 0 dev->mphy.hw->wiphy->reg_notifier 432967049121652736
PARAM_VALUE 0 dev->mphy.leds.cdev.blink_set 5495130339261558784
PARAM_VALUE 0 dev->mphy.leds.cdev.brightness_set 6680277546359365632
PARAM_VALUE 0 dev->mt76->test_mtd.name 0-255
PARAM_VALUE 0 dev->mt76->usb->data 0-255
PARAM_VALUE 0 dev->mt76->usb->mcu.data 0-255
PARAM_VALUE 0 dev->mt76->usb.mcu.data 0-255
PARAM_VALUE 0 dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus->rmw 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus->rr 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus->wr 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.dev->of_node->kobj.state_add_uevent_sent 0-1
PARAM_VALUE 0 dev->mt76.dev->of_node->kobj.state_in_sysfs 0-1
PARAM_VALUE 0 dev->mt76.dev->of_node->kobj.state_initialized 0-1
PARAM_VALUE 0 dev->mt76.dev->of_node->kobj.state_remove_uevent_sent 0-1
PARAM_VALUE 0 dev->mt76.dev->of_node->kobj.uevent_suppress 0-1
PARAM_VALUE 0 dev->mt76.dev->of_node->phandle 0-4294967295
PARAM_VALUE 0 dev->mt76.eeprom.data 1-u64max
PARAM_VALUE 0 dev->mt76.eeprom.size 512
PARAM_VALUE 0 dev->mt76.global_wcid.hw_key_idx 255
PARAM_VALUE 0 dev->mt76.global_wcid.idx 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->list.prev->prev 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->blocked_on (-1)-0
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.otp.data 1-u64max
PARAM_VALUE 0 dev->mt76.otp.size 512
PARAM_VALUE 0 dev->mt76.region 0
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->ongoing_mrq->cmd_completion.done 0-4294967293,4294967295
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->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
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->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->lock.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->iommu->lock.osq.tail.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->iommu->priv->domain->pd_mode 0-2
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->iommu->priv->domain->pscid (-4095)-s32max
PARAM_VALUE 0 dev->mt76.test_mtd.offset 0
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
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 s32min-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->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->slottime 9
PARAM_VALUE 0 *dev->mphy.macaddr 0-255
PARAM_VALUE 0 *dev->mt76.eeprom.data 0-255
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 dev->mphy.dev->mmio.irqmask 0-u32max[c]
HOST_DATA 0 dev->mphy.dev->rx_token.idr_rt.xa_flags 67108868
HOST_DATA 0 dev->mphy.dev->rxfilter 0-u32max
HOST_DATA 0 dev->mphy.dev->token.idr_rt.xa_flags 0,67108864-u32max
HOST_DATA 0 dev->mt76->sdio.func->tmpbuf 0-255
HOST_DATA 0 dev->mt76.rxfilter 0-u32max
HALF_LOCKED2 &pool->lock