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/pm.c mhi_pm_m0_transition() -> mhi_ring_chan_db()

Type Parameter Key Value
PARAM_VALUE 0 mhi_cntrl 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mhi_cntrl->dev_state 2
PARAM_VALUE 0 mhi_cntrl->max_chan 1-u32max
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 0 mhi_cntrl->pm_state 2,4,8,16,32,64,256
PARAM_VALUE 1 mhi_chan 4096-ptr_max
PARAM_VALUE 1 mhi_chan->ch_state 1
PARAM_VALUE 1 mhi_chan->lock.dep_map->name 0-255
PARAM_VALUE 1 mhi_chan->tre_ring.base 1-u64max
DATA_SOURCE 0 mhi_cntrl $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 irq
LOCK2 0 &mhi_cntrl->pm_lock
LOCK2 1 &mhi_chan->lock
TYPE_LOCK (struct mhi_chan)->lock
TYPE_LOCK (struct mhi_controller)->pm_lock

drivers/bus/mhi/host/main.c mhi_queue() -> mhi_ring_chan_db()

Type Parameter Key Value
PARAM_VALUE 0 mhi_cntrl 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->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mhi_cntrl->pm_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_state 0-127
PARAM_VALUE 1 mhi_chan 4096-ptr_max
PARAM_VALUE 1 mhi_chan->buf_ring.wp->pre_mapped 0
PARAM_VALUE 1 mhi_chan->ch_state 1
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.cnts.counter 0-s32max
PARAM_VALUE 1 mhi_chan->lock.raw_lock.wlocked 0
PARAM_VALUE 1 *mhi_chan->buf_ring.wp->bb_addr (-4611686018427387904)-4611686018427387903
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mhi_cntrl unit_byte
LOCK2 flags
LOCK2 0 &mhi_cntrl->pm_lock
TYPE_LOCK (struct mhi_controller)->pm_lock

drivers/bus/mhi/host/main.c parse_xfer_event() -> mhi_ring_chan_db()

Type Parameter Key Value
PARAM_VALUE 0 mhi_cntrl 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mhi_cntrl->max_chan 1-u32max
PARAM_VALUE 0 mhi_cntrl->mhi_chan 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_ctxt->er_ctxt 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->pm_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_state 0,2-127,256
PARAM_VALUE 1 mhi_chan 4096-ptr_max
PARAM_VALUE 1 mhi_chan->ch_state 1
PARAM_VALUE 1 mhi_chan->configured 1
PARAM_VALUE 1 mhi_chan->db_cfg.db_mode 1
PARAM_VALUE 1 mhi_chan->lock.dep_map->name 0-255
PARAM_VALUE 1 mhi_chan->lock.owner_cpu 0
PARAM_VALUE 1 mhi_chan->lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 1 mhi_chan->mhi_dev->mhi_cntrl->cntrl_dev->power.wakeirq->status 0-4294967295
DATA_SOURCE 0 mhi_cntrl $0
DATA_SOURCE 1 mhi_chan $2
NOCHECK_CALL
LOCK2 flags
LOCK2 pm_lock_flags
LOCK2 0 &mhi_cntrl->pm_lock
LOCK2 1 &mhi_chan->lock
HALF_LOCKED2 &mhi_event->lock
HALF_LOCKED2 bh
TYPE_LOCK (struct mhi_chan)->lock
TYPE_LOCK (struct mhi_controller)->pm_lock