Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/bus/mhi/host/main.c mhi_prepare_channel() -> mhi_deinit_chan_ctxt()

Type Parameter Key Value
PARAM_VALUE 0 mhi_cntrl 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->dma_uses_io_tlb 1
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mhi_cntrl->mhi_dev->mhi_cntrl->cntrl_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 mhi_chan 4096-ptr_max
PARAM_VALUE 1 mhi_chan->buf_ring.base 1-u64max
PARAM_VALUE 1 mhi_chan->buf_ring.el_size 56
PARAM_VALUE 1 mhi_chan->buf_ring.rp 1-u64max
PARAM_VALUE 1 mhi_chan->buf_ring.wp 1-u64max
PARAM_VALUE 1 mhi_chan->db_cfg.db_mode 1
PARAM_VALUE 1 mhi_chan->mutex.dep_map->name 0-255
PARAM_VALUE 1 mhi_chan->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 mhi_chan->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 mhi_chan->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 mhi_chan->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 mhi_chan->mutex.wait_lock.owner (-1)
PARAM_VALUE 1 mhi_chan->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 mhi_chan->offload_ch 0
PARAM_VALUE 1 mhi_chan->tre_ring.base 4096-ptr_max
PARAM_VALUE 1 mhi_chan->tre_ring.ctxt_wp 4096-ptr_max
PARAM_VALUE 1 mhi_chan->tre_ring.el_size 16
PARAM_VALUE 1 mhi_chan->tre_ring.pre_aligned 1-ptr_max
PARAM_VALUE 1 mhi_chan->tre_ring.rp 4096-ptr_max
PARAM_VALUE 1 mhi_chan->tre_ring.wp 4096-ptr_max
CAPPED_DATA 0 mhi_cntrl->cntrl_dev->cma_area->nranges 1
CAPPED_DATA 1 mhi_chan->tre_ring.pre_aligned 1
CAPPED_DATA 1 &mhi_chan->mutex 1
DATA_SOURCE 0 mhi_cntrl $0
DATA_SOURCE 1 mhi_chan $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mhi_cntrl unit_byte
LOCK2 1 &mhi_chan->mutex
HALF_LOCKED2 &port->ops_lock
TYPE_LOCK (struct mhi_chan)->mutex

drivers/bus/mhi/host/main.c mhi_unprepare_channel() -> mhi_deinit_chan_ctxt()

Type Parameter Key Value
PARAM_VALUE 0 mhi_cntrl 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->power.request 0-4
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->power.runtime_status 0,2
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mhi_cntrl->mhi_dev->mhi_cntrl->cntrl_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mhi_cntrl->pm_lock.dep_map->name 0-255
PARAM_VALUE 1 mhi_chan 4096-ptr_max
PARAM_VALUE 1 mhi_chan->buf_ring.rp->bb_addr->_refcount.counter s32min-s32max
PARAM_VALUE 1 mhi_chan->buf_ring.rp->bb_addr->page_type 0-4294967295
PARAM_VALUE 1 mhi_chan->ch_state 0
PARAM_VALUE 1 mhi_chan->lock.dep_map->name 0-255
PARAM_VALUE 1 mhi_chan->lock.owner (-1)
PARAM_VALUE 1 mhi_chan->lock.owner_cpu u32max
PARAM_VALUE 1 mhi_chan->lock.raw_lock.wlocked 0
PARAM_VALUE 1 mhi_chan->mhi_dev->dev.driver_data->rx_size 0-u16max
PARAM_VALUE 1 mhi_chan->mhi_dev->dev.driver_data->tx_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 mhi_chan->mutex.dep_map->name 0-255
PARAM_VALUE 1 mhi_chan->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 mhi_chan->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 mhi_chan->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 mhi_chan->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 mhi_chan->mutex.wait_lock.owner (-1)
PARAM_VALUE 1 mhi_chan->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 mhi_chan->offload_ch 0
PARAM_VALUE 1 *mhi_chan->buf_ring.rp->v_addr (-4611686018427387904)-4611686018427387903
CAPPED_DATA 1 mhi_chan->tre_ring.wp 1
CAPPED_DATA 1 &mhi_chan->mutex 1
DATA_SOURCE 0 mhi_cntrl $0
DATA_SOURCE 1 mhi_chan $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mhi_cntrl unit_byte
LOCK2 1 &mhi_chan->mutex
HALF_LOCKED2 &port->ops_lock
TYPE_LOCK (struct mhi_chan)->mutex

drivers/bus/mhi/host/init.c mhi_remove() -> mhi_deinit_chan_ctxt()

Type Parameter Key Value
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 mhi_chan 4096-ptr_max
PARAM_VALUE 1 mhi_chan->mutex.dep_map->name 0-255
PARAM_VALUE 1 mhi_chan->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 mhi_chan->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 mhi_chan->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 mhi_chan->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 mhi_chan->mutex.wait_lock.owner (-1)
PARAM_VALUE 1 mhi_chan->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 mhi_chan->offload_ch 0
CAPPED_DATA 1 &mhi_chan->mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mhi_cntrl unit_byte
LOCK2 1 &mhi_chan->mutex
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct mhi_chan)->mutex