/linux-6.12.1/drivers/media/v4l2-core/ |
D | v4l2-mc.c | 324 int v4l2_create_fwnode_links_to_pad(struct v4l2_subdev *src_sd, in v4l2_create_fwnode_links_to_pad() argument 332 fwnode_graph_for_each_endpoint(dev_fwnode(src_sd->dev), endpoint) { in v4l2_create_fwnode_links_to_pad() 337 src_idx = media_entity_get_fwnode_pad(&src_sd->entity, in v4l2_create_fwnode_links_to_pad() 341 dev_dbg(src_sd->dev, "no source pad found for %pfw\n", in v4l2_create_fwnode_links_to_pad() 348 dev_dbg(src_sd->dev, "no remote ep found for %pfw\n", in v4l2_create_fwnode_links_to_pad() 363 dev_dbg(src_sd->dev, in v4l2_create_fwnode_links_to_pad() 377 src = &src_sd->entity.pads[src_idx]; in v4l2_create_fwnode_links_to_pad() 381 dev_dbg(src_sd->dev, in v4l2_create_fwnode_links_to_pad() 383 src_sd->entity.name, src_idx, in v4l2_create_fwnode_links_to_pad() 388 dev_dbg(src_sd->dev, "creating link %s:%d -> %s:%d\n", in v4l2_create_fwnode_links_to_pad() [all …]
|
/linux-6.12.1/drivers/staging/media/imx/ |
D | imx-media-capture.c | 37 struct v4l2_subdev *src_sd; /* Source subdev */ member 297 ret = v4l2_subdev_call(priv->src_sd, pad, enum_frame_size, NULL, &fse); in capture_legacy_enum_framesizes() 339 ret = v4l2_subdev_call(priv->src_sd, pad, enum_frame_interval, in capture_legacy_enum_frameintervals() 362 ret = v4l2_subdev_call(priv->src_sd, pad, get_fmt, NULL, &fmt_src); in capture_legacy_enum_fmt_vid_cap() 435 ret = v4l2_subdev_call(priv->src_sd, pad, get_fmt, NULL, &fmt_src); in capture_legacy_try_fmt_vid_cap() 461 ret = v4l2_subdev_call(priv->src_sd, pad, get_fmt, NULL, &fmt_src); in capture_legacy_s_fmt_vid_cap() 482 return v4l2_subdev_call(priv->src_sd, video, querystd, std); in capture_legacy_querystd() 489 return v4l2_subdev_call(priv->src_sd, video, g_std, std); in capture_legacy_g_std() 499 return v4l2_subdev_call(priv->src_sd, video, s_std, std); in capture_legacy_s_std() 514 ret = v4l2_subdev_call_state_active(priv->src_sd, pad, in capture_legacy_g_parm() [all …]
|
D | imx-ic-prp.c | 44 struct v4l2_subdev *src_sd; member 70 src_is_vdic = !!(priv->src_sd->grp_id & IMX_MEDIA_GRP_ID_IPU_VDIC); in prp_start() 229 if (priv->src_sd) { in prp_link_setup() 238 priv->src_sd = remote_sd; in prp_link_setup() 240 priv->src_sd = NULL; in prp_link_setup() 254 if (priv->src_sd && (priv->src_sd->grp_id & in prp_link_setup() 311 if (priv->src_sd->grp_id & IMX_MEDIA_GRP_ID_IPU_VDIC) { in prp_link_validate() 356 if (!priv->src_sd || (!priv->sink_sd_prpenc && !priv->sink_sd_prpvf)) { in prp_s_stream() 379 ret = v4l2_subdev_call(priv->src_sd, video, s_stream, enable); in prp_s_stream()
|
D | imx6-mipi-csi2.c | 57 struct v4l2_subdev *src_sd; member 209 ctrl = v4l2_ctrl_find(csi2->src_sd->ctrl_handler, in csi2_dphy_init() 367 ret = v4l2_subdev_call(csi2->src_sd, video, pre_streamon, in csi2_start() 374 ret = v4l2_subdev_call(csi2->src_sd, video, s_stream, 1); in csi2_start() 387 v4l2_subdev_call(csi2->src_sd, video, s_stream, 0); in csi2_start() 389 v4l2_subdev_call(csi2->src_sd, video, post_streamoff); in csi2_start() 400 v4l2_subdev_call(csi2->src_sd, video, s_stream, 0); in csi2_stop() 401 v4l2_subdev_call(csi2->src_sd, video, post_streamoff); in csi2_stop() 418 if (!csi2->src_sd) { in csi2_s_stream() 484 if (csi2->src_sd) { in csi2_link_setup() [all …]
|
D | imx-media-csi.c | 95 struct v4l2_subdev *src_sd; member 174 if (!priv->src_sd) in csi_get_upstream_mbus_config() 177 sd = priv->src_sd; in csi_get_upstream_mbus_config() 190 sd = priv->src_sd; in csi_get_upstream_mbus_config() 755 ret = v4l2_subdev_call(priv->src_sd, video, s_stream, 1); in csi_start() 800 v4l2_subdev_call(priv->src_sd, video, s_stream, 0); in csi_start() 817 v4l2_subdev_call(priv->src_sd, video, s_stream, 0); in csi_stop() 992 if (!priv->src_sd || !priv->sink) { in csi_s_stream() 1046 if (priv->src_sd) { in csi_link_setup() 1050 priv->src_sd = remote_sd; in csi_link_setup() [all …]
|
D | imx-ic-prpencvf.c | 76 struct v4l2_subdev *src_sd; member 723 ret = v4l2_subdev_call(priv->src_sd, video, s_stream, 1); in prp_start() 771 ret = v4l2_subdev_call(priv->src_sd, video, s_stream, 0); in prp_stop() 1034 if (priv->src_sd) { in prp_link_setup() 1038 priv->src_sd = remote_sd; in prp_link_setup() 1040 priv->src_sd = NULL; in prp_link_setup() 1175 if (!priv->src_sd || !priv->sink) { in prp_s_stream()
|
D | imx-media-vdic.c | 484 struct v4l2_subdev *src_sd = NULL; in vdic_s_stream() local 495 src_sd = media_entity_to_v4l2_subdev(priv->src); in vdic_s_stream() 514 if (src_sd) { in vdic_s_stream() 516 ret = v4l2_subdev_call(src_sd, video, s_stream, enable); in vdic_s_stream()
|
D | imx-media.h | 271 imx_media_capture_device_init(struct device *dev, struct v4l2_subdev *src_sd,
|
/linux-6.12.1/include/media/ |
D | v4l2-mc.h | 115 int v4l2_create_fwnode_links_to_pad(struct v4l2_subdev *src_sd, 139 int v4l2_create_fwnode_links(struct v4l2_subdev *src_sd,
|
/linux-6.12.1/drivers/media/platform/nxp/ |
D | imx8mq-mipi-csi2.c | 117 struct v4l2_subdev *src_sd; member 302 link_freq = v4l2_get_link_freq(state->src_sd->ctrl_handler, in imx8mq_mipi_csi_calc_hs_settle() 420 ret = v4l2_subdev_call(state->src_sd, video, s_stream, 1); in imx8mq_mipi_csi_s_stream() 426 v4l2_subdev_call(state->src_sd, video, s_stream, 0); in imx8mq_mipi_csi_s_stream() 578 state->src_sd = sd; in imx8mq_mipi_csi_notify_bound()
|
D | imx7-media-csi.c | 239 struct v4l2_subdev *src_sd; member 1724 ret = v4l2_subdev_call(csi->src_sd, video, s_stream, 1); in imx7_csi_s_stream() 1734 v4l2_subdev_call(csi->src_sd, video, s_stream, 0); in imx7_csi_s_stream() 1947 switch (csi->src_sd->entity.function) { in imx7_csi_pad_link_validate() 1955 for (i = 0; i < csi->src_sd->entity.num_pads; i++) { in imx7_csi_pad_link_validate() 1956 struct media_pad *spad = &csi->src_sd->entity.pads[i]; in imx7_csi_pad_link_validate() 2061 csi->src_sd = sd; in imx7_csi_notify_bound()
|