Defined in 1 files as a member:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/dma/switchtec_dma.c switchtec_dma_alloc_chan_resources() -> enable_channel()

Type Parameter Key Value
PARAM_VALUE 0 swdma_chan 4096-ptr_max
PARAM_VALUE 0 swdma_chan->cq_tail 0
PARAM_VALUE 0 swdma_chan->head 0
PARAM_VALUE 0 swdma_chan->hw_cq 1-ptr_max
PARAM_VALUE 0 swdma_chan->hw_cq->cid 0
PARAM_VALUE 0 swdma_chan->hw_cq->cpl_byte_cnt 0
PARAM_VALUE 0 swdma_chan->hw_cq->phase_tag 0
PARAM_VALUE 0 swdma_chan->hw_cq->rdimm_cpl_dw0 0
PARAM_VALUE 0 swdma_chan->hw_cq->rdimm_cpl_dw1 0
PARAM_VALUE 0 swdma_chan->hw_cq->rsvd1 0
PARAM_VALUE 0 swdma_chan->hw_cq->rsvd2 0
PARAM_VALUE 0 swdma_chan->hw_cq->rsvd3 0
PARAM_VALUE 0 swdma_chan->hw_cq->sq_head 0
PARAM_VALUE 0 swdma_chan->hw_cq->sts_code 0
PARAM_VALUE 0 swdma_chan->hw_sq 4096-ptr_max
PARAM_VALUE 0 swdma_chan->hw_sq->addr_hi 0
PARAM_VALUE 0 swdma_chan->hw_sq->addr_lo 0
PARAM_VALUE 0 swdma_chan->hw_sq->byte_cnt 0
PARAM_VALUE 0 swdma_chan->hw_sq->cid 0
PARAM_VALUE 0 swdma_chan->hw_sq->ctrl 0
PARAM_VALUE 0 swdma_chan->hw_sq->daddr_hi 0
PARAM_VALUE 0 swdma_chan->hw_sq->daddr_lo 0
PARAM_VALUE 0 swdma_chan->hw_sq->dfid 0
PARAM_VALUE 0 swdma_chan->hw_sq->opc 0
PARAM_VALUE 0 swdma_chan->hw_sq->rsvd1 0
PARAM_VALUE 0 swdma_chan->hw_sq->sfid 0
PARAM_VALUE 0 swdma_chan->hw_sq->tlp_setting 0
PARAM_VALUE 0 swdma_chan->phase_tag 0
PARAM_VALUE 0 swdma_chan->swdma_dev 4096-ptr_max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev 4096-ptr_max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->dma_uses_io_tlb 1
PARAM_VALUE 0 swdma_chan->swdma_dev->dma_dev.dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 swdma_chan->swdma_dev->pdev 1-u64max
PARAM_VALUE 0 swdma_chan->tail 0
CAPPED_DATA 0 swdma_chan->hw_cq 1
CAPPED_DATA 0 swdma_chan->hw_sq 1
CAPPED_DATA 0 swdma_chan->swdma_dev->dma_dev.dev 1
CAPPED_DATA 0 swdma_chan->swdma_dev->pdev 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &dma_list_mutex

drivers/dma/switchtec_dma.c switchtec_dma_synchronize() -> enable_channel()

Type Parameter Key Value
PARAM_VALUE 0 swdma_chan 4096-ptr_max
PARAM_VALUE 0 swdma_chan->complete_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 swdma_chan->tail 0-s16max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &controller->io_mutex
HALF_LOCKED2 &ctlr->io_mutex
HALF_LOCKED2 &ctrl->io_mutex
HALF_LOCKED2 &host->io_mutex
HALF_LOCKED2 &host->thread_lock
HALF_LOCKED2 &mem->spi->controller->bus_lock_mutex
HALF_LOCKED2 &mem->spi->controller->io_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &priv->lock
HALF_LOCKED2 &qspi->list_lock
HALF_LOCKED2 &sdr->v4l2_mutex
HALF_LOCKED2 &spi->io_mutex
HALF_LOCKED2 &spi->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &dma_list_mutex