Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt7925/pci.c mt7925_dma_init() -> mt792x_dma_alloc_queues()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus_ops 5494232309391540224
PARAM_VALUE 0 dev->bus_ops->rd_rp 1771160989876068352
PARAM_VALUE 0 dev->bus_ops->read_copy 7341346214090096640
PARAM_VALUE 0 dev->bus_ops->rmw 4348539046516875264
PARAM_VALUE 0 dev->bus_ops->rr 1357108612573749248
PARAM_VALUE 0 dev->bus_ops->type 0
PARAM_VALUE 0 dev->bus_ops->wr 3858624263258726400
PARAM_VALUE 0 dev->bus_ops->wr_rp 2500846239948140544
PARAM_VALUE 0 dev->bus_ops->write_copy 1720750378538070016
PARAM_VALUE 0 dev->hif_ops 8557336242943004672
PARAM_VALUE 0 dev->hif_ops->drv_own 577848669933330432
PARAM_VALUE 0 dev->hif_ops->fw_own 6003397070058553344
PARAM_VALUE 0 dev->hif_ops->init_reset 3325080189606924288
PARAM_VALUE 0 dev->hif_ops->mcu_init 2478239926750040064
PARAM_VALUE 0 dev->hif_ops->reset 5113609177545457664
PARAM_VALUE 0 dev->irq_map 1642778083352256512,4884502137704046592,6692968982236667904
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->usb->data 0-255
PARAM_VALUE 0 dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus->rmw 4097166215652315136
PARAM_VALUE 0 dev->mt76.bus->rr 2694134920534466560
PARAM_VALUE 0 dev->mt76.bus->wr 7967202996664487936
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.phy.priv 4096-ptr_max
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.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->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->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->ucr->dev_mutex.osq.tail.counter 0-s32max
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->pcie_reg 286791121132912640,1856167439056478208
PARAM_VALUE 0 dev->phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->hif_ops 8557336242943004672
PARAM_VALUE 0 dev->phy.dev->irq_map 1642778083352256512,4884502137704046592,6692968982236667904
PARAM_VALUE 0 dev->phy.dev->mt76.bus 5494232309391540224
PARAM_VALUE 0 dev->phy.dev->pcie_reg 286791121132912640,1856167439056478208
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 1 layout 558029058991075328,567861874801537024
BUF_SIZE 0 dev->hif_ops 40
BUF_SIZE 0 dev->irq_map 28
BUF_SIZE 0 dev->mt76.bus 64
BUF_SIZE 0 dev->mt76.phy.priv 13960
BUF_SIZE 0 dev->pcie_reg 8
BUF_SIZE 0 dev->phy.mt76 2952
BUF_SIZE 1 layout 48
DATA_SOURCE 0 dev $0
BIT_INFO 0 dev->irq_map 0xc010d006002000,0x5fef7ff6b7fee000
BIT_INFO 0 dev->pcie_reg 0x1c2620110990000,0x1bfaef73d3dfa000
BIT_INFO 1 layout 0x7a00058d1003000,0x7fff77dfb8a7000
BIT_INFO 1 layout 0x7a00058d1003000,0x7fff77dfb8a7000
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-u32max
HOST_DATA 0 dev->mt76.rxfilter 0-u32max
HOST_DATA 0 dev->mt76.token.idr_rt.xa_flags 0,67108864-u32max

drivers/net/wireless/mediatek/mt76/mt7925/pci.c mt7927_dma_init() -> mt792x_dma_alloc_queues()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus_ops 5494232309391540224
PARAM_VALUE 0 dev->bus_ops->rd_rp 1771160989876068352
PARAM_VALUE 0 dev->bus_ops->read_copy 7341346214090096640
PARAM_VALUE 0 dev->bus_ops->rmw 4348539046516875264
PARAM_VALUE 0 dev->bus_ops->rr 1357108612573749248
PARAM_VALUE 0 dev->bus_ops->type 0
PARAM_VALUE 0 dev->bus_ops->wr 3858624263258726400
PARAM_VALUE 0 dev->bus_ops->wr_rp 2500846239948140544
PARAM_VALUE 0 dev->bus_ops->write_copy 1720750378538070016
PARAM_VALUE 0 dev->hif_ops 8557336242943004672
PARAM_VALUE 0 dev->hif_ops->drv_own 577848669933330432
PARAM_VALUE 0 dev->hif_ops->fw_own 6003397070058553344
PARAM_VALUE 0 dev->hif_ops->init_reset 3325080189606924288
PARAM_VALUE 0 dev->hif_ops->mcu_init 2478239926750040064
PARAM_VALUE 0 dev->hif_ops->reset 5113609177545457664
PARAM_VALUE 0 dev->irq_map 1642778083352256512,4884502137704046592,6692968982236667904
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->usb->data 0-255
PARAM_VALUE 0 dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus->rmw 4097166215652315136
PARAM_VALUE 0 dev->mt76.bus->rr 2694134920534466560
PARAM_VALUE 0 dev->mt76.bus->wr 7967202996664487936
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.phy.priv 4096-ptr_max
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.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->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->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->ucr->dev_mutex.osq.tail.counter 0-s32max
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->pcie_reg 286791121132912640,1856167439056478208
PARAM_VALUE 0 dev->phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->hif_ops 8557336242943004672
PARAM_VALUE 0 dev->phy.dev->irq_map 1642778083352256512,4884502137704046592,6692968982236667904
PARAM_VALUE 0 dev->phy.dev->mt76.bus 5494232309391540224
PARAM_VALUE 0 dev->phy.dev->pcie_reg 286791121132912640,1856167439056478208
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 1 layout 5487789463938666496
BUF_SIZE 0 dev->hif_ops 40
BUF_SIZE 0 dev->irq_map 28
BUF_SIZE 0 dev->mt76.bus 64
BUF_SIZE 0 dev->mt76.phy.priv 13960
BUF_SIZE 0 dev->pcie_reg 8
BUF_SIZE 0 dev->phy.mt76 2952
DATA_SOURCE 0 dev $0
BIT_INFO 0 dev->irq_map 0xc010d006002000,0x5fef7ff6b7fee000
BIT_INFO 0 dev->pcie_reg 0x1c2620110990000,0x1bfaef73d3dfa000
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-u32max
HOST_DATA 0 dev->mt76.rxfilter 0-u32max
HOST_DATA 0 dev->mt76.token.idr_rt.xa_flags 0,67108864-u32max