Home
last modified time | relevance | path

Searched refs:remote_pad (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.15/drivers/staging/media/imx/
H A Dimx-media-internal-sd.c22 int remote_pad; member
50 .remote_pad = PRP_SINK_PAD,
54 .remote_pad = VDIC_SINK_PAD_DIRECT,
68 .remote_pad = PRP_SINK_PAD,
72 .remote_pad = VDIC_SINK_PAD_DIRECT,
88 .remote_pad = PRP_SINK_PAD,
104 .remote_pad = PRPENCVF_SINK_PAD,
114 .remote_pad = PRPENCVF_SINK_PAD,
142 &sink->entity.pads[link->remote_pad])) in create_internal_link()
147 sink->name, link->remote_pad); in create_internal_link()
[all …]
H A Dimx6-mipi-csi2.c48 unsigned int remote_pad; member
312 csi2->remote_pad, &mbus_config); in csi2_get_active_lanes()
653 csi2->remote_pad = pad; in csi2_notify_bound()
H A Dimx-media-csi.c171 struct media_pad *remote_pad; in csi_get_upstream_mbus_config() local
204 remote_pad = media_entity_remote_pad_unique(&sd->entity, in csi_get_upstream_mbus_config()
206 if (IS_ERR(remote_pad)) in csi_get_upstream_mbus_config()
207 return PTR_ERR(remote_pad); in csi_get_upstream_mbus_config()
209 remote_sd = media_entity_to_v4l2_subdev(remote_pad->entity); in csi_get_upstream_mbus_config()
212 remote_pad->index, mbus_cfg); in csi_get_upstream_mbus_config()
216 remote_pad->entity->name); in csi_get_upstream_mbus_config()
/linux-6.15/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-crossbar.c51 remote_sd->name, remote_pad, ret); in mxc_isi_crossbar_gasket_enable()
57 remote_sd->name, remote_pad); in mxc_isi_crossbar_gasket_enable()
130 u32 *remote_pad) in mxc_isi_crossbar_xlate_streams() argument
173 *remote_pad = pad->index; in mxc_isi_crossbar_xlate_streams()
330 u32 remote_pad; in mxc_isi_crossbar_enable_streams() local
335 &remote_pad); in mxc_isi_crossbar_enable_streams()
347 remote_pad, sink_pad); in mxc_isi_crossbar_enable_streams()
357 remote_pad, ret); in mxc_isi_crossbar_enable_streams()
377 u32 remote_pad; in mxc_isi_crossbar_disable_streams() local
382 &remote_pad); in mxc_isi_crossbar_disable_streams()
[all …]
/linux-6.15/drivers/media/usb/uvc/
H A Duvc_entity.c34 u8 remote_pad; in uvc_mc_create_links() local
49 remote_pad = remote->num_pads - 1; in uvc_mc_create_links()
50 ret = media_create_pad_link(source, remote_pad, in uvc_mc_create_links()
/linux-6.15/drivers/staging/media/tegra-video/
H A Dvip.c42 struct media_pad *remote_pad; in tegra_vip_channel_get_prev_subdev() local
44 remote_pad = media_pad_remote_pad_first(&chan->pads[TEGRA_VIP_PAD_SINK]); in tegra_vip_channel_get_prev_subdev()
45 if (!remote_pad) in tegra_vip_channel_get_prev_subdev()
48 return media_entity_to_v4l2_subdev(remote_pad->entity); in tegra_vip_channel_get_prev_subdev()
H A Dvi.c1487 struct media_pad *remote_pad; in tegra_vi_graph_build() local
1520 remote_pad = &chan->pad; in tegra_vi_graph_build()
1556 remote_pad = &remote->pads[link.remote_port]; in tegra_vi_graph_build()
1561 remote->name, remote_pad->index); in tegra_vi_graph_build()
1564 remote, remote_pad->index, in tegra_vi_graph_build()
1571 remote->name, remote_pad->index, ret); in tegra_vi_graph_build()
/linux-6.15/drivers/media/pci/intel/ipu6/
H A Dipu6-isys-csi2.c350 struct media_pad *remote_pad; in ipu6_isys_csi2_enable_streams() local
354 remote_pad = media_pad_remote_pad_first(&sd->entity.pads[CSI2_PAD_SINK]); in ipu6_isys_csi2_enable_streams()
355 remote_sd = media_entity_to_v4l2_subdev(remote_pad->entity); in ipu6_isys_csi2_enable_streams()
369 ret = v4l2_subdev_enable_streams(remote_sd, remote_pad->index, in ipu6_isys_csi2_enable_streams()
384 struct media_pad *remote_pad; in ipu6_isys_csi2_disable_streams() local
391 remote_pad = media_pad_remote_pad_first(&sd->entity.pads[CSI2_PAD_SINK]); in ipu6_isys_csi2_disable_streams()
392 remote_sd = media_entity_to_v4l2_subdev(remote_pad->entity); in ipu6_isys_csi2_disable_streams()
396 v4l2_subdev_disable_streams(remote_sd, remote_pad->index, sink_streams); in ipu6_isys_csi2_disable_streams()
H A Dipu6-isys-queue.c439 struct media_pad *remote_pad = in ipu6_isys_link_fmt_validate() local
445 if (!remote_pad) in ipu6_isys_link_fmt_validate()
448 sd = media_entity_to_v4l2_subdev(remote_pad->entity); in ipu6_isys_link_fmt_validate()
449 r_stream = ipu6_isys_get_src_stream_by_src_pad(sd, remote_pad->index); in ipu6_isys_link_fmt_validate()
451 ret = ipu6_isys_get_stream_pad_fmt(sd, remote_pad->index, r_stream, in ipu6_isys_link_fmt_validate()
456 sd->entity.name, remote_pad->index, r_stream); in ipu6_isys_link_fmt_validate()
H A Dipu6-isys-video.c1181 struct media_pad *source_pad, *remote_pad; in ipu6_isys_setup_video() local
1186 remote_pad = media_pad_remote_pad_unique(&av->pad); in ipu6_isys_setup_video()
1187 if (IS_ERR(remote_pad)) { in ipu6_isys_setup_video()
1189 return PTR_ERR(remote_pad); in ipu6_isys_setup_video()
1192 remote_sd = media_entity_to_v4l2_subdev(remote_pad->entity); in ipu6_isys_setup_video()
1194 source_pad = media_pad_remote_pad_first(&remote_pad->entity->pads[0]); in ipu6_isys_setup_video()
1207 if (r->source_pad == remote_pad->index) in ipu6_isys_setup_video()
/linux-6.15/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp_proc.c175 struct media_pad *remote_pad; in sun6i_isp_proc_s_stream() local
180 remote_pad = media_pad_remote_pad_unique(local_pad); in sun6i_isp_proc_s_stream()
181 if (IS_ERR(remote_pad)) { in sun6i_isp_proc_s_stream()
184 return PTR_ERR(remote_pad); in sun6i_isp_proc_s_stream()
187 source_subdev = media_entity_to_v4l2_subdev(remote_pad->entity); in sun6i_isp_proc_s_stream()
/linux-6.15/drivers/media/platform/xilinx/
H A Dxilinx-vipp.c82 struct media_pad *remote_pad; in xvip_graph_build_one() local
154 remote_pad = &remote->pads[link.remote_port]; in xvip_graph_build_one()
161 remote->name, remote_pad->index); in xvip_graph_build_one()
164 remote, remote_pad->index, in xvip_graph_build_one()
170 remote->name, remote_pad->index); in xvip_graph_build_one()
/linux-6.15/drivers/media/platform/renesas/
H A Drcar-isp.c172 unsigned int remote_pad; member
274 ret = v4l2_subdev_enable_streams(isp->remote, isp->remote_pad, in risp_start()
284 v4l2_subdev_disable_streams(isp->remote, isp->remote_pad, BIT_ULL(0)); in risp_stop()
387 isp->remote_pad = pad; in risp_notify_bound()
H A Drcar-csi2.c767 unsigned int remote_pad; member
994 priv->remote_pad, &mbus_config); in rcsi2_get_active_lanes()
1580 ret = v4l2_subdev_enable_streams(priv->remote, priv->remote_pad, in rcsi2_start()
1593 v4l2_subdev_disable_streams(priv->remote, priv->remote_pad, BIT_ULL(0)); in rcsi2_stop()
1761 priv->remote_pad = pad; in rcsi2_notify_bound()
/linux-6.15/drivers/media/platform/microchip/
H A Dmicrochip-csi2dc.c206 u32 remote_pad; member
346 csi2dc->remote_pad, &mbus_config); in csi2dc_get_mbus_config()
498 csi2dc->remote_pad = pad; in csi2dc_async_bound()
501 csi2dc->remote_pad, in csi2dc_async_bound()
513 csi2dc->input_sd->name, csi2dc->remote_pad); in csi2dc_async_bound()
H A Dmicrochip-isc-scaler.c237 isc->remote_pad, &isc->scaler_sd.entity, in isc_scaler_link()
250 isc->current_subdev->sd->name, isc->remote_pad); in isc_scaler_link()
H A Dmicrochip-isc.h374 u32 remote_pad; member
/linux-6.15/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-csi2.c595 struct media_pad *remote_pad; in rzg2l_csi2_get_frame_desc() local
600 remote_pad = media_pad_remote_pad_unique(&csi2->pads[RZG2L_CSI2_SINK]); in rzg2l_csi2_get_frame_desc()
601 if (IS_ERR(remote_pad)) { in rzg2l_csi2_get_frame_desc()
603 csi2->remote_source->name, PTR_ERR(remote_pad)); in rzg2l_csi2_get_frame_desc()
604 return PTR_ERR(remote_pad); in rzg2l_csi2_get_frame_desc()
607 remote_pad->index, fd); in rzg2l_csi2_get_frame_desc()
H A Drzg2l-video.c318 struct media_pad *remote_pad; in rzg2l_cru_get_virtual_channel() local
321 remote_pad = media_pad_remote_pad_unique(&cru->ip.pads[RZG2L_CRU_IP_SINK]); in rzg2l_cru_get_virtual_channel()
322 ret = v4l2_subdev_call(cru->ip.remote, pad, get_frame_desc, remote_pad->index, &fd); in rzg2l_cru_get_virtual_channel()
/linux-6.15/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi_bridge.c417 struct media_pad *remote_pad; in sun6i_csi_bridge_s_stream() local
422 remote_pad = media_pad_remote_pad_unique(local_pad); in sun6i_csi_bridge_s_stream()
423 if (IS_ERR(remote_pad)) { in sun6i_csi_bridge_s_stream()
426 return PTR_ERR(remote_pad); in sun6i_csi_bridge_s_stream()
429 source_subdev = media_entity_to_v4l2_subdev(remote_pad->entity); in sun6i_csi_bridge_s_stream()
/linux-6.15/drivers/media/mc/
H A Dmc-entity.c1415 struct media_pad *remote_pad; in media_entity_remote_pad_unique() local
1424 remote_pad = link->source; in media_entity_remote_pad_unique()
1427 remote_pad = link->sink; in media_entity_remote_pad_unique()
1434 pad = remote_pad; in media_entity_remote_pad_unique()
1451 struct media_pad *remote_pad; in media_pad_remote_pad_unique() local
1457 remote_pad = link->source; in media_pad_remote_pad_unique()
1459 remote_pad = link->sink; in media_pad_remote_pad_unique()
1466 found_pad = remote_pad; in media_pad_remote_pad_unique()
/linux-6.15/drivers/media/platform/st/stm32/
H A Dstm32-csi.c825 int remote_pad; in stm32_csi_async_bound() local
827 remote_pad = media_entity_get_fwnode_pad(&s_subdev->entity, in stm32_csi_async_bound()
830 if (remote_pad < 0) { in stm32_csi_async_bound()
833 return remote_pad; in stm32_csi_async_bound()
837 csidev->s_subdev_pad_nb = remote_pad; in stm32_csi_async_bound()
840 remote_pad, &csidev->sd.entity, in stm32_csi_async_bound()
/linux-6.15/drivers/media/platform/ti/cal/
H A Dcal-camerarx.c752 const struct media_pad *remote_pad; in cal_camerarx_get_frame_desc() local
755 remote_pad = media_pad_remote_pad_first(&phy->pads[CAL_CAMERARX_PAD_SINK]); in cal_camerarx_get_frame_desc()
756 if (!remote_pad) in cal_camerarx_get_frame_desc()
760 remote_pad->index, &remote_desc); in cal_camerarx_get_frame_desc()
H A Dcal-video.c692 struct media_pad *remote_pad; in cal_video_check_format() local
695 remote_pad = media_pad_remote_pad_first(&ctx->pad); in cal_video_check_format()
696 if (!remote_pad) in cal_video_check_format()
701 format = v4l2_subdev_state_get_format(state, remote_pad->index); in cal_video_check_format()
/linux-6.15/drivers/media/platform/nxp/
H A Dimx-mipi-csis.c1230 const struct media_pad *remote_pad, u32 flags) in mipi_csis_link_setup() argument
1236 dev_dbg(csis->dev, "link setup %s -> %s", remote_pad->entity->name, in mipi_csis_link_setup()
1243 remote_sd = media_entity_to_v4l2_subdev(remote_pad->entity); in mipi_csis_link_setup()
1250 csis->source.pad = remote_pad; in mipi_csis_link_setup()

12