Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/dma/dma-axi-dmac.c axi_dmac_prep_dma_cyclic() -> axi_dmac_fill_linear_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | direction | 1-3 |
| PARAM_VALUE | 5 | sg | 4096-ptr_max |
| CAPPED_DATA | 0 | chan->direction | 1 |
| CAPPED_DATA | 1 | direction | 1 |
| DATA_SOURCE | 0 | chan | r to_axi_dmac_chan |
| DATA_SOURCE | 1 | direction | $4 |
| DATA_SOURCE | 2 | addr | $1 |
| DATA_SOURCE | 4 | period_len | $3 |
| FUZZY_MAX | 1 | direction | 2 |
| PARAM_COMPARE | 0 | chan->direction | == $1 |
| PARAM_COMPARE | 1 | direction | == $0->direction |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 4 | period_len | unit_byte |
| HALF_LOCKED2 | &sdr->v4l2_mutex | ||
| HALF_LOCKED2 | &sport->port.lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/dma/dma-axi-dmac.c axi_dmac_prep_peripheral_dma_vec() -> axi_dmac_fill_linear_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | direction | 1-2 |
| PARAM_VALUE | 3 | num_periods | 1 |
| PARAM_VALUE | 5 | sg | 4096-u64max |
| CAPPED_DATA | 0 | chan->direction | 1 |
| CAPPED_DATA | 1 | direction | 1 |
| DATA_SOURCE | 0 | chan | r to_axi_dmac_chan |
| DATA_SOURCE | 1 | direction | $3 |
| FUZZY_MAX | 1 | direction | 2 |
| PARAM_COMPARE | 0 | chan->direction | == $1 |
| PARAM_COMPARE | 1 | direction | == $0->direction |
| HARD_MAX | 1 | direction | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | addr | unit_byte |
| UNITS | 4 | period_len | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/dma/dma-axi-dmac.c axi_dmac_prep_slave_sg() -> axi_dmac_fill_linear_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 3 | num_periods | 1 |
| PARAM_VALUE | 4 | period_len | 1-u32max |
| PARAM_VALUE | 5 | sg | 4096-u64max |
| CAPPED_DATA | 0 | chan->direction | 1 |
| CAPPED_DATA | 1 | direction | 1 |
| DATA_SOURCE | 0 | chan | r to_axi_dmac_chan |
| DATA_SOURCE | 1 | direction | $3 |
| PARAM_COMPARE | 0 | chan->direction | == $1 |
| PARAM_COMPARE | 1 | direction | == $0->direction |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | addr | unit_byte |
| UNITS | 4 | period_len | unit_byte |
| HALF_LOCKED2 | &controller->io_mutex | ||
| HALF_LOCKED2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctrl->io_mutex | ||
| HALF_LOCKED2 | &dma->lock | ||
| HALF_LOCKED2 | &epf_mhi->lock | ||
| HALF_LOCKED2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->lock | ||
| HALF_LOCKED2 | &host->mutex | ||
| HALF_LOCKED2 | &host->thread_lock | ||
| HALF_LOCKED2 | &mem->spi->controller->bus_lock_mutex | ||
| HALF_LOCKED2 | &mem->spi->controller->io_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &ospi->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | &priv->port.lock | ||
| HALF_LOCKED2 | &priv->rx_dma_lock | ||
| HALF_LOCKED2 | &qspi->lock | ||
| HALF_LOCKED2 | &sctlr->io_mutex | ||
| HALF_LOCKED2 | &sdd->lock | ||
| HALF_LOCKED2 | &spi->io_mutex | ||
| HALF_LOCKED2 | &spi->lock | ||
| HALF_LOCKED2 | &spi->mutex_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | ap->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |