Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/media/pci/intel/ipu6/ipu6-isys-subdev.c, line 212
- drivers/media/pci/intel/ipu6/ipu6-isys-video.c, line 1007
- drivers/media/platform/broadcom/bcm2835-unicam.c
- drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c, line 327
- drivers/media/platform/raspberrypi/rp1-cfe/cfe.c, line 814
- drivers/media/platform/rockchip/rkcif/rkcif-interface.c, line 60
- drivers/media/platform/ti/cal/cal-camerarx.c
- drivers/media/v4l2-core/v4l2-subdev.c
- drivers/staging/media/ipu7/ipu7-isys-csi2.c
- drivers/staging/media/ipu7/ipu7-isys-subdev.c, line 151
Smatch caller information:
drivers/media/platform/broadcom/bcm2835-unicam.c unicam_get_image_vc_dt() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 1 | pad | 1 |
| PARAM_VALUE | 2 | stream | 0 |
| PARAM_VALUE | 3 | other_pad | 0 |
| PARAM_VALUE | 4 | other_stream | 6447023213546196992 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &stream->isys->stream_mutex | ||
| HALF_LOCKED2 | &stream->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sd->active_state->lock |
drivers/media/platform/broadcom/bcm2835-unicam.c unicam_sd_disable_streams() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 1 | pad | 0-63 |
| PARAM_VALUE | 2 | stream | 0 |
| PARAM_VALUE | 3 | other_pad | 3185246058427482112 |
| PARAM_VALUE | 4 | other_stream | 2333652642102665216 |
| CAPPED_DATA | 1 | pad | 1 |
| DATA_SOURCE | 1 | pad | $2 |
| CONSTRAINT | 1 | pad | <1989 |
| HARD_MAX | 1 | pad | 63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &av->isys->stream_mutex | ||
| HALF_LOCKED2 | &stream->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sd->active_state->lock |
drivers/media/platform/broadcom/bcm2835-unicam.c unicam_sd_enable_streams() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 1 | pad | 0-63 |
| PARAM_VALUE | 2 | stream | 0 |
| PARAM_VALUE | 3 | other_pad | 3204574881328103424 |
| PARAM_VALUE | 4 | other_stream | 5819566348887040000 |
| CAPPED_DATA | 1 | pad | 1 |
| DATA_SOURCE | 1 | pad | $2 |
| CONSTRAINT | 1 | pad | <1989 |
| HARD_MAX | 1 | pad | 63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &stream->isys->stream_mutex | ||
| HALF_LOCKED2 | &stream->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sd->active_state->lock |
drivers/media/platform/broadcom/bcm2835-unicam.c unicam_subdev_enum_frame_size() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 2 | stream | 0 |
| PARAM_VALUE | 3 | other_pad | 2245775599262982144 |
| PARAM_VALUE | 4 | other_stream | 7094143792031539200 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &list_lock |
drivers/media/platform/broadcom/bcm2835-unicam.c unicam_subdev_enum_mbus_code() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 2 | stream | 0 |
| PARAM_VALUE | 3 | other_pad | 3066228365268815872 |
| PARAM_VALUE | 4 | other_stream | 874782492029882368 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pad | unit_array_size |
| HALF_LOCKED2 | &pcdev->mlock | ||
| HALF_LOCKED2 | global &list_lock |
drivers/media/platform/broadcom/bcm2835-unicam.c unicam_subdev_set_format() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 1 | pad | 0 |
| PARAM_VALUE | 3 | other_pad | 9178817269880299520 |
| PARAM_VALUE | 4 | other_stream | 2791435360392679424 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | state->lock |
drivers/media/pci/intel/ipu6/ipu6-isys-subdev.c ipu6_isys_subdev_set_fmt() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 4096-ptr_max |
| PARAM_VALUE | 0 | routing->num_routes | 1-u32max |
| PARAM_VALUE | 3 | other_pad | 6545310085911805952 |
| PARAM_VALUE | 4 | other_stream | 2259997051142537216 |
| CAPPED_DATA | 1 | pad | 1 |
| CAPPED_DATA | 2 | stream | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | state->lock |
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c cfe_get_vc_dt() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 1 | pad | 1-u32max |
| PARAM_VALUE | 2 | stream | 0 |
| PARAM_VALUE | 3 | other_pad | 0 |
| PARAM_VALUE | 4 | other_stream | 8246495293556105216 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | cfe->csi2.sd.active_state->lock | ||
| HALF_LOCKED2 | vq->lock |
drivers/media/v4l2-core/v4l2-subdev.c v4l2_subdev_state_get_opposite_stream_format() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 3 | other_pad | 4700372036056584192 |
| PARAM_VALUE | 4 | other_stream | 594550028498243584 |
| DATA_SOURCE | 1 | pad | $1 |
| DATA_SOURCE | 2 | stream | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pad | unit_array_size |
| HALF_LOCKED2 | state->lock |
drivers/media/platform/ti/cal/cal-camerarx.c cal_camerarx_get_frame_desc() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 2 | stream | 0 |
| PARAM_VALUE | 3 | other_pad | 0 |
| PARAM_VALUE | 4 | other_stream | 438290161978949632 |
| DATA_SOURCE | 1 | pad | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sd->active_state->lock |
drivers/media/platform/ti/cal/cal-camerarx.c cal_camerarx_sd_disable_streams() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 1 | pad | 0-63 |
| PARAM_VALUE | 2 | stream | 0 |
| PARAM_VALUE | 3 | other_pad | 0 |
| PARAM_VALUE | 4 | other_stream | 2466191887281086464 |
| CAPPED_DATA | 1 | pad | 1 |
| DATA_SOURCE | 1 | pad | $2 |
| CONSTRAINT | 1 | pad | <1989 |
| HARD_MAX | 1 | pad | 63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &av->isys->stream_mutex | ||
| HALF_LOCKED2 | &stream->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sd->active_state->lock |
drivers/media/platform/ti/cal/cal-camerarx.c cal_camerarx_sd_enable_streams() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 1 | pad | 0-63 |
| PARAM_VALUE | 2 | stream | 0 |
| PARAM_VALUE | 3 | other_pad | 0 |
| PARAM_VALUE | 4 | other_stream | 6082897880874913792 |
| CAPPED_DATA | 1 | pad | 1 |
| DATA_SOURCE | 1 | pad | $2 |
| CONSTRAINT | 1 | pad | <1989 |
| HARD_MAX | 1 | pad | 63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &stream->isys->stream_mutex | ||
| HALF_LOCKED2 | &stream->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sd->active_state->lock |
drivers/staging/media/ipu7/ipu7-isys-subdev.c ipu7_isys_subdev_set_fmt() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 4096-ptr_max |
| PARAM_VALUE | 0 | routing->num_routes | 1-u32max |
| PARAM_VALUE | 3 | other_pad | 7658261635164925952 |
| PARAM_VALUE | 4 | other_stream | 2092763139735207936 |
| CAPPED_DATA | 1 | pad | 1 |
| CAPPED_DATA | 2 | stream | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | state->lock |
drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c mxc_isi_pipe_enable() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 2 | stream | 0 |
| PARAM_VALUE | 3 | other_pad | 621200545700773888 |
| PARAM_VALUE | 4 | other_stream | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | xbar->sd.active_state->lock |
drivers/media/pci/intel/ipu6/ipu6-isys-video.c ipu6_isys_video_set_streaming() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 3 | other_pad | 871406389926436864 |
| PARAM_VALUE | 4 | other_stream | 3791737396381331456 |
| BUF_SIZE | 0 | routing | 16 |
| DATA_SOURCE | 2 | stream | r ipu6_isys_get_src_stream_by_src_pad |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pad | unit_array_size |
| LOCK2 | &stream->mutex | ||
| HALF_LOCKED2 | &av->isys->stream_mutex | ||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sd->active_state->lock | ||
| TYPE_LOCK | (struct ipu6_isys_stream)->mutex |
drivers/media/platform/rockchip/rkcif/rkcif-interface.c rkcif_interface_set_fmt() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 4096-ptr_max |
| PARAM_VALUE | 0 | routing->num_routes | 1-u32max |
| PARAM_VALUE | 1 | pad | 0,2-u32max |
| PARAM_VALUE | 3 | other_pad | 122136713302855680 |
| PARAM_VALUE | 4 | other_stream | 4068390054675677184 |
| CAPPED_DATA | 1 | pad | 1 |
| CAPPED_DATA | 2 | stream | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | state->lock |
drivers/staging/media/ipu7/ipu7-isys-csi2.c ipu7_isys_csi2_disable_streams() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 1 | pad | 0-63 |
| PARAM_VALUE | 2 | stream | 0-64 |
| PARAM_VALUE | 3 | other_pad | 5441324904596418560 |
| PARAM_VALUE | 4 | other_stream | 5563721178368540672 |
| CAPPED_DATA | 1 | pad | 1 |
| DATA_SOURCE | 1 | pad | $2 |
| CONSTRAINT | 1 | pad | <1989 |
| HARD_MAX | 1 | pad | 63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &av->isys->stream_mutex | ||
| HALF_LOCKED2 | &stream->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sd->active_state->lock |
drivers/staging/media/ipu7/ipu7-isys-csi2.c ipu7_isys_csi2_enable_streams() -> v4l2_subdev_routing_find_opposite_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | routing | 176,4096-ptr_max |
| PARAM_VALUE | 1 | pad | 0-63 |
| PARAM_VALUE | 2 | stream | 0-64 |
| PARAM_VALUE | 3 | other_pad | 5991326813070942208 |
| PARAM_VALUE | 4 | other_stream | 5344327278789459968 |
| CAPPED_DATA | 1 | pad | 1 |
| DATA_SOURCE | 1 | pad | $2 |
| CONSTRAINT | 1 | pad | <1989 |
| HARD_MAX | 1 | pad | 63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &stream->isys->stream_mutex | ||
| HALF_LOCKED2 | &stream->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sd->active_state->lock |