Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/i2c/busses/i2c-amd-mp2-plat.c, line 49
- drivers/i2c/busses/i2c-at91-master.c, line 707
- drivers/i2c/busses/i2c-imx-lpi2c.c, line 1044
- drivers/i2c/busses/i2c-mt65xx.c
- drivers/i2c/busses/i2c-mxs.c, line 599
- drivers/i2c/busses/i2c-qcom-geni.c
- drivers/i2c/busses/i2c-sh_mobile.c, line 584
- drivers/i2c/busses/i2c-stm32f7.c, line 928
- drivers/i2c/busses/i2c-virtio.c, line 85
- drivers/i2c/i2c-core-base.c, line 2692
Smatch caller information:
drivers/i2c/busses/i2c-qcom-geni.c geni_i2c_gpi() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | threshold | 1 |
drivers/i2c/busses/i2c-qcom-geni.c geni_i2c_rx_one_msg() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->flags | 1-u16max |
| PARAM_VALUE | 1 | threshold | 32 |
| DATA_SOURCE | 0 | msg | $1 |
| RX_PATH |
drivers/i2c/busses/i2c-qcom-geni.c geni_i2c_tx_one_msg() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | threshold | 32 |
| DATA_SOURCE | 0 | msg | $1 |
drivers/i2c/busses/i2c-at91-master.c at91_twi_xfer() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | threshold | 1 |
drivers/i2c/busses/i2c-amd-mp2-plat.c i2c_amd_dma_map() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | threshold | 0 |
| HALF_LOCKED2 | &i2c_dev->common.mp2_dev->c2p_lock |
drivers/i2c/busses/i2c-mt65xx.c mtk_i2c_do_transfer() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->buf | 1-u64max |
| PARAM_VALUE | 1 | threshold | 1 |
| DATA_SOURCE | 0 | msg | $1 |
drivers/i2c/busses/i2c-mt65xx.c mtk_i2c_do_transfer() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->buf | 1-u64max |
| PARAM_VALUE | 1 | threshold | 1 |
| DATA_SOURCE | 0 | msg | $1 |
drivers/i2c/busses/i2c-mt65xx.c mtk_i2c_do_transfer() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->buf | 1-u64max |
| PARAM_VALUE | 1 | threshold | 1 |
| DATA_SOURCE | 0 | msg | $1 |
drivers/i2c/busses/i2c-mt65xx.c mtk_i2c_do_transfer() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | threshold | 1 |
drivers/i2c/busses/i2c-mxs.c mxs_i2c_xfer_msg() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->flags | 1-u16max |
| PARAM_VALUE | 0 | msg->len | 5-u16max |
| PARAM_VALUE | 1 | threshold | 1 |
| DATA_SOURCE | 0 | msg | $1 |
| FUZZY_MAX | 0 | msg->len | 5 |
drivers/i2c/busses/i2c-sh_mobile.c start_ch() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | threshold | 8 |
| DATA_SOURCE | 0 | msg | $1 |
drivers/i2c/busses/i2c-stm32f7.c stm32f7_i2c_xfer_msg() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | threshold | 22 |
| DATA_SOURCE | 0 | msg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/i2c/busses/i2c-virtio.c virtio_i2c_prepare_reqs() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->len | 1-u16max |
| PARAM_VALUE | 1 | threshold | 1 |
drivers/i2c/busses/i2c-imx-lpi2c.c lpi2c_imx_dma_xfer() -> i2c_get_dma_safe_msg_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | threshold | 8 |
| DATA_SOURCE | 0 | msg | $1 |