Home
last modified time | relevance | path

Searched refs:src_sd (Results 1 – 10 of 10) sorted by relevance

/drivers/staging/media/imx/
Dimx-media-capture.c34 struct v4l2_subdev *src_sd; member
77 "platform:%s", priv->src_sd->name); in vidioc_querycap()
100 ret = v4l2_subdev_call(priv->src_sd, pad, enum_frame_size, NULL, &fse); in capture_enum_framesizes()
142 ret = v4l2_subdev_call(priv->src_sd, pad, enum_frame_interval, in capture_enum_frameintervals()
164 ret = v4l2_subdev_call(priv->src_sd, pad, get_fmt, NULL, &fmt_src); in capture_enum_fmt_vid_cap()
166 v4l2_err(priv->src_sd, "failed to get src_sd format\n"); in capture_enum_fmt_vid_cap()
276 ret = v4l2_subdev_call(priv->src_sd, pad, get_fmt, NULL, &fmt_src); in capture_try_fmt_vid_cap()
291 v4l2_err(priv->src_sd, "%s queue busy\n", __func__); in capture_s_fmt_vid_cap()
297 ret = v4l2_subdev_call(priv->src_sd, pad, get_fmt, NULL, &fmt_src); in capture_s_fmt_vid_cap()
315 return v4l2_subdev_call(priv->src_sd, video, querystd, std); in capture_querystd()
[all …]
Dimx-ic-prp.c44 struct v4l2_subdev *src_sd; member
70 src_is_vdic = !!(priv->src_sd->grp_id & IMX_MEDIA_GRP_ID_IPU_VDIC); in prp_start()
230 if (priv->src_sd) { in prp_link_setup()
239 priv->src_sd = remote_sd; in prp_link_setup()
241 priv->src_sd = NULL; in prp_link_setup()
255 if (priv->src_sd && (priv->src_sd->grp_id & in prp_link_setup()
312 if (priv->src_sd->grp_id & IMX_MEDIA_GRP_ID_IPU_VDIC) { in prp_link_validate()
357 if (!priv->src_sd || (!priv->sink_sd_prpenc && !priv->sink_sd_prpvf)) { in prp_s_stream()
380 ret = v4l2_subdev_call(priv->src_sd, video, s_stream, enable); in prp_s_stream()
Dimx6-mipi-csi2.c53 struct v4l2_subdev *src_sd; member
207 ctrl = v4l2_ctrl_find(csi2->src_sd->ctrl_handler, in csi2_dphy_init()
327 ret = v4l2_subdev_call(csi2->src_sd, video, s_stream, 1); in csi2_start()
340 v4l2_subdev_call(csi2->src_sd, video, s_stream, 0); in csi2_start()
351 v4l2_subdev_call(csi2->src_sd, video, s_stream, 0); in csi2_stop()
368 if (!csi2->src_sd) { in csi2_s_stream()
434 if (csi2->src_sd) { in csi2_link_setup()
438 csi2->src_sd = remote_sd; in csi2_link_setup()
440 csi2->src_sd = NULL; in csi2_link_setup()
Dimx7-media-csi.c168 struct v4l2_subdev *src_sd; member
459 if (csi->src_sd) { in imx7_csi_link_setup()
463 csi->src_sd = remote_sd; in imx7_csi_link_setup()
465 csi->src_sd = NULL; in imx7_csi_link_setup()
485 if (csi->sink || csi->src_sd) in imx7_csi_link_setup()
510 if (!csi->src_sd) in imx7_csi_pad_link_validate()
513 src = &csi->src_sd->entity; in imx7_csi_pad_link_validate()
868 if (!csi->src_sd || !csi->sink) { in imx7_csi_s_stream()
877 ret = v4l2_subdev_call(csi->src_sd, video, s_stream, 1); in imx7_csi_s_stream()
883 v4l2_subdev_call(csi->src_sd, video, s_stream, 0); in imx7_csi_s_stream()
[all …]
Dimx7-mipi-csis.c226 struct v4l2_subdev *src_sd; member
631 ret = v4l2_subdev_call(state->src_sd, core, s_power, 1); in mipi_csis_s_stream()
644 ret = v4l2_subdev_call(state->src_sd, video, s_stream, 1); in mipi_csis_s_stream()
652 v4l2_subdev_call(state->src_sd, video, s_stream, 0); in mipi_csis_s_stream()
653 ret = v4l2_subdev_call(state->src_sd, core, s_power, 0); in mipi_csis_s_stream()
686 if (state->src_sd) { in mipi_csis_link_setup()
690 state->src_sd = remote_sd; in mipi_csis_link_setup()
692 state->src_sd = NULL; in mipi_csis_link_setup()
Dimx-media-csi.c95 struct v4l2_subdev *src_sd; member
174 if (!priv->src_sd) in csi_get_upstream_endpoint()
177 sd = priv->src_sd; in csi_get_upstream_endpoint()
190 sd = priv->src_sd; in csi_get_upstream_endpoint()
763 ret = v4l2_subdev_call(priv->src_sd, video, s_stream, 1); in csi_start()
811 v4l2_subdev_call(priv->src_sd, video, s_stream, 0); in csi_start()
828 v4l2_subdev_call(priv->src_sd, video, s_stream, 0); in csi_stop()
987 if (!priv->src_sd || !priv->sink) { in csi_s_stream()
1041 if (priv->src_sd) { in csi_link_setup()
1045 priv->src_sd = remote_sd; in csi_link_setup()
[all …]
Dimx-ic-prpencvf.c76 struct v4l2_subdev *src_sd; member
726 ret = v4l2_subdev_call(priv->src_sd, video, s_stream, 1); in prp_start()
774 ret = v4l2_subdev_call(priv->src_sd, video, s_stream, 0); in prp_stop()
1038 if (priv->src_sd) { in prp_link_setup()
1042 priv->src_sd = remote_sd; in prp_link_setup()
1044 priv->src_sd = NULL; in prp_link_setup()
1179 if (!priv->src_sd || !priv->sink) { in prp_s_stream()
Dimx-media-vdic.c484 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()
Dimx-media.h285 imx_media_capture_device_init(struct device *dev, struct v4l2_subdev *src_sd,
/drivers/media/v4l2-core/
Dv4l2-mc.c312 int v4l2_create_fwnode_links_to_pad(struct v4l2_subdev *src_sd, in v4l2_create_fwnode_links_to_pad() argument
324 fwnode_graph_for_each_endpoint(dev_fwnode(src_sd->dev), endpoint) { in v4l2_create_fwnode_links_to_pad()
329 src_idx = media_entity_get_fwnode_pad(&src_sd->entity, in v4l2_create_fwnode_links_to_pad()
359 src = &src_sd->entity.pads[src_idx]; in v4l2_create_fwnode_links_to_pad()
366 src_sd->entity.name, src_idx, in v4l2_create_fwnode_links_to_pad()
369 ret = media_create_pad_link(&src_sd->entity, src_idx, in v4l2_create_fwnode_links_to_pad()
374 src_sd->entity.name, src_idx, in v4l2_create_fwnode_links_to_pad()
386 int v4l2_create_fwnode_links(struct v4l2_subdev *src_sd, in v4l2_create_fwnode_links() argument
398 ret = v4l2_create_fwnode_links_to_pad(src_sd, pad); in v4l2_create_fwnode_links()