Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/bus/mhi/host/main.c mhi_irq_handler() -> mhi_to_virtual()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0-18446744073709551614 |
| BUF_SIZE | 0 | ring | 96 |
| CAPPED_DATA | 0 | ring->iommu_base | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| PARAM_COMPARE | 0 | ring->iommu_base | <= $1 |
| PARAM_COMPARE | 1 | addr | >= $0->iommu_base |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/bus/mhi/host/main.c mhi_mark_stale_events() -> mhi_to_virtual()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0-18446744073709551614 |
| BUF_SIZE | 0 | ring | 96 |
| CAPPED_DATA | 0 | ring->iommu_base | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| PARAM_COMPARE | 0 | ring->iommu_base | <= $1 |
| PARAM_COMPARE | 1 | addr | >= $0->iommu_base |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| LOCK2 | &mhi_chan->mutex | ||
| LOCK2 | &mhi_cntrl->pm_lock | ||
| LOCK2 | &mhi_event->lock | ||
| LOCK2 | bh | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct mhi_chan)->mutex | ||
| TYPE_LOCK | (struct mhi_controller)->pm_lock | ||
| TYPE_LOCK | (struct mhi_event)->lock |
drivers/bus/mhi/host/main.c mhi_process_cmd_completion() -> mhi_to_virtual()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0-18446744073709551614 |
| BUF_SIZE | 0 | ring | 96 |
| CAPPED_DATA | 0 | ring->iommu_base | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| PARAM_COMPARE | 0 | ring->iommu_base | <= $1 |
| PARAM_COMPARE | 1 | addr | >= $0->iommu_base |
| HALF_LOCKED2 | &mhi_event->lock | ||
| HALF_LOCKED2 | bh |
drivers/bus/mhi/host/main.c mhi_process_ctrl_ev_ring() -> mhi_to_virtual()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0-18446744073709551614 |
| BUF_SIZE | 0 | ring | 96 |
| CAPPED_DATA | 0 | ring->iommu_base | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| PARAM_COMPARE | 0 | ring->iommu_base | <= $1 |
| PARAM_COMPARE | 1 | addr | >= $0->iommu_base |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | &mhi_event->lock | ||
| HALF_LOCKED2 | bh |
drivers/bus/mhi/host/main.c mhi_process_ctrl_ev_ring() -> mhi_to_virtual()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->iommu_base | 0-18446744073709551614 |
| PARAM_VALUE | 1 | addr | 0-18446744073709551614 |
| BUF_SIZE | 0 | ring | 96 |
| CAPPED_DATA | 0 | ring->iommu_base | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| PARAM_COMPARE | 0 | ring->iommu_base | <= $1 |
| PARAM_COMPARE | 1 | addr | >= $0->iommu_base |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | &mhi_event->lock | ||
| HALF_LOCKED2 | bh |
drivers/bus/mhi/host/main.c mhi_process_data_event_ring() -> mhi_to_virtual()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0-18446744073709551614 |
| BUF_SIZE | 0 | ring | 96 |
| CAPPED_DATA | 0 | ring->iommu_base | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| PARAM_COMPARE | 0 | ring->iommu_base | <= $1 |
| PARAM_COMPARE | 1 | addr | >= $0->iommu_base |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | &mhi_event->lock | ||
| HALF_LOCKED2 | bh |
drivers/bus/mhi/host/main.c mhi_process_data_event_ring() -> mhi_to_virtual()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->iommu_base | 0-18446744073709551614 |
| PARAM_VALUE | 1 | addr | 0-18446744073709551614 |
| BUF_SIZE | 0 | ring | 96 |
| CAPPED_DATA | 0 | ring->iommu_base | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| PARAM_COMPARE | 0 | ring->iommu_base | <= $1 |
| PARAM_COMPARE | 1 | addr | >= $0->iommu_base |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | &mhi_event->lock | ||
| HALF_LOCKED2 | bh |
drivers/bus/mhi/host/main.c parse_xfer_event() -> mhi_to_virtual()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0-18446744073709551614 |
| BUF_SIZE | 0 | ring | 96 |
| CAPPED_DATA | 0 | ring->iommu_base | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| PARAM_COMPARE | 1 | addr | >= $0->iommu_base |
| PARAM_COMPARE | 1 | addr | >= $0->iommu_base |
| LOCK2 | &mhi_chan->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &mhi_event->lock | ||
| TYPE_LOCK | (struct mhi_chan)->lock |