Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mediatek/mtk_wed_wo.c mtk_wed_wo_hardware_init() -> mtk_wed_wo_queue_refill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wo | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wo->hw->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | wo->hw->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | wo->hw->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wo->hw->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | wo->hw->eth | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->node | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->node->properties | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->soc | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->wed_dev | 6056420141950918656 |
| PARAM_VALUE | 0 | wo->hw->wed_wo | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->mmio.irq_mask | 130 |
| PARAM_VALUE | 0 | wo->mmio.irq_tasklet.count.counter | 0 |
| PARAM_VALUE | 0 | wo->mmio.irq_tasklet.data | 0 |
| PARAM_VALUE | 0 | wo->mmio.irq_tasklet.next | 0 |
| PARAM_VALUE | 0 | wo->mmio.irq_tasklet.state | 0 |
| PARAM_VALUE | 0 | wo->mmio.irq_tasklet.use_callback | 1 |
| PARAM_VALUE | 0 | wo->mmio.regs | 0-ptr_max |
| PARAM_VALUE | 0 | wo->q_tx.buf_size | 1504 |
| PARAM_VALUE | 0 | wo->q_tx.desc | 1-ptr_max |
| PARAM_VALUE | 0 | wo->q_tx.entry | 1-u64max |
| PARAM_VALUE | 0 | wo->q_tx.entry->addr | 0 |
| PARAM_VALUE | 0 | wo->q_tx.entry->buf | 0 |
| PARAM_VALUE | 0 | wo->q_tx.entry->len | 0 |
| PARAM_VALUE | 0 | wo->q_tx.n_desc | 256 |
| PARAM_VALUE | 0 | wo->q_tx.regs.cpu_idx | 40 |
| PARAM_VALUE | 0 | wo->q_tx.regs.desc_base | 32 |
| PARAM_VALUE | 0 | wo->q_tx.regs.dma_idx | 60 |
| PARAM_VALUE | 0 | wo->q_tx.regs.ring_size | 36 |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->buf_size | 1504 |
| PARAM_VALUE | 1 | q->desc | 1-ptr_max |
| PARAM_VALUE | 1 | q->entry | 1-u64max |
| PARAM_VALUE | 1 | q->n_desc | 256 |
| PARAM_VALUE | 1 | q->regs.cpu_idx | 40 |
| PARAM_VALUE | 1 | q->regs.desc_base | 32 |
| PARAM_VALUE | 1 | q->regs.dma_idx | 60 |
| PARAM_VALUE | 1 | q->regs.ring_size | 36 |
| PARAM_VALUE | 2 | rx | 0 |
| BUF_SIZE | 0 | wo | 624 |
| BUF_SIZE | 0 | wo->mmio.regs | (-1),1-s32max |
| DATA_SOURCE | 0 | wo | $0 |
| MEM_ZERO | 0 | wo | |
| MEM_ZERO | 1 | q | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &hw_lock |
drivers/net/ethernet/mediatek/mtk_wed_wo.c mtk_wed_wo_hardware_init() -> mtk_wed_wo_queue_refill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wo | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wo->hw->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | wo->hw->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wo->hw->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wo->hw->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | wo->hw->eth | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->node | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->node->properties | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->soc | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->hw->wed_dev | 6056420141950918656 |
| PARAM_VALUE | 0 | wo->hw->wed_wo | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->mmio.irq_mask | 130 |
| PARAM_VALUE | 0 | wo->mmio.irq_tasklet.count.counter | 0 |
| PARAM_VALUE | 0 | wo->mmio.irq_tasklet.data | 0 |
| PARAM_VALUE | 0 | wo->mmio.irq_tasklet.next | 0 |
| PARAM_VALUE | 0 | wo->mmio.irq_tasklet.state | 0 |
| PARAM_VALUE | 0 | wo->mmio.irq_tasklet.use_callback | 1 |
| PARAM_VALUE | 0 | wo->mmio.regs | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->mmio.regs->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | wo->q_rx.buf_size | 1504 |
| PARAM_VALUE | 0 | wo->q_rx.desc | 1-ptr_max |
| PARAM_VALUE | 0 | wo->q_rx.entry | 1-u64max |
| PARAM_VALUE | 0 | wo->q_rx.entry->addr | 0 |
| PARAM_VALUE | 0 | wo->q_rx.entry->buf | 0 |
| PARAM_VALUE | 0 | wo->q_rx.entry->len | 0 |
| PARAM_VALUE | 0 | wo->q_rx.n_desc | 256 |
| PARAM_VALUE | 0 | wo->q_rx.regs.cpu_idx | 88 |
| PARAM_VALUE | 0 | wo->q_rx.regs.desc_base | 80 |
| PARAM_VALUE | 0 | wo->q_rx.regs.dma_idx | 108 |
| PARAM_VALUE | 0 | wo->q_rx.regs.ring_size | 84 |
| PARAM_VALUE | 0 | wo->q_tx.buf_size | 1504 |
| PARAM_VALUE | 0 | wo->q_tx.desc | 1-ptr_max |
| PARAM_VALUE | 0 | wo->q_tx.entry | 1-u64max |
| PARAM_VALUE | 0 | wo->q_tx.entry->addr | 0 |
| PARAM_VALUE | 0 | wo->q_tx.entry->buf | 0 |
| PARAM_VALUE | 0 | wo->q_tx.entry->len | 0 |
| PARAM_VALUE | 0 | wo->q_tx.n_desc | 256 |
| PARAM_VALUE | 0 | wo->q_tx.regs.cpu_idx | 40 |
| PARAM_VALUE | 0 | wo->q_tx.regs.desc_base | 32 |
| PARAM_VALUE | 0 | wo->q_tx.regs.dma_idx | 60 |
| PARAM_VALUE | 0 | wo->q_tx.regs.ring_size | 36 |
| PARAM_VALUE | 0 | *wo->hw->dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->buf_size | 1504 |
| PARAM_VALUE | 1 | q->desc | 1-ptr_max |
| PARAM_VALUE | 1 | q->entry | 1-u64max |
| PARAM_VALUE | 1 | q->n_desc | 256 |
| PARAM_VALUE | 1 | q->regs.cpu_idx | 88 |
| PARAM_VALUE | 1 | q->regs.desc_base | 80 |
| PARAM_VALUE | 1 | q->regs.dma_idx | 108 |
| PARAM_VALUE | 1 | q->regs.ring_size | 84 |
| PARAM_VALUE | 2 | rx | 1 |
| BUF_SIZE | 0 | wo | 624 |
| BUF_SIZE | 0 | wo->mmio.regs | (-1),1-s32max |
| DATA_SOURCE | 0 | wo | $0 |
| MEM_ZERO | 0 | wo | |
| MEM_ZERO | 1 | q | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &hw_lock |
drivers/net/ethernet/mediatek/mtk_wed_wo.c mtk_wed_wo_rx_run_queue() -> mtk_wed_wo_queue_refill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wo | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->mmio.regs | 4096-ptr_max |
| PARAM_VALUE | 0 | wo->mmio.regs->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | wo->mmio.regs->cache_dirty | 0-1 |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 2 | rx | 1 |
| DATA_SOURCE | 0 | wo | $0 |
| DATA_SOURCE | 1 | q | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh |