Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/dma/xilinx/xilinx_dma.c dma_ctrl_clr() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 1-u64max
PARAM_VALUE 1 reg 0
DATA_SOURCE 0 chan $0
DATA_SOURCE 1 reg $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 &chan->lock

drivers/dma/xilinx/xilinx_dma.c dma_ctrl_set() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 1 reg 0
BUF_SIZE 0 chan (-1),544
BUF_SIZE 0 chan (-1),544
BUF_SIZE 0 chan->common.device (-1),464
BUF_SIZE 0 chan->desc_pool (-1),192
BUF_SIZE 0 chan->dev (-1),1616
DATA_SOURCE 0 chan $0
DATA_SOURCE 1 reg $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 chan->config.vflip_en 0-1
HALF_LOCKED2 0 &chan->lock

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_chan_probe() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->active_list.next 4096-ptr_max
PARAM_VALUE 0 chan->active_list.next->next 4096-ptr_max
PARAM_VALUE 0 chan->active_list.prev 4096-ptr_max
PARAM_VALUE 0 chan->active_list.prev->next 4096-ptr_max
PARAM_VALUE 0 chan->active_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 chan->config.park 0
PARAM_VALUE 0 chan->ctrl_offset 0,48
PARAM_VALUE 0 chan->desc_offset 0
PARAM_VALUE 0 chan->desc_pendingcount 0
PARAM_VALUE 0 chan->dev 4096-ptr_max
PARAM_VALUE 0 chan->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 chan->dev->dma_mask 4096-ptr_max
PARAM_VALUE 0 chan->dev->dma_parms 0,4096-ptr_max
PARAM_VALUE 0 chan->dev->of_node 1-u64max
PARAM_VALUE 0 chan->direction 1-2
PARAM_VALUE 0 chan->done_list.next 4096-ptr_max
PARAM_VALUE 0 chan->done_list.next->next 4096-ptr_max
PARAM_VALUE 0 chan->done_list.prev 4096-ptr_max
PARAM_VALUE 0 chan->done_list.prev->next 4096-ptr_max
PARAM_VALUE 0 chan->done_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 chan->ext_addr 0
PARAM_VALUE 0 chan->flush_on_fsync 0
PARAM_VALUE 0 chan->free_seg_list.next 4096-ptr_max
PARAM_VALUE 0 chan->free_seg_list.next->next 4096-ptr_max
PARAM_VALUE 0 chan->free_seg_list.prev 4096-ptr_max
PARAM_VALUE 0 chan->free_seg_list.prev->next 4096-ptr_max
PARAM_VALUE 0 chan->free_seg_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 chan->id 0
PARAM_VALUE 0 chan->idle 1
PARAM_VALUE 0 chan->irq 0
PARAM_VALUE 0 chan->pending_list.next 4096-ptr_max
PARAM_VALUE 0 chan->pending_list.next->next 4096-ptr_max
PARAM_VALUE 0 chan->pending_list.prev 4096-ptr_max
PARAM_VALUE 0 chan->pending_list.prev->next 4096-ptr_max
PARAM_VALUE 0 chan->pending_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 chan->start_transfer 4094646011795525632,7812977131148529664,9014231629892878336
PARAM_VALUE 0 chan->stop_transfer 666813430594727936,7447789338918195200
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 0 chan->xdev->axi_clk 0,4096-ptr_max
PARAM_VALUE 0 chan->xdev->common.channels.next 4096-ptr_max
PARAM_VALUE 0 chan->xdev->common.channels.prev 4096-ptr_max
PARAM_VALUE 0 chan->xdev->common.copy_align 0-32
PARAM_VALUE 0 chan->xdev->common.desc_metadata_modes 0,2
PARAM_VALUE 0 chan->xdev->common.dev 4096-ptr_max
PARAM_VALUE 0 chan->xdev->common.device_alloc_chan_resources 7626496289479962624
PARAM_VALUE 0 chan->xdev->common.device_config 1504958849472176128
PARAM_VALUE 0 chan->xdev->common.device_free_chan_resources 6340485920304717824
PARAM_VALUE 0 chan->xdev->common.device_issue_pending 8120870235903070208
PARAM_VALUE 0 chan->xdev->common.device_prep_dma_cyclic 0,8456197529834754048
PARAM_VALUE 0 chan->xdev->common.device_prep_dma_memcpy 0,3922097105166020608
PARAM_VALUE 0 chan->xdev->common.device_prep_interleaved_dma 0,5513161038820876288
PARAM_VALUE 0 chan->xdev->common.device_prep_peripheral_dma_vec 0,7337248191314386944
PARAM_VALUE 0 chan->xdev->common.device_prep_slave_sg 0,1872808822440300544,7654085861899419648
PARAM_VALUE 0 chan->xdev->common.device_synchronize 7444131357683384320
PARAM_VALUE 0 chan->xdev->common.device_terminate_all 313472718838022144
PARAM_VALUE 0 chan->xdev->common.device_tx_status 7183729417977266176
PARAM_VALUE 0 chan->xdev->common.residue_granularity 0-1
PARAM_VALUE 0 chan->xdev->dev 4096-ptr_max
PARAM_VALUE 0 chan->xdev->dma_config 4096-ptr_max
PARAM_VALUE 0 chan->xdev->max_buffer_len 0,255-67108863
PARAM_VALUE 0 chan->xdev->regs 4096-ptr_max
PARAM_VALUE 0 chan->xdev->rx_clk 0,4096-ptr_max
PARAM_VALUE 0 chan->xdev->rxs_clk 0,4096-ptr_max
PARAM_VALUE 0 chan->xdev->tx_clk 0,4096-ptr_max
PARAM_VALUE 0 chan->xdev->txs_clk 0,4096-ptr_max
PARAM_VALUE 1 reg 4
BUF_SIZE 0 chan 544
BUF_SIZE 0 chan->dev 1616
BUF_SIZE 0 chan->xdev 816
CAPPED_DATA 0 chan->tdest 1
CAPPED_DATA 0 chan->xdev->max_buffer_len 1
DATA_SOURCE 0 chan r devm_kzalloc
FUZZY_MAX 0 chan->ctrl_offset 48
FUZZY_MAX 0 chan->direction 2
BIT_INFO 0 chan->ctrl_offset 0x0,0x30
BIT_INFO 0 chan->start_transfer 0x28000048440a0000,0x7dfffffe7edbd000
BIT_INFO 0 chan->stop_transfer 0x140dc4014081000,0x6f5bfff9be2ff000
HARD_MAX 0 chan->ctrl_offset 48
HARD_MAX 0 chan->direction 2
MEM_ZERO 0 chan
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 chan->config.vflip_en 0-1

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_get_residue_axidma_direct_s2mm() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->direction 2
PARAM_VALUE 0 chan->has_sg 0
PARAM_VALUE 0 chan->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 0 chan->xdev->dma_config 4096-ptr_max
PARAM_VALUE 1 reg 40
DATA_SOURCE 0 chan $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chan->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct xilinx_dma_chan)->lock

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_irq_handler() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 4
DATA_SOURCE 0 chan $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_irq_handler() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 1 reg 8
DATA_SOURCE 0 chan $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_irq_handler() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 1 reg 16
DATA_SOURCE 0 chan $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_prep_dma_cyclic() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->direction 1-3
PARAM_VALUE 0 chan->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 1 reg 0
PARAM_COMPARE 0 &chan->free_seg_list != $0->free_seg_list.next
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sdr->v4l2_mutex
HALF_LOCKED2 &sport->port.lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_reset() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 1 reg 0
BUF_SIZE 0 chan (-1),544
BUF_SIZE 0 chan (-1),544
BUF_SIZE 0 chan->common.device (-1),464
BUF_SIZE 0 chan->dev (-1),1616
DATA_SOURCE 0 chan $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 chan->config.vflip_en 0-1

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_reset() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 1 reg 4
BUF_SIZE 0 chan (-1),544
BUF_SIZE 0 chan (-1),544
BUF_SIZE 0 chan->common.device (-1),464
BUF_SIZE 0 chan->dev (-1),1616
DATA_SOURCE 0 chan $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 chan->config.vflip_en 0-1

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_start() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->err 0
PARAM_VALUE 0 chan->idle 1
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 1 reg 4
DATA_SOURCE 0 chan $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chan->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct xilinx_dma_chan)->lock

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_start_transfer() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->err 0
PARAM_VALUE 1 reg 0
CAPPED_DATA 0 &chan->pending_list 1
DATA_SOURCE 0 chan $0
PARAM_COMPARE 0 &chan->pending_list != $0->pending_list.next
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chan->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct xilinx_dma_chan)->lock

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_terminate_all() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->cyclic 0
PARAM_VALUE 1 reg 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &controller->io_mutex
HALF_LOCKED2 &ctlr->io_mutex
HALF_LOCKED2 &dma->lock
HALF_LOCKED2 &dmm->wa_lock
HALF_LOCKED2 &epf_mhi->lock
HALF_LOCKED2 &host->io_mutex
HALF_LOCKED2 &host->lock
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 &priv->lock
HALF_LOCKED2 &qspi->list_lock
HALF_LOCKED2 &qspi->lock
HALF_LOCKED2 &sdr->v4l2_mutex
HALF_LOCKED2 &sp->mutex
HALF_LOCKED2 &spi->io_mutex
HALF_LOCKED2 &spi->mutex_lock
HALF_LOCKED2 &state->uart_port->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/dma/xilinx/xilinx_dma.c xilinx_dma_terminate_all() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->cyclic 1
PARAM_VALUE 0 chan->idle 1
PARAM_VALUE 0 chan->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->terminating 1
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 1 reg 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &controller->io_mutex
HALF_LOCKED2 &ctlr->io_mutex
HALF_LOCKED2 &dma->lock
HALF_LOCKED2 &dmm->wa_lock
HALF_LOCKED2 &epf_mhi->lock
HALF_LOCKED2 &host->io_mutex
HALF_LOCKED2 &host->lock
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 &priv->lock
HALF_LOCKED2 &qspi->list_lock
HALF_LOCKED2 &qspi->lock
HALF_LOCKED2 &sdr->v4l2_mutex
HALF_LOCKED2 &sp->mutex
HALF_LOCKED2 &spi->io_mutex
HALF_LOCKED2 &spi->mutex_lock
HALF_LOCKED2 &state->uart_port->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/dma/xilinx/xilinx_dma.c xilinx_mcdma_irq_handler() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 1 reg 32,40
DATA_SOURCE 0 chan $1
FUZZY_MAX 1 reg 40
BIT_INFO 1 reg 0x20,0x28
HARD_MAX 1 reg 40
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/dma/xilinx/xilinx_dma.c xilinx_mcdma_irq_handler() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->xdev->chan 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/dma/xilinx/xilinx_dma.c xilinx_mcdma_irq_handler() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 0 chan->xdev->chan 4096-ptr_max
PARAM_VALUE 1 reg 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/dma/xilinx/xilinx_dma.c xilinx_mcdma_irq_handler() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 0 chan->xdev->chan 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/dma/xilinx/xilinx_dma.c xilinx_mcdma_irq_handler() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 0 chan->xdev->chan 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/dma/xilinx/xilinx_dma.c xilinx_mcdma_start_transfer() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->err 0
CAPPED_DATA 0 &chan->pending_list 1
DATA_SOURCE 0 chan $0
PARAM_COMPARE 0 &chan->pending_list != $0->pending_list.next
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chan->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct xilinx_dma_chan)->lock

drivers/dma/xilinx/xilinx_dma.c xilinx_mcdma_start_transfer() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->err 0
PARAM_VALUE 0 chan->xdev 4096-ptr_max
PARAM_VALUE 1 reg 8
CAPPED_DATA 0 &chan->active_list 1
CAPPED_DATA 0 &chan->pending_list 1
DATA_SOURCE 0 chan $0
PARAM_COMPARE 0 &chan->pending_list != $0->pending_list.next
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chan->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct xilinx_dma_chan)->lock

drivers/dma/xilinx/xilinx_dma.c xilinx_mcdma_start_transfer() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->err 0
PARAM_VALUE 0 chan->xdev 4096-ptr_max
CAPPED_DATA 0 &chan->active_list 1
CAPPED_DATA 0 &chan->pending_list 1
DATA_SOURCE 0 chan $0
PARAM_COMPARE 0 &chan->pending_list != $0->pending_list.next
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chan->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct xilinx_dma_chan)->lock

drivers/dma/xilinx/xilinx_dma.c xilinx_vdma_channel_set_config() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 1 reg 0
RX_PATH
TASK_NOT_RUNNING

drivers/dma/xilinx/xilinx_dma.c xilinx_vdma_start_transfer() -> dma_ctrl_read()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->err 0
PARAM_VALUE 0 chan->idle 1
PARAM_VALUE 1 reg 0
CAPPED_DATA 0 &chan->pending_list 1
DATA_SOURCE 0 chan $0
PARAM_COMPARE 0 &chan->pending_list != $0->pending_list.next
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chan->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct xilinx_dma_chan)->lock