Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 17 files:

Smatch caller information:

drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c mxc_isi_crossbar_enum_mbus_code() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 2 stream 0
DATA_SOURCE 0 state $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 pad unit_array_size
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 global &list_lock
HALF_LOCKED2 0 state->lock

drivers/media/pci/intel/ipu6/ipu6-isys-subdev.c ipu6_isys_subdev_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 0 state->lock

drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c ti_csi2rx_sd_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 0
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 0 state->lock

drivers/media/i2c/max96714.c max96714_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 0,2-u32max
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 0 state->lock

drivers/media/platform/cadence/cdns-csi2rx.c csi2rx_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 0
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 0 state->lock

drivers/media/i2c/ds90ub953.c ub953_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 0,2-u32max
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 0 state->lock

drivers/media/platform/raspberrypi/rp1-cfe/csi2.c csi2_pad_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 0
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 0 state->lock

drivers/media/platform/raspberrypi/rp1-cfe/csi2.c csi2_pad_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 1-u32max
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 0 state->lock

drivers/media/platform/ti/cal/cal-camerarx.c cal_camerarx_sd_enum_frame_size() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 1-8
PARAM_VALUE 2 stream 0
DATA_SOURCE 0 state $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
HALF_LOCKED2 0 state->lock

drivers/media/platform/ti/cal/cal-camerarx.c cal_camerarx_sd_enum_mbus_code() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 1-8
PARAM_VALUE 2 stream 0
DATA_SOURCE 0 state $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 pad unit_array_size
HALF_LOCKED2 0 state->lock

drivers/media/platform/ti/cal/cal-camerarx.c cal_camerarx_sd_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 0,9-u32max
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 0 state->lock

drivers/media/i2c/max96717.c max96717_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 0,2-u32max
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 0 state->lock

drivers/media/i2c/ds90ub913.c ub913_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 0,2-u32max
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 0 state->lock

drivers/staging/media/ipu7/ipu7-isys-subdev.c ipu7_isys_subdev_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 0 state->lock

drivers/media/platform/synopsys/dw-mipi-csi2rx.c dw_mipi_csi2rx_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 0,2-u32max
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 0 state->lock

drivers/media/platform/rockchip/rkcif/rkcif-interface.c rkcif_interface_get_sel() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 1
PARAM_VALUE 2 stream 0
DATA_SOURCE 0 state $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 pad unit_array_size

drivers/media/platform/rockchip/rkcif/rkcif-interface.c rkcif_interface_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 0,2-u32max
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 0 state->lock

drivers/media/platform/rockchip/rkcif/rkcif-interface.c rkcif_interface_set_sel() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 1
PARAM_VALUE 2 stream 0
DATA_SOURCE 0 state $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 pad unit_array_size
HALF_LOCKED2 &video->mutex

drivers/media/i2c/ds90ub960.c ub960_set_fmt() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 0-254
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state (-1),208
BUF_SIZE 0 state->lock (-1),152
BUF_SIZE 0 state->pads (-1),88-5767080
BUF_SIZE 0 state->sd s32min-(-1),1-s32max
CAPPED_DATA 1 pad 1
DATA_SOURCE 0 state $1
STR_LEN 0 state->sd (-1),15-17,26-27,31-44
STR_LEN 0 state->sd->entity.name (-1),7
STR_LEN 0 state->sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->sd->entity.num_pads
UNITS 1 pad unit_array_size
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 0 state->lock

drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c ipu6_isys_csi2_get_sel() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 0-u16max
PARAM_VALUE 2 stream 0
CAPPED_DATA 1 pad 1
DATA_SOURCE 0 state $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 pad unit_array_size
HALF_LOCKED2 global &list_lock
HALF_LOCKED2 0 state->lock

drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c ipu6_isys_csi2_set_sel() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 1-u16max
PARAM_VALUE 2 stream 0
DATA_SOURCE 0 state $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 pad unit_array_size
HALF_LOCKED2 &video->mutex

drivers/staging/media/ipu7/ipu7-isys-csi2.c ipu7_isys_csi2_get_sel() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 0-u16max
PARAM_VALUE 2 stream 0
CAPPED_DATA 1 pad 1
DATA_SOURCE 0 state $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 pad unit_array_size
HALF_LOCKED2 global &list_lock
HALF_LOCKED2 0 state->lock

drivers/staging/media/ipu7/ipu7-isys-csi2.c ipu7_isys_csi2_set_sel() -> v4l2_subdev_state_get_opposite_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 state 0,4096-ptr_max
PARAM_VALUE 1 pad 1-u16max
PARAM_VALUE 2 stream 0
DATA_SOURCE 0 state $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 pad unit_array_size
HALF_LOCKED2 &video->mutex