Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mediatek/mtk_wed.c mtk_wed_rx_ring_setup() -> mtk_wed_ring_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_ring | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 1536 |
| PARAM_VALUE | 3 | desc_size | 16 |
| PARAM_VALUE | 4 | tx | 0 |
| BUF_SIZE | 0 | dev | (-1)-0,9192 |
| BUF_SIZE | 0 | dev | (-1)-0,9192 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | desc_size | unit_byte |
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mediatek/mtk_wed.c mtk_wed_tx_ring_setup() -> mtk_wed_ring_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_ring | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 2048 |
| PARAM_VALUE | 3 | desc_size | 16 |
| PARAM_VALUE | 4 | tx | 1 |
| BUF_SIZE | 0 | dev | (-1)-0,9192 |
| BUF_SIZE | 0 | dev | (-1)-0,9192 |
| DATA_SOURCE | 0 | dev | $0 |
| TASK_NOT_RUNNING | |||
| UNITS | 3 | desc_size | unit_byte |
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mediatek/mtk_wed.c mtk_wed_wdma_rx_ring_setup() -> mtk_wed_ring_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->hw->soc | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_wdma | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 1024 |
| PARAM_VALUE | 4 | tx | 1 |
| BUF_SIZE | 0 | dev | (-1)-0,9192 |
| BUF_SIZE | 0 | dev | (-1)-0,9192 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mediatek/mtk_wed.c mtk_wed_wdma_tx_ring_setup() -> mtk_wed_ring_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->hw->soc | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_wdma | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 1024 |
| PARAM_VALUE | 4 | tx | 1 |
| BUF_SIZE | 0 | dev | (-1)-0,9192 |
| BUF_SIZE | 0 | dev | (-1)-0,9192 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &pool->lock |