Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_tx_queue_skb() -> mt76_dma_add_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus->type | 0 |
| PARAM_VALUE | 0 | dev->dma_dev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->drv | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mmio.npu | 1-u64max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | nbufs | 2-s32max |
| PARAM_VALUE | 4 | info | 0 |
| PARAM_VALUE | 5 | skb | 4096-ptr_max |
| PARAM_VALUE | 6 | txwi | 4096-ptr_max |
| BUF_SIZE | 2 | buf | 512 |
| BUF_SIZE | 5 | skb | (-1)-s32max |
| BUF_SIZE | 5 | skb | (-1)-s32max |
| DATA_SOURCE | 1 | q | $1 |
| DATA_SOURCE | 5 | skb | $3 |
| DATA_SOURCE | 6 | txwi | r mt76_get_txwi |
| BIT_INFO | 0 | dev->drv->drv_flags | 0x0,0xffffffff |
| TASK_NOT_RUNNING | |||
| UNITS | 3 | nbufs | unit_array_size |
| USER_PTR | 5 | skb->data | |
| HALF_LOCKED2 | &dev->ps_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 1 | &q->lock |
drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_tx_queue_skb_raw() -> mt76_dma_add_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | dev->dma_dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->dma_dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | dev->queue_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | buf | 1740603336455430144 |
| PARAM_VALUE | 2 | buf->addr | 0-18446744073709551614 |
| PARAM_VALUE | 3 | nbufs | 1 |
| PARAM_VALUE | 4 | info | 0-s32max |
| PARAM_VALUE | 5 | skb | 4096-ptr_max |
| PARAM_VALUE | 6 | txwi | 0 |
| BUF_SIZE | 5 | skb | (-1)-s32max |
| BUF_SIZE | 5 | skb | (-1)-s32max |
| CAPPED_DATA | 5 | skb->data | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | q | $1 |
| DATA_SOURCE | 4 | info | $3 |
| DATA_SOURCE | 5 | skb | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 1 | &q->lock | |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &mdev->mcu.mutex | ||
| TYPE_LOCK | (struct mt76_queue)->lock |