Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/platform/cadence/cdns-csi2tx.c csi2tx_get_pad_format() -> __csi2tx_get_pad_format()

Type Parameter Key Value
PARAM_VALUE 0 subdev 4096-ptr_max
PARAM_VALUE 0 subdev->ops 4096-ptr_max
PARAM_VALUE 0 subdev->ops->pad 4096-ptr_max
PARAM_VALUE 1 sd_state 0,4096-ptr_max
PARAM_VALUE 2 fmt 4096-ptr_max
PARAM_VALUE 2 fmt->pad 1-u32max
BUF_SIZE 0 subdev s32min-(-1),1-s32max
BUF_SIZE 0 subdev s32min-(-1),1-s32max
BUF_SIZE 2 fmt (-1),128-16383
BUF_SIZE 2 fmt (-1),128-16383
DATA_SOURCE 0 subdev $0
DATA_SOURCE 1 sd_state $1
DATA_SOURCE 2 fmt $2
STR_LEN 0 subdev (-1),15-17,26-27,31-44
STR_LEN 0 subdev (-1),15-17,26-27,31-44
STR_LEN 0 subdev->entity.name (-1),7
STR_LEN 0 subdev->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 subdev->entity.num_pads
NO_OVERFLOW_SIMPLE 2 fmt->pad
USER_PTR 2 fmt
HALF_LOCKED2 &video->mutex
HALF_LOCKED2 &video->stream_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 sd_state->lock
HALF_LOCKED2 0 subdev->active_state->lock
HALF_LOCKED2 1 sd_state->lock

drivers/media/platform/cadence/cdns-csi2tx.c csi2tx_set_pad_format() -> __csi2tx_get_pad_format()

Type Parameter Key Value
PARAM_VALUE 0 subdev 4096-ptr_max
PARAM_VALUE 0 subdev->ops 4096-ptr_max
PARAM_VALUE 0 subdev->ops->pad 4096-ptr_max
PARAM_VALUE 1 sd_state 0,4096-ptr_max
PARAM_VALUE 2 fmt 4096-ptr_max
PARAM_VALUE 2 fmt->format.code 4106,8207
PARAM_VALUE 2 fmt->pad 1-u32max
BUF_SIZE 0 subdev s32min-(-1),1-s32max
BUF_SIZE 0 subdev s32min-(-1),1-s32max
BUF_SIZE 1 sd_state (-1),208
BUF_SIZE 1 sd_state (-1),208
BUF_SIZE 1 sd_state->lock (-1),152
BUF_SIZE 1 sd_state->pads (-1),88-5767080
BUF_SIZE 1 sd_state->sd s32min-(-1),1-s32max
BUF_SIZE 2 fmt (-1),128-16383
BUF_SIZE 2 fmt (-1),128-16383
CAPPED_DATA 2 fmt->format.code 1
DATA_SOURCE 0 subdev $0
DATA_SOURCE 1 sd_state $1
DATA_SOURCE 2 fmt $2
STR_LEN 0 subdev (-1),15-17,26-27,31-44
STR_LEN 0 subdev (-1),15-17,26-27,31-44
STR_LEN 0 subdev->entity.name (-1),7
STR_LEN 0 subdev->name (-1),51
STR_LEN 1 sd_state->sd (-1),15-17,26-27,31-44
STR_LEN 1 sd_state->sd->entity.name (-1),7
STR_LEN 1 sd_state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 fmt->format.colorspace 0-u32max[u]
USER_DATA 2 fmt->format.field 0-u32max[u]
USER_DATA 2 fmt->format.height 0-u32max
USER_DATA 2 fmt->format.quantization 0-u16max[u]
USER_DATA 2 fmt->format.width 0-u32max
USER_DATA 2 fmt->format.xfer_func 0-u16max[u]
USER_DATA 2 fmt->format.ycbcr_enc 0-u16max[u]
NO_OVERFLOW_SIMPLE 0 subdev->entity.num_pads
NO_OVERFLOW_SIMPLE 1 sd_state->sd->entity.num_pads
USER_PTR 2 fmt
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 0 subdev->active_state->lock
HALF_LOCKED2 1 sd_state->lock