Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/dma/sh/rcar-dmac.c rcar_dmac_prep_dma_cyclic() -> rcar_dmac_chan_prep_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->mid_rid | 0-s32max |
| PARAM_VALUE | 1 | sgl | 16,4096-ptr_max |
| PARAM_VALUE | 1 | sgl->dma_address | 0 |
| PARAM_VALUE | 1 | sgl->dma_flags | 0 |
| PARAM_VALUE | 1 | sgl->dma_length | 0 |
| PARAM_VALUE | 1 | sgl->length | 0 |
| PARAM_VALUE | 1 | sgl->offset | 0 |
| PARAM_VALUE | 1 | sgl->page_link | 0 |
| PARAM_VALUE | 2 | sg_len | 0-32 |
| PARAM_VALUE | 4 | dir | 1-3 |
| PARAM_VALUE | 5 | dma_flags | 0-3 |
| PARAM_VALUE | 6 | cyclic | 1 |
| BUF_SIZE | 1 | sgl | 0-1024 |
| BUF_SIZE | 1 | sgl | 0-1024 |
| CAPPED_DATA | 2 | sg_len | 1 |
| DATA_SOURCE | 1 | sgl | r _kmalloc_noprof |
| DATA_SOURCE | 4 | dir | $4 |
| DATA_SOURCE | 5 | dma_flags | $5 |
| FUZZY_MAX | 0 | chan->mid_rid | 0 |
| FUZZY_MAX | 2 | sg_len | 32 |
| FUZZY_MAX | 4 | dir | 2 |
| FUZZY_MAX | 5 | dma_flags | 2 |
| HARD_MAX | 2 | sg_len | 32 |
| MEM_ZERO | 1 | sgl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | sg_len | |
| UNITS | 2 | sg_len | unit_array_size |
| HALF_LOCKED2 | &sdr->v4l2_mutex | ||
| HALF_LOCKED2 | &sport->port.lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/dma/sh/rcar-dmac.c rcar_dmac_prep_dma_memcpy() -> rcar_dmac_chan_prep_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | sgl | 4280656962738348032 |
| PARAM_VALUE | 1 | sgl->dma_length | 0 |
| PARAM_VALUE | 1 | sgl->length | 1-u32max |
| PARAM_VALUE | 1 | sgl->offset | 0-4095 |
| PARAM_VALUE | 2 | sg_len | 1 |
| PARAM_VALUE | 4 | dir | 0 |
| PARAM_VALUE | 5 | dma_flags | 0-3,32-33 |
| PARAM_VALUE | 6 | cyclic | 0 |
| DATA_SOURCE | 3 | dev_addr | $1 |
| DATA_SOURCE | 5 | dma_flags | $4 |
| FUZZY_MAX | 5 | dma_flags | 3 |
| BIT_INFO | 5 | dma_flags | 0x0,0x23 |
| BIT_INFO | 5 | dma_flags | 0x0,0x23 |
| MEM_ZERO | 1 | sgl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | sgl->length | 1-u32max[c] |
| USER_DATA | 1 | sgl->length | 1-u32max[c] |
| HALF_LOCKED2 | &dmm->wa_lock | ||
| HALF_LOCKED2 | &mem->spi->controller->bus_lock_mutex | ||
| HALF_LOCKED2 | &mem->spi->controller->io_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &qspi->list_lock | ||
| HALF_LOCKED2 | flags |
drivers/dma/sh/rcar-dmac.c rcar_dmac_prep_slave_sg() -> rcar_dmac_chan_prep_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->mid_rid | 0-s32max |
| PARAM_VALUE | 1 | sgl | 4096-ptr_max |
| PARAM_VALUE | 1 | sgl->dma_length | 1-u32max |
| PARAM_VALUE | 2 | sg_len | 1-u32max |
| PARAM_VALUE | 5 | dma_flags | 0-4,33,33751044,67305476,2147483648-2147483649,3221225472 |
| PARAM_VALUE | 6 | cyclic | 0 |
| BUF_SIZE | 1 | sgl | (-1),4,8,12,24,32-10944 |
| BUF_SIZE | 1 | sgl | (-1),4,8,12,24,32-10944 |
| DATA_SOURCE | 1 | sgl | $1 |
| DATA_SOURCE | 2 | sg_len | $2 |
| DATA_SOURCE | 4 | dir | $3 |
| DATA_SOURCE | 5 | dma_flags | $4 |
| FUZZY_MAX | 0 | chan->mid_rid | 0 |
| FUZZY_MAX | 5 | dma_flags | 2147483648 |
| NOSPEC | 1 | sgl->length | |
| HARD_MAX | 5 | dma_flags | 3221225472 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | sgl->length | 1-2147483646[c] |
| USER_DATA | 1 | sgl->offset | 0-2147551739[c] |
| USER_DATA | 2 | sg_len | 1-524289[c] |
| NO_OVERFLOW_SIMPLE | 1 | sgl->length | |
| NO_OVERFLOW_SIMPLE | 2 | sg_len | |
| ELEM_COUNT | 1 | ==sgl2 | 8051 |
| HALF_LOCKED2 | &controller->io_mutex | ||
| HALF_LOCKED2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctrl->io_mutex | ||
| HALF_LOCKED2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->lock | ||
| HALF_LOCKED2 | &mem->spi->controller->bus_lock_mutex | ||
| HALF_LOCKED2 | &mem->spi->controller->io_mutex | ||
| HALF_LOCKED2 | &ospi->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &priv->port.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 |