Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_complete_descriptor() -> xilinx_dma_get_residue()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 0 chan->xdev->dma_config 4096-ptr_max
PARAM_VALUE 0 chan->xdev->dma_config->dmatype 0-1,3-u32max
PARAM_VALUE 1 desc 4096-ptr_max
CAPPED_DATA 0 &chan->active_list 1
CAPPED_DATA 1 &desc->node 1
DATA_SOURCE 0 chan $0
PARAM_COMPARE 0 &chan->active_list != $0->active_list.next
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chan->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct xilinx_dma_chan)->lock

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_tx_status() -> xilinx_dma_get_residue()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 0 chan->xdev->dma_config 4096-ptr_max
PARAM_VALUE 0 chan->xdev->dma_config->dmatype 0-1,3-u32max
PARAM_VALUE 1 desc 4096-ptr_max
CAPPED_DATA 0 &chan->active_list 1
PARAM_COMPARE 0 &chan->active_list != $0->active_list.next
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &chan->lock
HALF_LOCKED2 &dcmi->irqlock
HALF_LOCKED2 &host->io_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &info->lock
HALF_LOCKED2 &pcdev->lock
HALF_LOCKED2 &port->lock
HALF_LOCKED2 &up->port.lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct xilinx_dma_chan)->lock