Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_enable_tx_queue() -> (struct stmmac_dma_ops)->init_tx_chan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->af_xdp_zc_qps | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dma_conf.dma_rx_size | 0-s32max |
| PARAM_VALUE | 0 | priv->dma_conf.dma_tx_size | 0-s32max |
| PARAM_VALUE | 0 | priv->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->plat | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->xdp_prog | 1-u64max |
| PARAM_VALUE | 4 | chan | 0-254 |
| CAPPED_DATA | 0 | priv->dev->num_tx_queues | 1 |
| CAPPED_DATA | 0 | priv->device | 1 |
| CAPPED_DATA | 0 | priv->device->cma_area->nranges | 1 |
| CAPPED_DATA | 0 | priv->dma_conf.dma_rx_size | 1 |
| CAPPED_DATA | 0 | priv->dma_conf.dma_tx_size | 1 |
| CAPPED_DATA | 4 | chan | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 4 | chan | $1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->dma_conf.dma_rx_size | |
| NO_OVERFLOW_SIMPLE | 0 | priv->dma_conf.dma_tx_size | |
| NO_OVERFLOW_SIMPLE | 4 | chan | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_init_dma_engine() -> (struct stmmac_dma_ops)->init_tx_chan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->phylink | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->plat | 4096-ptr_max |
| PARAM_VALUE | 4 | chan | 0-254 |
| CAPPED_DATA | 4 | chan | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_tx_err() -> (struct stmmac_dma_ops)->init_tx_chan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dma_conf.dma_tx_size | 0-s32max |
| PARAM_VALUE | 0 | priv->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->plat | 4096-ptr_max |
| PARAM_VALUE | 4 | chan | 0-254 |
| CAPPED_DATA | 0 | priv->dev->num_tx_queues | 1 |
| CAPPED_DATA | 0 | priv->dma_conf.dma_tx_size | 1 |
| CAPPED_DATA | 4 | chan | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 4 | chan | $1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_xdp_open() -> (struct stmmac_dma_ops)->init_tx_chan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->plat | 4096-ptr_max |
| PARAM_VALUE | 4 | chan | 0-254 |
| CAPPED_DATA | 0 | priv->device->cma_area->nranges | 1 |
| CAPPED_DATA | 0 | priv->plat->rx_queues_to_use | 1 |
| CAPPED_DATA | 0 | priv->plat->tx_queues_to_use | 1 |
| CAPPED_DATA | 4 | chan | 1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->dma_conf.dma_rx_size |