Home
last modified time | relevance | path

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

/linux/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_csi.c61 csi->src_pad = media_entity_get_fwnode_pad(&subdev->entity, in sun4i_csi_notify_bound()
64 if (csi->src_pad < 0) { in sun4i_csi_notify_bound()
67 return csi->src_pad; in sun4i_csi_notify_bound()
70 dev_dbg(csi->dev, "Bound %s pad: %d\n", subdev->name, csi->src_pad); in sun4i_csi_notify_bound()
102 ret = media_create_pad_link(&csi->src_subdev->entity, csi->src_pad, in sun4i_csi_notify_complete()
H A Dsun4i_csi.h145 int src_pad; member
/linux/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-core.c30 .src_pad = srcpad, \
78 u16 src_pad; member
156 link->src_pad, link->sink_pad, in dcmipp_create_links()
160 ret = media_create_pad_link(ved_src->ent, link->src_pad, in dcmipp_create_links()
261 int src_pad; in dcmipp_graph_notify_bound() local
272 src_pad = media_entity_get_fwnode_pad(&subdev->entity, in dcmipp_graph_notify_bound()
317 ret = media_create_pad_link(&subdev->entity, src_pad, sink->ent, 0, in dcmipp_graph_notify_bound()
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-isys-csi2.c82 struct media_pad *src_pad; in ipu6_isys_csi2_get_link_freq() local
90 src_pad = media_entity_remote_source_pad_unique(&csi2->asd.sd.entity); in ipu6_isys_csi2_get_link_freq()
91 if (IS_ERR(src_pad)) { in ipu6_isys_csi2_get_link_freq()
93 csi2->asd.sd.name, PTR_ERR(src_pad)); in ipu6_isys_csi2_get_link_freq()
94 return PTR_ERR(src_pad); in ipu6_isys_csi2_get_link_freq()
97 ext_sd = media_entity_to_v4l2_subdev(src_pad->entity); in ipu6_isys_csi2_get_link_freq()
H A Dipu6-isys-video.c442 struct media_pad *src_pad = media_pad_remote_pad_first(&av->pad); in ipu6_isys_fw_pin_cfg() local
443 struct v4l2_subdev *sd = media_entity_to_v4l2_subdev(src_pad->entity); in ipu6_isys_fw_pin_cfg()
459 src_stream = ipu6_isys_get_src_stream_by_src_pad(sd, src_pad->index); in ipu6_isys_fw_pin_cfg()
460 ret = ipu6_isys_get_stream_pad_fmt(sd, src_pad->index, src_stream, in ipu6_isys_fw_pin_cfg()
467 ret = ipu6_isys_get_stream_pad_crop(sd, src_pad->index, src_stream, in ipu6_isys_fw_pin_cfg()
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-core.c29 .src_pad = srcpad, \
43 u16 src_pad; member
196 ret = media_create_pad_link(ved_src->ent, link->src_pad, in vimc_create_links()
/linux/drivers/media/i2c/adv748x/
H A Dadv748x-csi2.c45 unsigned int src_pad, in adv748x_csi2_register_link() argument
56 ret = media_create_pad_link(&src->entity, src_pad, in adv748x_csi2_register_link()
/linux/drivers/media/i2c/
H A Dmax9286.c664 unsigned int src_pad; in max9286_notify_bound() local
678 src_pad = ret; in max9286_notify_bound()
680 ret = media_create_pad_link(&source->sd->entity, src_pad, in max9286_notify_bound()
687 source->sd->name, src_pad, priv->sd.name, index); in max9286_notify_bound()
692 subdev->name, src_pad, index); in max9286_notify_bound()
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-capture.c1108 struct media_pad *sink_pad, *src_pad; in fimc_pipeline_validate() local
1117 src_pad = NULL; in fimc_pipeline_validate()
1124 src_pad = media_pad_remote_pad_first(sink_pad); in fimc_pipeline_validate()
1125 if (src_pad) in fimc_pipeline_validate()
1130 if (!src_pad || !is_media_entity_v4l2_subdev(src_pad->entity)) in fimc_pipeline_validate()
1147 sd = media_entity_to_v4l2_subdev(src_pad->entity); in fimc_pipeline_validate()
1148 src_fmt.pad = src_pad->index; in fimc_pipeline_validate()
/linux/drivers/media/platform/st/stm32/
H A Dstm32-dcmi.c630 struct media_pad *src_pad = NULL; in dcmi_pipeline_s_fmt() local
647 src_pad = pad; in dcmi_pipeline_s_fmt()
684 sink_pad = media_pad_remote_pad_first(src_pad); in dcmi_pipeline_s_fmt()
1818 int src_pad; in dcmi_graph_notify_bound() local
1826 src_pad = media_entity_get_fwnode_pad(&subdev->entity, in dcmi_graph_notify_bound()
1830 ret = media_create_pad_link(&subdev->entity, src_pad, in dcmi_graph_notify_bound()