Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/media/platform/qcom/venus/venc.c venc_enum_frameintervals() -> frame_width_max()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
DATA_SOURCE 0 inst r to_inst
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/qcom/venus/venc.c venc_enum_framesizes() -> frame_width_max()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->core 4096-ptr_max
CAPPED_DATA 0 inst->core->codecs_count 1
DATA_SOURCE 0 inst r to_inst
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/qcom/venus/venc.c venc_try_fmt_common() -> frame_width_max()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->core 4096-ptr_max
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/vdec.c vdec_enum_framesizes() -> frame_width_max()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->core 4096-ptr_max
CAPPED_DATA 0 inst->core->codecs_count 1
DATA_SOURCE 0 inst r to_inst
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/qcom/venus/vdec.c vdec_try_fmt_common() -> frame_width_max()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->core 4096-ptr_max
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