Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/bus/mhi/host/main.c mhi_process_cmd_completion() -> mhi_del_ring_element()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| BUF_SIZE | 1 | ring | 96 |
| CAPPED_DATA | 0 | mhi_cntrl->max_chan | 1 |
| CAPPED_DATA | 1 | ring->iommu_base | 1 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mhi_event->lock |
drivers/bus/mhi/host/main.c mhi_reset_data_chan() -> mhi_del_ring_element()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->rp | 4096-ptr_max |
| BUF_SIZE | 1 | ring | 96 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mhi_cntrl | unit_byte |
| LOCK2 | &mhi_chan->mutex | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &mhi_cntrl->pm_lock | |
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct mhi_chan)->mutex | ||
| TYPE_LOCK | (struct mhi_controller)->pm_lock |
drivers/bus/mhi/host/main.c mhi_reset_data_chan() -> mhi_del_ring_element()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| BUF_SIZE | 1 | ring | 96 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| PARAM_COMPARE | 1 | ring->rp | != $1->wp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mhi_cntrl | unit_byte |
| LOCK2 | &mhi_chan->mutex | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &mhi_cntrl->pm_lock | |
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct mhi_chan)->mutex | ||
| TYPE_LOCK | (struct mhi_controller)->pm_lock |
drivers/bus/mhi/host/main.c parse_rsc_event() -> mhi_del_ring_element()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| BUF_SIZE | 1 | ring | 96 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &mhi_chan->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &mhi_event->lock | ||
| TYPE_LOCK | (struct mhi_chan)->lock |
drivers/bus/mhi/host/main.c parse_xfer_event() -> mhi_del_ring_element()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->rp | 4096-ptr_max |
| BUF_SIZE | 1 | ring | 96 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &mhi_chan->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &mhi_event->lock | ||
| TYPE_LOCK | (struct mhi_chan)->lock |
drivers/bus/mhi/host/main.c parse_xfer_event() -> mhi_del_ring_element()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mhi_cntrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| BUF_SIZE | 1 | ring | 96 |
| CAPPED_DATA | 1 | ring->iommu_base | 1 |
| DATA_SOURCE | 0 | mhi_cntrl | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &mhi_chan->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &mhi_event->lock | ||
| TYPE_LOCK | (struct mhi_chan)->lock |