Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/bus/mhi/host/pci_generic.c
- drivers/bus/mhi/host/pm.c, line 1318
- drivers/net/wireless/ath/ath11k/mhi.c, line 446
- drivers/net/wireless/ath/ath12k/mhi.c, line 439
Smatch caller information:
drivers/bus/mhi/host/pci_generic.c mhi_pci_recovery_work() -> mhi_sync_power_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->bhi | 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->available_count | 0-s64max |
| 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->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | mhi_cntrl->dev_wake.counter | 0 |
| PARAM_VALUE | 0 | mhi_cntrl->max_chan | 0-s32max |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_chan->ch_state | 0-4294967295 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.alloc_size | 4095 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.el_size | 16 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.elements | 128 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.len | 2048 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_ctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_event->db_cfg.db_mode | 1 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_event->ring.el_size | 16 |
| PARAM_VALUE | 0 | mhi_cntrl->pending_pkts.counter | 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->reg_len | 1-u64max |
| PARAM_VALUE | 0 | mhi_cntrl->total_ev_rings | 0-s32max |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_chan->tre_ring.db_addr | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->base | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->pre_aligned | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->rp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->wp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->base | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->pre_aligned | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->rp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->wp | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | mhi_cntrl | 984 |
| CAPPED_DATA | 0 | mhi_cntrl->cntrl_dev->cma_area->nranges | 1 |
| CAPPED_DATA | 0 | mhi_cntrl->max_chan | 1 |
| CAPPED_DATA | 0 | mhi_cntrl->total_ev_rings | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/bus/mhi/host/pci_generic.c mhi_pci_reset_done() -> mhi_sync_power_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->bhi | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->bhie | 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->available_count | 0-s64max |
| 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->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | mhi_cntrl->dev_wake.counter | 0 |
| PARAM_VALUE | 0 | mhi_cntrl->max_chan | 0-s32max |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_chan->ch_state | 0-4294967295 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.alloc_size | 4095 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.el_size | 16 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.elements | 128 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.len | 2048 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_ctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_event->db_cfg.db_mode | 1 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_event->ring.el_size | 16 |
| PARAM_VALUE | 0 | mhi_cntrl->pending_pkts.counter | 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->rddm_image | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->reg_len | 1-u64max |
| PARAM_VALUE | 0 | mhi_cntrl->total_ev_rings | 0-s32max |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_chan->tre_ring.db_addr | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->base | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->pre_aligned | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->rp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->wp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->base | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->pre_aligned | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->rp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->wp | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | mhi_cntrl | 984 |
| CAPPED_DATA | 0 | mhi_cntrl->cntrl_dev->cma_area->nranges | 1 |
| CAPPED_DATA | 0 | mhi_cntrl->max_chan | 1 |
| CAPPED_DATA | 0 | mhi_cntrl->total_ev_rings | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/net/wireless/ath/ath12k/mhi.c ath12k_mhi_set_state() -> mhi_sync_power_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->bhi | 0,4096-ptr_max |
| 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->nranges | s32min-s32max |
| 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->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | mhi_cntrl->dev_state | 0 |
| PARAM_VALUE | 0 | mhi_cntrl->dev_wake.counter | 0 |
| PARAM_VALUE | 0 | mhi_cntrl->ee | 8 |
| PARAM_VALUE | 0 | mhi_cntrl->fbc_image | 0 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_chan->ch_state | 0-4294967295 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.alloc_size | 4095 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.el_size | 16 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.elements | 128 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.len | 2048 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_ctxt | 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->mhi_event->db_cfg.db_mode | 0-1 |
| PARAM_VALUE | 0 | mhi_cntrl->pending_pkts.counter | 0 |
| 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->list.prev->prev | 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->rddm_image | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->st_worker.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | mhi_cntrl->timeout_ms | 90000 |
| PARAM_VALUE | 0 | mhi_cntrl->transition_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->transition_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->transition_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_chan->tre_ring.db_addr | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->base | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->pre_aligned | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->rp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->wp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->base | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->pre_aligned | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->rp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->wp | (-4611686018427387904)-4611686018427387903 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ab->core_lock | ||
| HALF_LOCKED2 | &ag->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireless/ath/ath11k/mhi.c ath11k_mhi_start() -> mhi_sync_power_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->bhi | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->bhie | 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->available_count | 0-s64max |
| 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->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | mhi_cntrl->dev_wake.counter | 0 |
| PARAM_VALUE | 0 | mhi_cntrl->max_chan | 0-s32max |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_chan->ch_state | 0-4294967295 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.alloc_size | 4095 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.el_size | 16 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.elements | 128 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_cmd->ring.len | 2048 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_ctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_event->db_cfg.db_mode | 1 |
| PARAM_VALUE | 0 | mhi_cntrl->mhi_event->ring.el_size | 16 |
| PARAM_VALUE | 0 | mhi_cntrl->pending_pkts.counter | 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->rddm_image | 4096-ptr_max |
| PARAM_VALUE | 0 | mhi_cntrl->reg_len | 1-u64max |
| PARAM_VALUE | 0 | mhi_cntrl->timeout_ms | 20000 |
| PARAM_VALUE | 0 | mhi_cntrl->total_ev_rings | 0-s32max |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_chan->tre_ring.db_addr | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->base | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->pre_aligned | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->rp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_cmd->ring->wp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->base | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->pre_aligned | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->rp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *mhi_cntrl->mhi_event->ring->wp | (-4611686018427387904)-4611686018427387903 |
| CAPPED_DATA | 0 | mhi_cntrl->cntrl_dev->cma_area->nranges | 1 |
| CAPPED_DATA | 0 | mhi_cntrl->max_chan | 1 |
| CAPPED_DATA | 0 | mhi_cntrl->total_ev_rings | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |