Documented in 1 files:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/media/i2c/cvs/core.c cvs_read_i2c() -> cvs_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i2c_client | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx->req | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ctx->resp | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ctx->rst | s32min,(-1)-s32max |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ctx->i2c_client->irq | |
| UNITS | 0 | ctx | unit_byte |
drivers/media/i2c/cvs/core.c cvs_recv() -> cvs_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/media/i2c/cvs/core.c cvs_recv() -> cvs_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/media/i2c/cvs/core.c cvs_send() -> cvs_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx->req | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ctx->resp | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ctx->rst | s32min,(-1)-s32max |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ctx->i2c_client->irq | |
| UNITS | 0 | ctx | unit_byte |
| LOCK2 | _T->lock |
drivers/media/i2c/cvs/core.c cvs_set_quirks() -> cvs_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i2c_client | 1-u64max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx->req | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ctx->resp | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ctx->rst | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | ctx->i2c_client->adapter->retries | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ctx->i2c_client->irq | |
| UNITS | 0 | ctx | unit_byte |
drivers/media/i2c/cvs/core.c cvs_set_quirks() -> cvs_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i2c_client | 1-u64max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx->req | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ctx->resp | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ctx->rst | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | ctx->i2c_client->adapter->retries | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ctx->i2c_client->irq | |
| UNITS | 0 | ctx | unit_byte |
drivers/media/i2c/cvs/core.c cvs_write_i2c() -> cvs_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i2c_client | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx->req | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ctx->resp | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ctx->rst | s32min,(-1)-s32max |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ctx->i2c_client->irq | |
| UNITS | 0 | ctx | unit_byte |
| LOCK2 | _T->lock |
drivers/media/i2c/cvs/v4l2.c cvs_csi_disable_streams() -> cvs_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | r sd_to_csi |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &av->isys->stream_mutex | ||
| HALF_LOCKED2 | &stream->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sd->active_state->lock |
drivers/media/i2c/cvs/v4l2.c cvs_csi_enable_streams() -> cvs_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | r sd_to_csi |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &stream->isys->stream_mutex | ||
| HALF_LOCKED2 | &stream->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sd->active_state->lock |
drivers/media/i2c/cvs/v4l2.c cvs_csi_parse_firmware() -> cvs_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->i2c_client | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->subdev.dev | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 1736 |
| BUF_SIZE | 0 | ctx->req | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ctx->resp | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ctx->rst | s32min,(-1)-s32max |
| BUF_SIZE | 0 | ctx->subdev.entity.ops | 32 |
| BUF_SIZE | 0 | ctx->subdev.internal_ops | 48 |
| CAPPED_DATA | 0 | ctx->req | 1 |
| CAPPED_DATA | 0 | ctx->resp | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| STR_LEN | 0 | ctx->subdev.name | 51 |
| TERMINATED | 0 | ctx->subdev.entity.name | 1 |
| TERMINATED | 0 | ctx->subdev.name | 1 |
| MEM_ZERO | 0 | ctx | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ctx->i2c_client->irq |