Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/i2c/busses/i2c-tegra.c tegra_i2c_issue_bus_clear() -> tegra_i2c_wait_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i2c_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->hw->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.done | 0 |
| PARAM_VALUE | 1 | complete | 4096-ptr_max |
| PARAM_VALUE | 1 | complete->done | 0 |
| PARAM_VALUE | 2 | timeout_ms | 50 |
| BUF_SIZE | 0 | i2c_dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | i2c_dev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | i2c_dev | unit_byte |
| HALF_LOCKED2 | &ctrl->lock | ||
| HALF_LOCKED2 | &drv_data->lock |
drivers/i2c/busses/i2c-tegra.c tegra_i2c_xfer_msg() -> tegra_i2c_wait_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i2c_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | i2c_dev->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | i2c_dev->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | i2c_dev->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dma_chan | 0 |
| PARAM_VALUE | 0 | i2c_dev->dma_chan->device | 0 |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.done | 0 |
| PARAM_VALUE | 0 | i2c_dev->dma_dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c_dev->dma_mode | 1 |
| PARAM_VALUE | 0 | i2c_dev->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->hw->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->hw->regs->fifo_control | 92,96 |
| PARAM_VALUE | 0 | i2c_dev->hw->regs->mst_fifo_control | 180,184 |
| PARAM_VALUE | 0 | i2c_dev->hw->regs->rx_fifo | 84,88 |
| PARAM_VALUE | 0 | i2c_dev->hw->regs->sw_mutex | 0,236,240 |
| PARAM_VALUE | 0 | i2c_dev->hw->regs->tx_fifo | 80,84 |
| PARAM_VALUE | 0 | i2c_dev->msg_buf_remaining | 0-u16max,u32max |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.done | 0 |
| PARAM_VALUE | 0 | i2c_dev->msg_err | 0 |
| PARAM_VALUE | 0 | i2c_dev->msg_len | 0-u16max,u32max |
| PARAM_VALUE | 0 | *i2c_dev->dma_buf | 0-1073741823 |
| PARAM_VALUE | 1 | complete | 4096-ptr_max |
| PARAM_VALUE | 1 | complete->done | 0 |
| BUF_SIZE | 0 | i2c_dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | i2c_dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | i2c_dev->msg_buf | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | i2c_dev->hw->regs->tx_fifo | 1 |
| DATA_SOURCE | 0 | i2c_dev | $0 |
| FUZZY_MAX | 0 | i2c_dev->msg_len | 1 |
| UNITS | 0 | i2c_dev | unit_byte |
drivers/i2c/busses/i2c-tegra.c tegra_i2c_xfer_msg() -> tegra_i2c_wait_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i2c_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | i2c_dev->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | i2c_dev->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | i2c_dev->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dma_chan | 0 |
| PARAM_VALUE | 0 | i2c_dev->dma_chan->completed_cookie | 1 |
| PARAM_VALUE | 0 | i2c_dev->dma_chan->cookie | 1 |
| PARAM_VALUE | 0 | i2c_dev->dma_dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c_dev->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->hw->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->hw->regs->fifo_control | 92,96 |
| PARAM_VALUE | 0 | i2c_dev->hw->regs->mst_fifo_control | 180,184 |
| PARAM_VALUE | 0 | i2c_dev->hw->regs->rx_fifo | 84,88 |
| PARAM_VALUE | 0 | i2c_dev->hw->regs->sw_mutex | 0,236,240 |
| PARAM_VALUE | 0 | i2c_dev->hw->regs->tx_fifo | 80,84 |
| PARAM_VALUE | 0 | i2c_dev->msg_len | 0-u16max,u32max |
| PARAM_VALUE | 0 | *i2c_dev->dma_buf | 0-1073741823 |
| PARAM_VALUE | 1 | complete | 4096-ptr_max |
| BUF_SIZE | 0 | i2c_dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | i2c_dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | i2c_dev->msg_buf | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | i2c_dev->hw->regs->tx_fifo | 1 |
| DATA_SOURCE | 0 | i2c_dev | $0 |
| FUZZY_MAX | 0 | i2c_dev->msg_len | 1 |
| HOST_DATA | 0 | *i2c_dev->msg_buf | 0-255 |
| UNITS | 0 | i2c_dev | unit_byte |