Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/bus/mhi/ep/main.c mhi_ep_cache_host_cfg() -> mhi_ep_ring_start()

Type Parameter Key Value
PARAM_VALUE 0 mhi_cntrl 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->enabled 0
PARAM_VALUE 0 mhi_cntrl->max_chan 0-s32max
PARAM_VALUE 0 mhi_cntrl->mhi_cmd 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_cmd->ring.ch_id 0-s32max
PARAM_VALUE 0 mhi_cntrl->mhi_cmd->ring.type 0
PARAM_VALUE 0 mhi_cntrl->mhi_event 16,4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_state 0-1,255
PARAM_VALUE 0 mhi_cntrl->state_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->state_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->state_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mhi_cntrl->state_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 mhi_cntrl->state_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->state_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->state_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mhi_cntrl->state_lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 mhi_cntrl->state_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mhi_cntrl->state_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 mhi_cntrl->state_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->wq->flush_color s32min-s32max
PARAM_VALUE 0 mhi_cntrl->wq->work_color s32min-s32max
PARAM_VALUE 0 *mhi_cntrl->ch_ctx_cache (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *mhi_cntrl->cmd_ctx_cache (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *mhi_cntrl->ev_ctx_cache (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 ring 4096-ptr_max
PARAM_VALUE 1 ring->ch_id 0-s32max
PARAM_VALUE 1 ring->type 0
BUF_SIZE 0 mhi_cntrl->mhi_event 0-s32max
CAPPED_DATA 0 mhi_cntrl->max_chan 1
DATA_SOURCE 0 mhi_cntrl $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 mhi_cntrl->ch_ctx_host_pa 0-u64max
HOST_DATA 0 mhi_cntrl->chdb_offset 0-u32max
HOST_DATA 0 mhi_cntrl->cmd_ctx_host_pa 0-u64max
HOST_DATA 0 mhi_cntrl->erdb_offset 0-u32max
HOST_DATA 0 mhi_cntrl->ev_ctx_host_pa 0-u64max
HOST_DATA 0 mhi_cntrl->event_rings 0-u32max[c]
HOST_DATA 0 mhi_cntrl->hw_event_rings 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 mhi_cntrl->event_rings
NO_OVERFLOW_SIMPLE 0 mhi_cntrl->mhi_cmd->ring.ch_id
NO_OVERFLOW_SIMPLE 1 ring->ch_id
HALF_LOCKED2 &epc->list_lock
HALF_LOCKED2 &epf->lock

drivers/bus/mhi/ep/main.c mhi_ep_process_cmd_ring() -> mhi_ep_ring_start()

Type Parameter Key Value
PARAM_VALUE 0 mhi_cntrl 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->ch_ctx_cache 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->max_chan 1-u32max
PARAM_VALUE 0 mhi_cntrl->mhi_chan 4096-ptr_max
PARAM_VALUE 1 ring 4096-ptr_max
PARAM_VALUE 1 ring->started 0
PARAM_VALUE 2 ctx 4096-ptr_max
BUF_SIZE 1 ring 280
LOCK2 &mhi_chan->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mhi_ep_chan)->lock

drivers/bus/mhi/ep/main.c mhi_ep_send_event() -> mhi_ep_ring_start()

Type Parameter Key Value
PARAM_VALUE 0 mhi_cntrl 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->ev_ctx_cache 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->ev_ring_el_cache 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->ev_ring_el_cache->object_size 0-4294967295
PARAM_VALUE 0 mhi_cntrl->event_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->event_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->event_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mhi_cntrl->event_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 mhi_cntrl->event_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->event_lock.wait_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->event_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 mhi_cntrl->mhi_event 4096-ptr_max
PARAM_VALUE 1 ring 4096-ptr_max
PARAM_VALUE 1 ring->started 0
PARAM_VALUE 2 ctx 4096-ptr_max
BUF_SIZE 0 mhi_cntrl->mhi_event (-1)-s32max
BUF_SIZE 1 ring 280
CAPPED_DATA 0 mhi_cntrl->ev_ring_el_cache 1
CAPPED_DATA 0 &mhi_cntrl->event_lock 1
DATA_SOURCE 0 mhi_cntrl $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 mhi_cntrl->chdb_offset 0-u32max
HOST_DATA 0 mhi_cntrl->erdb_offset 0-u32max
NO_OVERFLOW_SIMPLE 0 mhi_cntrl->event_rings
NO_OVERFLOW_SIMPLE 0 mhi_cntrl->mhi_cmd->ring.ch_id
LOCK2 0 &mhi_cntrl->event_lock
HALF_LOCKED2 &mhi_chan->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &mhi_cntrl->state_lock
TYPE_LOCK (struct mhi_ep_cntrl)->event_lock