Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/i2c/busses/i2c-tegra.c tegra_i2c_error_recover() -> tegra_i2c_init()
| 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->iommu->attach_deferred | 0-1 |
| 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->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | i2c_dev->dma_dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c_dev->dma_mode | 0 |
| 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->tx_fifo | 80,84 |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->msg_err | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | i2c_dev->msg_len | 0-u16max,u32max |
| PARAM_VALUE | 0 | *i2c_dev->dma_buf | 0-1073741823 |
| 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 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *i2c_dev->msg_buf | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | i2c_dev->div_clk->core->parent->req_rate | |
| UNITS | 0 | i2c_dev | unit_byte |
drivers/i2c/busses/i2c-tegra.c tegra_i2c_init_hardware() -> tegra_i2c_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i2c_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->base | 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->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dev->power.last_status | (-1) |
| 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_buf | 0-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dma_chan | 0,4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.done | 0 |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dma_dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->irq | 1-s32max |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.done | 0 |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->nclocks | 0-1 |
| PARAM_VALUE | 0 | *i2c_dev->dev->p->deferred_probe_reason | 0-255 |
| BUF_SIZE | 0 | i2c_dev | 2720 |
| BUF_SIZE | 0 | i2c_dev->dev | 1616 |
| DATA_SOURCE | 0 | i2c_dev | $0 |
| FUZZY_MAX | 0 | i2c_dev->nclocks | 0 |
| MEM_ZERO | 0 | i2c_dev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/i2c/busses/i2c-tegra.c tegra_i2c_resume_noirq() -> tegra_i2c_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
drivers/i2c/busses/i2c-tegra.c tegra_i2c_xfer_msg() -> tegra_i2c_init()
| 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->completed_cookie | 1 |
| PARAM_VALUE | 0 | i2c_dev->dma_chan->cookie | 1 |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.done | 0 |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->dma_complete.wait.task_list.prev->next->next | 4096-ptr_max |
| 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_len | 0-u16max,u32max |
| PARAM_VALUE | 0 | *i2c_dev->dma_buf | 0-1073741823 |
| BUF_SIZE | 0 | i2c_dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | i2c_dev | s32min-(-2),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 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *i2c_dev->msg_buf | 0-255 |
| UNITS | 0 | i2c_dev | unit_byte |
drivers/i2c/busses/i2c-tegra.c tegra_i2c_xfer_msg() -> tegra_i2c_init()
| 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_complete.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->msg_complete.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_dev->msg_len | 0-u16max,u32max |
| PARAM_VALUE | 0 | *i2c_dev->dma_buf | 0-1073741823 |
| BUF_SIZE | 0 | i2c_dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | i2c_dev | s32min-(-2),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 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *i2c_dev->msg_buf | 0-255 |
| UNITS | 0 | i2c_dev | unit_byte |