Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/qcom/venus/venc.c frame_height_max() -> cap_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| CAPPED_DATA | 0 | inst->core->codecs_count | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| USER_DATA | 0 | inst->colorspace | 0-u32max[u] |
| USER_DATA | 0 | inst->out_height | 0-u32max |
| USER_DATA | 0 | inst->out_width | 0-u32max |
| USER_DATA | 0 | inst->quantization | 0-255[u] |
| USER_DATA | 0 | inst->xfer_func | 0-255[u] |
| USER_DATA | 0 | inst->ycbcr_enc | 0-255[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/qcom/venus/venc.c frame_width_max() -> cap_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| USER_DATA | 0 | inst->colorspace | 0-u32max[u] |
| USER_DATA | 0 | inst->out_height | 0-u32max |
| USER_DATA | 0 | inst->out_width | 0-u32max |
| USER_DATA | 0 | inst->quantization | 0-255[u] |
| USER_DATA | 0 | inst->xfer_func | 0-255[u] |
| USER_DATA | 0 | inst->ycbcr_enc | 0-255[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/qcom/venus/venc.c frate_max() -> cap_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 5 |
| CAPPED_DATA | 0 | inst->core->codecs_count | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/qcom/venus/pm_helpers.c core_num_max() -> cap_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 43 |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | inst | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| STR_LEN | 0 | inst | (-1) |
| STR_LEN | 0 | inst | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct venus_inst)->lock |
drivers/media/platform/qcom/venus/vdec.c frame_height_max() -> cap_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| CAPPED_DATA | 0 | inst->core->codecs_count | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inst->colorspace | 0-u32max[u] |
| USER_DATA | 0 | inst->out_height | 0-u32max |
| USER_DATA | 0 | inst->out_width | 0-u32max |
| USER_DATA | 0 | inst->quantization | 0-255[u] |
| USER_DATA | 0 | inst->xfer_func | 0-255[u] |
| USER_DATA | 0 | inst->ycbcr_enc | 0-255[u] |
| HALF_LOCKED2 | 0 | &inst->lock |
drivers/media/platform/qcom/venus/vdec.c frame_width_max() -> cap_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| CAPPED_DATA | 0 | inst->core->codecs_count | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inst->colorspace | 0-u32max[u] |
| USER_DATA | 0 | inst->out_height | 0-u32max |
| USER_DATA | 0 | inst->out_width | 0-u32max |
| USER_DATA | 0 | inst->quantization | 0-255[u] |
| USER_DATA | 0 | inst->xfer_func | 0-255[u] |
| USER_DATA | 0 | inst->ycbcr_enc | 0-255[u] |
| HALF_LOCKED2 | 0 | &inst->lock |
drivers/media/platform/qcom/venus/helpers.c mbs_per_frame_max() -> cap_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->session_type | 2 |
| PARAM_VALUE | 1 | type | 3 |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | inst | $0 |
| STR_LEN | 0 | inst | (-1) |
| STR_LEN | 0 | inst | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &inst->lock |