Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_dma_free() -> mtk_dma_ring_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->dma_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | eth->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->scratch_ring | 1-u64max |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc->ppe_num | 0-3 |
| PARAM_VALUE | 0 | eth->soc->reg_map | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc->reg_map->pdma.glo_cfg | 2564,16900,27140 |
| PARAM_VALUE | 0 | eth->soc->reg_map->qdma.glo_cfg | 0,6660,17924 |
| PARAM_VALUE | 0 | eth->soc->rx.dma_size | 2048 |
| PARAM_VALUE | 0 | eth->soc->tx.desc_size | 16,32 |
| PARAM_VALUE | 0 | eth->soc->tx.dma_size | 2048 |
| PARAM_VALUE | 0 | eth->soc->tx.fq_dma_size | 0,2048,4096 |
| PARAM_VALUE | 0 | eth->soc->version | 1-3 |
| PARAM_VALUE | 1 | size | 0,32768,65536,131072 |
| PARAM_VALUE | 2 | dma_ring | 1-u64max |
| PARAM_VALUE | 4 | in_sram | 1 |
| DATA_SOURCE | 0 | eth | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_rx_clean() -> mtk_dma_ring_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->dma_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | eth->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->rx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->scratch_ring | 0 |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc->reg_map | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc->reg_map->pdma.glo_cfg | 2564,16900,27140 |
| PARAM_VALUE | 0 | eth->soc->reg_map->qdma.glo_cfg | 0,6660,17924 |
| PARAM_VALUE | 0 | eth->soc->tx.desc_size | 16,32 |
| PARAM_VALUE | 0 | eth->soc->tx.dma_size | 2048 |
| PARAM_VALUE | 0 | eth->soc->tx.fq_dma_size | 0,2048,4096 |
| PARAM_VALUE | 0 | eth->soc->version | 1-3 |
| PARAM_VALUE | 0 | eth->tx_ring.buf | 0 |
| PARAM_VALUE | 0 | eth->tx_ring.dma | 0 |
| PARAM_VALUE | 0 | eth->tx_ring.dma_pdma | 0 |
| PARAM_VALUE | 1 | size | 0-2097120 |
| PARAM_VALUE | 2 | dma_ring | 1-u64max |
| CAPPED_DATA | 0 | eth->dma_dev->cma_area->nranges | 1 |
| DATA_SOURCE | 0 | eth | $0 |
| DATA_SOURCE | 4 | in_sram | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_tx_clean() -> mtk_dma_ring_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->dma_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | eth->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->scratch_ring | 0 |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc->reg_map | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc->reg_map->pdma.glo_cfg | 2564,16900,27140 |
| PARAM_VALUE | 0 | eth->soc->reg_map->qdma.glo_cfg | 0,6660,17924 |
| PARAM_VALUE | 0 | eth->soc->tx.desc_size | 16,32 |
| PARAM_VALUE | 0 | eth->soc->tx.dma_size | 2048 |
| PARAM_VALUE | 0 | eth->soc->tx.fq_dma_size | 0,2048,4096 |
| PARAM_VALUE | 0 | eth->soc->version | 1-3 |
| PARAM_VALUE | 0 | eth->tx_ring.buf | 0 |
| PARAM_VALUE | 0 | eth->tx_ring.dma | 1-u64max |
| PARAM_VALUE | 1 | size | 0-u32max |
| PARAM_VALUE | 2 | dma_ring | 1-u64max |
| PARAM_VALUE | 4 | in_sram | 1 |
| DATA_SOURCE | 0 | eth | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |