Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/tty/serial/8250/8250_dma.c serial8250_tx_dma() -> __kfifo_dma_out_prepare()

Type Parameter Key Value
PARAM_VALUE 0 fifo 4096-ptr_max
PARAM_VALUE 1 sgl 4871524308575608832
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 nents 2
PARAM_VALUE 3 len 4096
BUF_SIZE 0 fifo 24
BUF_SIZE 1 sgl 64
BUF_SIZE 1 sgl 64
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &p->port.lock
HALF_LOCKED2 flags

drivers/tty/serial/8250/8250_omap.c omap_8250_tx_dma() -> __kfifo_dma_out_prepare()

Type Parameter Key Value
PARAM_VALUE 0 fifo 4096-ptr_max
PARAM_VALUE 1 sgl 3186757514229547008
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 nents 1
PARAM_VALUE 3 len 4096
BUF_SIZE 0 fifo 24
BUF_SIZE 1 sgl 32
MEM_ZERO 1 sgl
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &_T->lock->lock
HALF_LOCKED2 &port->lock
HALF_LOCKED2 _T->flags

samples/kfifo/dma-example.c example_init() -> __kfifo_dma_out_prepare()

Type Parameter Key Value
PARAM_VALUE 0 fifo 6822071057272713216
PARAM_VALUE 0 fifo->out 0
PARAM_VALUE 1 sgl 5790046412911648768
PARAM_VALUE 1 sgl->dma_flags 0
PARAM_VALUE 1 sgl->offset 0-4095
PARAM_VALUE 2 nents 10
PARAM_VALUE 3 len 8
PARAM_VALUE 4 dma u64max
BUF_SIZE 0 fifo 24
BUF_SIZE 1 sgl 320
BUF_SIZE 1 sgl 320

drivers/tty/serial/imx.c imx_uart_dma_tx() -> __kfifo_dma_out_prepare()

Type Parameter Key Value
PARAM_VALUE 0 fifo 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 nents 2
PARAM_VALUE 4 dma u64max
BUF_SIZE 0 fifo 24
BUF_SIZE 1 sgl 64
BUF_SIZE 1 sgl 64
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 3 len unit_byte
HALF_LOCKED2 &sport->port.lock
HALF_LOCKED2 flags

drivers/tty/serial/fsl_lpuart.c lpuart_dma_tx() -> __kfifo_dma_out_prepare()

Type Parameter Key Value
PARAM_VALUE 0 fifo 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 nents 2
PARAM_VALUE 4 dma u64max
BUF_SIZE 0 fifo 24
BUF_SIZE 1 sgl 64
BUF_SIZE 1 sgl 64
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 3 len unit_byte
HALF_LOCKED2 &sport->port.lock
HALF_LOCKED2 flags

drivers/tty/serial/msm_serial.c msm_handle_tx_dma() -> __kfifo_dma_out_prepare()

Type Parameter Key Value
PARAM_VALUE 0 fifo 4096-ptr_max
PARAM_VALUE 1 sgl 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 nents 1
PARAM_VALUE 3 len 1-u32max
PARAM_VALUE 4 dma u64max
BUF_SIZE 0 fifo 24
BUF_SIZE 1 sgl 32
DATA_SOURCE 3 len $1
MEM_ZERO 1 sgl
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &port->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct uart_port)->lock