Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c wave5_vpu_enc_start_streaming() -> wave5_vpu_enc_give_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.initial_info_obtained | 0 |
| PARAM_VALUE | 1 | cmd | 1 |
| PARAM_VALUE | 2 | parameter | 0 |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | inst->codec_info->enc_info.open_param.frame_rate_info | 1 |
| CAPPED_DATA | 0 | inst->src_fmt.pixelformat | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | inst->codec_info->enc_info.product_code | 0-u32max |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c wave5_vpu_enc_start_streaming() -> wave5_vpu_enc_give_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.initial_info_obtained | 0 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.mirror_direction | 0-3 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.mirror_enable | 1 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.rotation_angle | 0,90,180,270 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.rotation_enable | 1 |
| PARAM_VALUE | 1 | cmd | 2 |
| PARAM_VALUE | 2 | parameter | 4096-ptr_max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | parameter | 4 |
| CAPPED_DATA | 0 | inst->codec_info->enc_info.open_param.frame_rate_info | 1 |
| CAPPED_DATA | 0 | inst->src_fmt.pixelformat | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | inst->codec_info->enc_info.product_code | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_rd_ptr | 0 |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_wr_ptr | 0 |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c wave5_vpu_enc_start_streaming() -> wave5_vpu_enc_give_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.initial_info_obtained | 0 |
| PARAM_VALUE | 1 | cmd | 0 |
| PARAM_VALUE | 2 | parameter | 0 |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | inst->codec_info->enc_info.open_param.frame_rate_info | 1 |
| CAPPED_DATA | 0 | inst->src_fmt.pixelformat | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | inst->codec_info->enc_info.product_code | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_rd_ptr | 0 |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_wr_ptr | 0 |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c wave5_vpu_enc_start_streaming() -> wave5_vpu_enc_give_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.initial_info_obtained | 0 |
| PARAM_VALUE | 1 | cmd | 3 |
| PARAM_VALUE | 2 | parameter | 4096-ptr_max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | parameter | 4 |
| CAPPED_DATA | 0 | inst->codec_info->enc_info.open_param.frame_rate_info | 1 |
| CAPPED_DATA | 0 | inst->src_fmt.pixelformat | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | inst->codec_info->enc_info.product_code | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_rd_ptr | 0 |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_wr_ptr | 0 |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c wave5_vpu_enc_stop_streaming() -> wave5_vpu_enc_give_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 5 |
| PARAM_VALUE | 2 | parameter | 6067340154789285888 |
| BUF_SIZE | 0 | inst | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | inst | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 2 | parameter | 8 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_rd_ptr | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_wr_ptr | 0-u32max |
| HOST_DATA | 0 | inst->dev->last_performance_cycles | 0-u32max |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | &q->mmap_lock |