Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/bus/mhi/host/pm.c __mhi_device_get_sync() -> (struct mhi_controller)->wake_put()
| 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_state | 0-127 |
| PARAM_VALUE | 1 | override | 0 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| CONTAINER | 0 | -872+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | mhi_cntrl->serial_number | 0-u32max |
| LOCK2 | bh | ||
| LOCK2 | 0 | &mhi_cntrl->pm_lock | |
| TYPE_LOCK | (struct mhi_controller)->pm_lock |
drivers/bus/mhi/host/pm.c mhi_device_put() -> (struct mhi_controller)->wake_put()
| 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 | 1 | override | 0 |
| CONTAINER | 0 | -872+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &mhi_cntrl->pm_lock | |
| HALF_LOCKED2 | &mhi_chan->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct mhi_controller)->pm_lock |
drivers/bus/mhi/host/pm.c mhi_pm_m0_transition() -> (struct mhi_controller)->wake_put()
| 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 | 0-s32max |
| 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 | override | 0 |
| CAPPED_DATA | 0 | mhi_cntrl->max_chan | 1 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| CONTAINER | 0 | -872+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &mhi_cntrl->pm_lock | |
| TYPE_LOCK | (struct mhi_controller)->pm_lock |
drivers/bus/mhi/host/pm.c mhi_pm_m1_transition() -> (struct mhi_controller)->wake_put()
| 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 | 4 |
| 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 | 0 | mhi_cntrl->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->state_event.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | override | 1 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| CONTAINER | 0 | -872+0 | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &mhi_cntrl->pm_lock | |
| HALF_LOCKED2 | &mhi_event->lock | ||
| TYPE_LOCK | (struct mhi_controller)->pm_lock |
drivers/bus/mhi/host/pm.c mhi_pm_mission_mode_transition() -> (struct mhi_controller)->wake_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| 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.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | mhi_cntrl->ee | 2,4,7 |
| PARAM_VALUE | 0 | mhi_cntrl->pm_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mhi_cntrl->pm_state | 2-127 |
| 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 | 0 | mhi_cntrl->wake_set | 1 |
| PARAM_VALUE | 0 | mhi_cntrl->wlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | override | 0 |
| CAPPED_DATA | 0 | mhi_cntrl->total_ev_rings | 1 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| CONTAINER | 0 | -872+0 | $(-1) |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | mhi_cntrl->serial_number | 0-u32max |
| LOCK2 | bh | ||
| LOCK2 | 0 | &mhi_cntrl->pm_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mhi_controller)->pm_lock |
drivers/bus/mhi/host/pm.c mhi_pm_suspend() -> (struct mhi_controller)->wake_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_dev->mhi_cntrl->cntrl_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | mhi_cntrl->pending_pkts.counter | 0 |
| PARAM_VALUE | 0 | mhi_cntrl->pm_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mhi_cntrl->pm_state | 0,2-127 |
| PARAM_VALUE | 1 | override | 0 |
| BUF_SIZE | 0 | mhi_cntrl | (-1),984 |
| BUF_SIZE | 0 | mhi_cntrl | (-1),984 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| CONTAINER | 0 | -872+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &mhi_cntrl->pm_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mhi_controller)->pm_lock |
drivers/bus/mhi/host/pm.c mhi_toggle_dev_wake() -> (struct mhi_controller)->wake_put()
| 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->iommu->pci_32bit_workaround | 0-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 | override | 1 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| CONTAINER | 0 | -872+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &mhi_cntrl->pm_lock | |
| TYPE_LOCK | (struct mhi_controller)->pm_lock |