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_power_down() -> mhi_queue_state_transition()

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->dev_state 0
PARAM_VALUE 0 mhi_cntrl->ee 8
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_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->pm_lock.owner_cpu u32max
PARAM_VALUE 0 mhi_cntrl->pm_lock.raw_lock.wlocked 0
PARAM_VALUE 0 mhi_cntrl->pm_mutex.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_state 0,2-u32max
PARAM_VALUE 0 mhi_cntrl->state_event.lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 state 7
BUF_SIZE 0 mhi_cntrl (-1),984
BUF_SIZE 0 mhi_cntrl (-1),984
CAPPED_DATA 0 &mhi_cntrl->pm_mutex 1
DATA_SOURCE 0 mhi_cntrl $0
FUZZY_MAX 0 mhi_cntrl->pm_state 4096
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/bus/mhi/host/pm.c __mhi_power_down() -> mhi_queue_state_transition()

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->dev_state 0
PARAM_VALUE 0 mhi_cntrl->ee 8
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_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->pm_lock.owner_cpu u32max
PARAM_VALUE 0 mhi_cntrl->pm_lock.raw_lock.wlocked 0
PARAM_VALUE 0 mhi_cntrl->pm_mutex.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_state 0,2-u32max
PARAM_VALUE 0 mhi_cntrl->state_event.lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 state 6
CAPPED_DATA 0 &mhi_cntrl->pm_mutex 1
DATA_SOURCE 0 mhi_cntrl $0
FUZZY_MAX 0 mhi_cntrl->pm_state 4096
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/bus/mhi/host/pm.c mhi_async_power_up() -> mhi_queue_state_transition()

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->cma_area->nranges s32min-s32max
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 mhi_cntrl->debugfs_dentry->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 mhi_cntrl->ee 10
PARAM_VALUE 0 mhi_cntrl->irq 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_dev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_dev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_dev->dev.driver 0,4096-ptr_max
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_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->pm_lock.owner_cpu u32max
PARAM_VALUE 0 mhi_cntrl->pm_lock.raw_lock.wlocked 0
PARAM_VALUE 0 mhi_cntrl->pm_mutex.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mhi_cntrl->pm_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->pm_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 mhi_cntrl->pm_state 2
PARAM_VALUE 0 mhi_cntrl->read_reg 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->total_ev_rings 0-s32max
PARAM_VALUE 0 mhi_cntrl->wake_get 1-u64max
PARAM_VALUE 0 mhi_cntrl->wake_put 1-u64max
PARAM_VALUE 0 mhi_cntrl->wake_toggle 1-u64max
PARAM_VALUE 0 mhi_cntrl->write_reg 4096-ptr_max
PARAM_VALUE 1 state 0-1
BUF_SIZE 0 mhi_cntrl (-1),984
BUF_SIZE 0 mhi_cntrl (-1),984
BUF_SIZE 0 mhi_cntrl->cntrl_dev (-1),1616
BUF_SIZE 0 mhi_cntrl->irq (-1),4
BUF_SIZE 0 mhi_cntrl->name (-1),7
CAPPED_DATA 0 mhi_cntrl 1
CAPPED_DATA 0 mhi_cntrl->total_ev_rings 1
CAPPED_DATA 0 &mhi_cntrl->pm_mutex 1
DATA_SOURCE 0 mhi_cntrl $0
FUZZY_MAX 1 state 1
STR_LEN 0 mhi_cntrl->name (-1),6
HARD_MAX 1 state 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 mhi_cntrl->nr_irqs
UNITS 0 mhi_cntrl unit_byte
LOCK2 0 &mhi_cntrl->pm_mutex
TYPE_LOCK (struct mhi_controller)->pm_mutex

drivers/bus/mhi/host/pm.c mhi_pm_sys_err_handler() -> mhi_queue_state_transition()

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->pm_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->pm_lock.owner_cpu u32max
PARAM_VALUE 0 mhi_cntrl->pm_lock.raw_lock.wlocked 0
PARAM_VALUE 0 mhi_cntrl->pm_state 0,2-u32max
PARAM_VALUE 0 mhi_cntrl->rddm_image 0
PARAM_VALUE 1 state 5
DATA_SOURCE 0 mhi_cntrl $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 mhi_cntrl->ee 0,5-6

drivers/bus/mhi/host/pm.c mhi_pm_sys_error_transition() -> mhi_queue_state_transition()

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->dev_state 0
PARAM_VALUE 0 mhi_cntrl->ee 8
PARAM_VALUE 0 mhi_cntrl->mhi_ctxt 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_ctxt->cmd_ctxt 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->pm_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->pm_lock.owner_cpu u32max
PARAM_VALUE 0 mhi_cntrl->pm_lock.raw_lock.wlocked 0
PARAM_VALUE 0 mhi_cntrl->pm_mutex.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->pm_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 mhi_cntrl->pm_state 1-2,4,8,16,32,64,128,256,512,1024,2048,4096
PARAM_VALUE 0 mhi_cntrl->read_reg 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->state_event.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->total_ev_rings 0-s32max
PARAM_VALUE 0 mhi_cntrl->transition_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 state 0-1
CAPPED_DATA 0 mhi_cntrl->total_ev_rings 1
CAPPED_DATA 0 &mhi_cntrl->pm_mutex 1
DATA_SOURCE 0 mhi_cntrl $0
FUZZY_MAX 1 state 1
HARD_MAX 1 state 1
NOCHECK_CALL
HOST_DATA 0 mhi_cntrl->serial_number 0-u32max
LOCK2 0 &mhi_cntrl->pm_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mhi_controller)->pm_mutex

drivers/bus/mhi/host/main.c mhi_process_ctrl_ev_ring() -> mhi_queue_state_transition()

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->mhi_ctxt->er_ctxt 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->pm_state 0,2-127,256
PARAM_VALUE 1 state 2-4
DATA_SOURCE 0 mhi_cntrl $0
FUZZY_MAX 1 state 4
HARD_MAX 1 state 4
NOCHECK_CALL
HALF_LOCKED2 &mhi_event->lock
HALF_LOCKED2 bh