Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 20 files:
- drivers/media/i2c/tc358746.c, line 1052
- drivers/media/pci/intel/ipu3/ipu3-cio2.c, line 1339
- drivers/media/platform/arm/mali-c55/mali-c55-isp.c, line 394
- drivers/media/platform/nxp/imx7-media-csi.c, line 1941
- drivers/media/platform/raspberrypi/pisp_be/pisp_be.c, line 1485
- drivers/media/platform/raspberrypi/rp1-cfe/csi2.c, line 510
- drivers/media/platform/raspberrypi/rp1-cfe/pisp-fe.c, line 511
- drivers/media/platform/renesas/rcar-isp/csisp.c, line 358
- drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c, line 912
- drivers/media/platform/rockchip/rkisp1/rkisp1-resizer.c, line 621
- drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c, line 336
- drivers/media/platform/ti/omap3isp/ispresizer.c, line 1556
- drivers/media/platform/xilinx/xilinx-csi2rxss.c, line 786
- drivers/media/v4l2-core/v4l2-subdev.c
- drivers/staging/media/atomisp/pci/atomisp_csi2.c, line 138
- drivers/staging/media/atomisp/pci/atomisp_subdev.c, line 581
- drivers/staging/media/imx/imx-ic-prp.c, line 299
- drivers/staging/media/imx/imx-media-csi.c, line 1159
- drivers/staging/media/imx/imx-media-vdic.c, line 712
- drivers/staging/media/ipu3/ipu3-v4l2.c, line 914
Smatch caller information:
drivers/staging/media/imx/imx-ic-prp.c prp_link_validate() -> v4l2_subdev_link_validate_default()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->entity.graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->link_validate | 2447728516935815168,2488398348375011328,3154561090277048320,3925713614538579968,5343005752074715136,5492274466230411264,9041892146132811776 |
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity->obj_type | 2 |
| PARAM_VALUE | 1 | link->source | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity->obj_type | 2 |
| PARAM_VALUE | 2 | source_fmt | 8874658155192307712 |
| PARAM_VALUE | 2 | source_fmt->pad | 0-u16max |
| PARAM_VALUE | 2 | source_fmt->stream | 0-63 |
| PARAM_VALUE | 2 | source_fmt->which | 1 |
| PARAM_VALUE | 3 | sink_fmt | 1187449029493837824 |
| PARAM_VALUE | 3 | sink_fmt->pad | 0-u16max |
| PARAM_VALUE | 3 | sink_fmt->stream | 0-63 |
| PARAM_VALUE | 3 | sink_fmt->which | 1 |
| CAPPED_DATA | 1 | link->sink | 1 |
| DATA_SOURCE | 0 | sd | $0 |
| DATA_SOURCE | 1 | link | $1 |
| DATA_SOURCE | 2 | source_fmt | $2 |
| DATA_SOURCE | 3 | sink_fmt | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sink_state->lock |
drivers/media/platform/nxp/imx7-media-csi.c imx7_csi_pad_link_validate() -> v4l2_subdev_link_validate_default()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->entity.graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->link_validate | 2447728516935815168,2488398348375011328,3154561090277048320,3925713614538579968,5343005752074715136,5492274466230411264,9041892146132811776 |
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity->obj_type | 2 |
| PARAM_VALUE | 1 | link->source | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity->obj_type | 2 |
| PARAM_VALUE | 2 | source_fmt | 8874658155192307712 |
| PARAM_VALUE | 2 | source_fmt->pad | 0-u16max |
| PARAM_VALUE | 2 | source_fmt->stream | 0-63 |
| PARAM_VALUE | 2 | source_fmt->which | 1 |
| PARAM_VALUE | 3 | sink_fmt | 1187449029493837824 |
| PARAM_VALUE | 3 | sink_fmt->pad | 0-u16max |
| PARAM_VALUE | 3 | sink_fmt->stream | 0-63 |
| PARAM_VALUE | 3 | sink_fmt->which | 1 |
| CAPPED_DATA | 1 | link->sink | 1 |
| DATA_SOURCE | 0 | sd | $0 |
| DATA_SOURCE | 1 | link | $1 |
| DATA_SOURCE | 2 | source_fmt | $2 |
| DATA_SOURCE | 3 | sink_fmt | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sink_state->lock |
drivers/media/v4l2-core/v4l2-subdev.c v4l2_subdev_link_validate_locked() -> v4l2_subdev_link_validate_default()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->entity.graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity->obj_type | 2 |
| PARAM_VALUE | 1 | link->source | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity->obj_type | 2 |
| PARAM_VALUE | 2 | source_fmt | 8874658155192307712 |
| PARAM_VALUE | 2 | source_fmt->pad | 0-u16max |
| PARAM_VALUE | 2 | source_fmt->stream | 0-63 |
| PARAM_VALUE | 2 | source_fmt->which | 1 |
| PARAM_VALUE | 3 | sink_fmt | 1187449029493837824 |
| PARAM_VALUE | 3 | sink_fmt->pad | 0-u16max |
| PARAM_VALUE | 3 | sink_fmt->stream | 0-63 |
| PARAM_VALUE | 3 | sink_fmt->which | 1 |
| CAPPED_DATA | 1 | link->sink | 1 |
| DATA_SOURCE | 1 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sink_state->lock |
drivers/media/platform/ti/omap3isp/ispresizer.c resizer_link_validate() -> v4l2_subdev_link_validate_default()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->entity.graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->entity.pads | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->link_validate | 2447728516935815168,2488398348375011328,3154561090277048320,3925713614538579968,5343005752074715136,5492274466230411264,9041892146132811776 |
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity->obj_type | 2 |
| PARAM_VALUE | 1 | link->source | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity->obj_type | 2 |
| PARAM_VALUE | 2 | source_fmt | 8874658155192307712 |
| PARAM_VALUE | 2 | source_fmt->pad | 0-u16max |
| PARAM_VALUE | 2 | source_fmt->stream | 0-63 |
| PARAM_VALUE | 2 | source_fmt->which | 1 |
| PARAM_VALUE | 3 | sink_fmt | 1187449029493837824 |
| PARAM_VALUE | 3 | sink_fmt->pad | 0-u16max |
| PARAM_VALUE | 3 | sink_fmt->stream | 0-63 |
| PARAM_VALUE | 3 | sink_fmt->which | 1 |
| CAPPED_DATA | 0 | sd->entity.pads | 1 |
| CAPPED_DATA | 1 | link->sink | 1 |
| DATA_SOURCE | 0 | sd | $0 |
| DATA_SOURCE | 1 | link | $1 |
| DATA_SOURCE | 2 | source_fmt | $2 |
| DATA_SOURCE | 3 | sink_fmt | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sink_state->lock |
drivers/staging/media/imx/imx-media-csi.c csi_link_validate() -> v4l2_subdev_link_validate_default()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->entity.graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->link_validate | 2447728516935815168,2488398348375011328,3154561090277048320,3925713614538579968,5343005752074715136,5492274466230411264,9041892146132811776 |
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity->obj_type | 2 |
| PARAM_VALUE | 1 | link->source | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity->obj_type | 2 |
| PARAM_VALUE | 2 | source_fmt | 8874658155192307712 |
| PARAM_VALUE | 2 | source_fmt->pad | 0-u16max |
| PARAM_VALUE | 2 | source_fmt->stream | 0-63 |
| PARAM_VALUE | 2 | source_fmt->which | 1 |
| PARAM_VALUE | 3 | sink_fmt | 1187449029493837824 |
| PARAM_VALUE | 3 | sink_fmt->pad | 0-u16max |
| PARAM_VALUE | 3 | sink_fmt->stream | 0-63 |
| PARAM_VALUE | 3 | sink_fmt->which | 1 |
| CAPPED_DATA | 1 | link->sink | 1 |
| DATA_SOURCE | 0 | sd | $0 |
| DATA_SOURCE | 1 | link | $1 |
| DATA_SOURCE | 2 | source_fmt | $2 |
| DATA_SOURCE | 3 | sink_fmt | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sink_state->lock |
drivers/staging/media/imx/imx-media-vdic.c vdic_link_validate() -> v4l2_subdev_link_validate_default()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->entity.graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->link_validate | 2447728516935815168,2488398348375011328,3154561090277048320,3925713614538579968,5343005752074715136,5492274466230411264,9041892146132811776 |
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity->obj_type | 2 |
| PARAM_VALUE | 1 | link->source | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity->obj_type | 2 |
| PARAM_VALUE | 2 | source_fmt | 8874658155192307712 |
| PARAM_VALUE | 2 | source_fmt->pad | 0-u16max |
| PARAM_VALUE | 2 | source_fmt->stream | 0-63 |
| PARAM_VALUE | 2 | source_fmt->which | 1 |
| PARAM_VALUE | 3 | sink_fmt | 1187449029493837824 |
| PARAM_VALUE | 3 | sink_fmt->pad | 0-u16max |
| PARAM_VALUE | 3 | sink_fmt->stream | 0-63 |
| PARAM_VALUE | 3 | sink_fmt->which | 1 |
| CAPPED_DATA | 1 | link->sink | 1 |
| DATA_SOURCE | 0 | sd | $0 |
| DATA_SOURCE | 1 | link | $1 |
| DATA_SOURCE | 2 | source_fmt | $2 |
| DATA_SOURCE | 3 | sink_fmt | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sink_state->lock |
drivers/media/v4l2-core/v4l2-subdev.c v4l2_subdev_link_validate_locked() -> (struct v4l2_subdev_pad_ops)->link_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->entity.graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->link_validate | 2447728516935815168,2488398348375011328,3154561090277048320,3925713614538579968,5343005752074715136,5492274466230411264,9041892146132811776 |
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity->obj_type | 2 |
| PARAM_VALUE | 1 | link->source | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity->obj_type | 2 |
| PARAM_VALUE | 2 | source_fmt | 8874658155192307712 |
| PARAM_VALUE | 2 | source_fmt->pad | 0-u16max |
| PARAM_VALUE | 2 | source_fmt->stream | 0-63 |
| PARAM_VALUE | 2 | source_fmt->which | 1 |
| PARAM_VALUE | 3 | sink_fmt | 1187449029493837824 |
| PARAM_VALUE | 3 | sink_fmt->pad | 0-u16max |
| PARAM_VALUE | 3 | sink_fmt->stream | 0-63 |
| PARAM_VALUE | 3 | sink_fmt->which | 1 |
| CAPPED_DATA | 1 | link->sink | 1 |
| DATA_SOURCE | 1 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sink_state->lock |
drivers/media/v4l2-core/v4l2-subdev.c v4l2_subdev_link_validate_locked() -> (struct v4l2_subdev_pad_ops)->link_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->entity.graph_obj.mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->link_validate | 2447728516935815168,2488398348375011328,3154561090277048320,3925713614538579968,5343005752074715136,5492274466230411264,9041892146132811776 |
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->sink->entity->obj_type | 2 |
| PARAM_VALUE | 1 | link->source | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity | 4096-ptr_max |
| PARAM_VALUE | 1 | link->source->entity->obj_type | 2 |
| PARAM_VALUE | 2 | source_fmt | 8874658155192307712 |
| PARAM_VALUE | 2 | source_fmt->pad | 0-u16max |
| PARAM_VALUE | 2 | source_fmt->stream | 0-63 |
| PARAM_VALUE | 2 | source_fmt->which | 1 |
| PARAM_VALUE | 3 | sink_fmt | 1187449029493837824 |
| PARAM_VALUE | 3 | sink_fmt->pad | 0-u16max |
| PARAM_VALUE | 3 | sink_fmt->stream | 0-63 |
| PARAM_VALUE | 3 | sink_fmt->which | 1 |
| CAPPED_DATA | 1 | link->sink | 1 |
| DATA_SOURCE | 1 | link | $0 |
| CONTAINER | 0 | -128-56-160+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sink_state->lock |