Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/dma/sh/shdma-base.c shdma_prep_dma_cyclic() -> shdma_prep_sg()

Type Parameter Key Value
PARAM_VALUE 0 schan 4096-ptr_max
PARAM_VALUE 0 schan->desc_num s32min-(-1),1-s32max
PARAM_VALUE 0 schan->slave_id 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 3 addr 7732822929955016704
PARAM_VALUE 4 direction 1-3
PARAM_VALUE 5 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 direction $4
DATA_SOURCE 5 flags $5
FUZZY_MAX 2 sg_len 32
FUZZY_MAX 4 direction 2
FUZZY_MAX 5 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/shdma-base.c shdma_prep_memcpy() -> shdma_prep_sg()

Type Parameter Key Value
PARAM_VALUE 0 schan 4096-ptr_max
PARAM_VALUE 0 schan->desc_num s32min-(-1),1-s32max
PARAM_VALUE 1 sgl 8145026119348137984
PARAM_VALUE 1 sgl->dma_address 0
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 direction 0
PARAM_VALUE 5 flags 0-3,32-33
PARAM_VALUE 6 cyclic 0
DATA_SOURCE 5 flags $4
FUZZY_MAX 5 flags 3
BIT_INFO 5 flags 0x0,0x23
BIT_INFO 5 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/shdma-base.c shdma_prep_slave_sg() -> shdma_prep_sg()

Type Parameter Key Value
PARAM_VALUE 0 schan 4096-ptr_max
PARAM_VALUE 0 schan->desc_num s32min-(-1),1-s32max
PARAM_VALUE 0 schan->slave_id 0-s32max
PARAM_VALUE 2 sg_len 1-u32max
PARAM_VALUE 3 addr 7687391289449590784
PARAM_VALUE 6 cyclic 0
BUF_SIZE 1 sgl (-1)-s32max
BUF_SIZE 1 sgl (-1)-s32max
DATA_SOURCE 1 sgl $1
DATA_SOURCE 2 sg_len $2
DATA_SOURCE 4 direction $3
DATA_SOURCE 5 flags $4
NOSPEC 1 sgl->length
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
ELEM_COUNT 1 ==sgl2 8051
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