/linux-6.12.1/drivers/media/platform/nxp/imx8-isi/ |
D | imx8-isi-crossbar.c | 111 if (route->sink_pad == xbar->num_sinks - 1 && in __mxc_isi_crossbar_set_routing() 115 route->sink_pad, in __mxc_isi_crossbar_set_routing() 136 int sink_pad = -1; in mxc_isi_crossbar_xlate_streams() local 152 sink_pad = route->sink_pad; in mxc_isi_crossbar_xlate_streams() 155 if (sink_pad < 0) { in mxc_isi_crossbar_xlate_streams() 162 pad = media_pad_remote_pad_first(&xbar->pads[sink_pad]); in mxc_isi_crossbar_xlate_streams() 167 sink_pad); in mxc_isi_crossbar_xlate_streams() 171 *__sink_pad = sink_pad; in mxc_isi_crossbar_xlate_streams() 198 route->sink_pad = i; in mxc_isi_crossbar_init_state() 293 if (route->sink_pad != fmt->pad || in mxc_isi_crossbar_set_fmt() [all …]
|
/linux-6.12.1/drivers/media/platform/renesas/vsp1/ |
D | vsp1_entity.c | 62 route = source->sink->route->inputs[source->sink_pad]; in vsp1_entity_route_setup() 392 const struct media_pad *sink_pad, in vsp1_entity_link_setup_source() argument 404 = media_entity_to_vsp1_entity(sink_pad->entity); in vsp1_entity_link_setup_source() 415 source->sink_pad = sink_pad->index; in vsp1_entity_link_setup_source() 419 source->sink_pad = 0; in vsp1_entity_link_setup_source() 426 const struct media_pad *sink_pad, in vsp1_entity_link_setup_sink() argument 432 sink = media_entity_to_vsp1_entity(sink_pad->entity); in vsp1_entity_link_setup_sink() 437 if (sink->sources[sink_pad->index]) in vsp1_entity_link_setup_sink() 440 sink->sources[sink_pad->index] = source; in vsp1_entity_link_setup_sink() 442 sink->sources[sink_pad->index] = NULL; in vsp1_entity_link_setup_sink()
|
D | vsp1_drm.c | 80 prev->sink_pad = next_pad; in vsp1_du_insert_uif() 85 prev->sink_pad = UIF_PAD_SINK; in vsp1_du_insert_uif() 109 uif->sink_pad = next_pad; in vsp1_du_insert_uif() 330 pipe->brx->sink_pad = 0; in vsp1_du_pipeline_setup_brx() 433 rpf->entity.sink_pad = i; in vsp1_du_pipeline_setup_inputs() 990 pipe->output->entity.sink_pad = 0; in vsp1_drm_init()
|
D | vsp1_entity.h | 125 unsigned int sink_pad; member
|
/linux-6.12.1/drivers/media/v4l2-core/ |
D | v4l2-subdev.c | 1009 if (route->sink_pad >= sd->entity.num_pads) in subdev_do_ioctl() 1012 if (!(pads[route->sink_pad].flags & in subdev_do_ioctl() 1321 route_pad = route->sink_pad; in __v4l2_link_validate_get_streams() 1531 if ((route->sink_pad == pad0 && route->source_pad == pad1) || in v4l2_subdev_has_pad_interdep() 1532 (route->source_pad == pad0 && route->sink_pad == pad1)) { in v4l2_subdev_has_pad_interdep() 1846 new_configs.configs[idx].pad = route->sink_pad; in v4l2_subdev_init_stream_configs() 1986 *other_pad = route->sink_pad; in v4l2_subdev_routing_find_opposite_end() 1992 if (route->sink_pad == pad && route->sink_stream == stream) { in v4l2_subdev_routing_find_opposite_end() 2031 if (route->sink_pad == pad0 && route->source_pad == pad1 && in v4l2_subdev_state_xlate_streams() 2036 if (route->source_pad == pad0 && route->sink_pad == pad1 && in v4l2_subdev_state_xlate_streams() [all …]
|
/linux-6.12.1/drivers/media/platform/xilinx/ |
D | xilinx-vipp.c | 199 struct media_pad *sink_pad; in xvip_graph_build_dma() local 254 sink_pad = &sink->pads[link.remote_port]; in xvip_graph_build_dma() 259 sink_pad = &dma->pad; in xvip_graph_build_dma() 267 sink->name, sink_pad->index); in xvip_graph_build_dma() 270 sink, sink_pad->index, in xvip_graph_build_dma() 276 sink->name, sink_pad->index); in xvip_graph_build_dma()
|
/linux-6.12.1/drivers/media/mc/ |
D | mc-entity.c | 1133 struct media_entity *sink, u16 sink_pad, u32 flags) in media_create_pad_link() argument 1145 WARN_ON(sink_pad >= sink->num_pads)) in media_create_pad_link() 1149 if (WARN_ON(!(sink->pads[sink_pad].flags & MEDIA_PAD_FL_SINK))) in media_create_pad_link() 1157 link->sink = &sink->pads[sink_pad]; in media_create_pad_link() 1174 backlink->sink = &sink->pads[sink_pad]; in media_create_pad_link() 1202 const u16 sink_pad, in media_create_pad_links() argument 1213 sink, sink_pad, flags); in media_create_pad_links() 1226 sink, sink_pad, in media_create_pad_links() 1249 entity, sink_pad, flags); in media_create_pad_links() 1252 sink, sink_pad, flags); in media_create_pad_links()
|
/linux-6.12.1/drivers/media/platform/st/stm32/stm32-dcmipp/ |
D | dcmipp-core.c | 32 .sink_pad = sinkpad, \ 80 u16 sink_pad; member 156 link->src_pad, link->sink_pad, in dcmipp_create_links() 161 ved_sink->ent, link->sink_pad, in dcmipp_create_links()
|
/linux-6.12.1/drivers/media/platform/renesas/rcar-vin/ |
D | rcar-v4l2.c | 717 timings->pad = vin->parallel.sink_pad; in rvin_enum_dv_timings() 734 vin->parallel.sink_pad, timings); in rvin_s_dv_timings() 749 vin->parallel.sink_pad, timings); in rvin_g_dv_timings() 759 vin->parallel.sink_pad, timings); in rvin_query_dv_timings() 772 cap->pad = vin->parallel.sink_pad; in rvin_dv_timings_cap() 790 edid->pad = vin->parallel.sink_pad; in rvin_g_edid() 808 edid->pad = vin->parallel.sink_pad; in rvin_s_edid()
|
D | rcar-core.c | 511 vin->parallel.sink_pad = ret < 0 ? 0 : ret; in rvin_parallel_subdevice_attach() 603 sink, vin->parallel.sink_pad, 0); in rvin_parallel_notify_complete() 641 vin->parallel.sink_pad); in rvin_parallel_notify_bound() 892 struct media_pad *sink_pad = &sink->pads[0]; in rvin_csi2_create_link() local 901 if (media_entity_find_link(source_pad, sink_pad)) in rvin_csi2_create_link() 1002 struct media_pad *source_pad, *sink_pad; in rvin_isp_setup_links() local 1018 sink_pad = &sink->pads[0]; in rvin_isp_setup_links() 1021 if (media_entity_find_link(source_pad, sink_pad)) in rvin_isp_setup_links()
|
D | rcar-vin.h | 125 unsigned int sink_pad; member
|
/linux-6.12.1/drivers/media/test-drivers/vimc/ |
D | vimc-core.c | 31 .sink_pad = sinkpad, \ 45 u16 sink_pad; member 197 ved_sink->ent, link->sink_pad, in vimc_create_links()
|
/linux-6.12.1/include/media/ |
D | media-entity.h | 786 u16 sink_pad, u32 flags); 837 const u16 sink_pad,
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | vidioc-subdev-g-routing.rst | 117 - ``sink_pad`` 159 pads of different types (ie. the sink_pad identifiers refers to a source
|
/linux-6.12.1/include/uapi/linux/ |
D | v4l2-subdev.h | 219 __u32 sink_pad; member
|
/linux-6.12.1/drivers/media/platform/st/stm32/ |
D | stm32-dcmi.c | 629 struct media_pad *sink_pad = NULL; in dcmi_pipeline_s_fmt() local 658 if (sink_pad) in dcmi_pipeline_s_fmt() 659 pad = sink_pad; in dcmi_pipeline_s_fmt() 684 sink_pad = media_pad_remote_pad_first(src_pad); in dcmi_pipeline_s_fmt() 685 if (!sink_pad || !is_media_entity_v4l2_subdev(sink_pad->entity)) in dcmi_pipeline_s_fmt() 688 entity = sink_pad->entity; in dcmi_pipeline_s_fmt()
|
/linux-6.12.1/drivers/media/i2c/ccs/ |
D | ccs.h | 186 unsigned short sink_pad; member
|
D | ccs-core.c | 2079 ssd->sink_pad); in ccs_get_crop_compose() 2227 crops[ssd->sink_pad]->left = 0; in ccs_set_format() 2228 crops[ssd->sink_pad]->top = 0; in ccs_set_format() 2229 crops[ssd->sink_pad]->width = fmt->format.width; in ccs_set_format() 2230 crops[ssd->sink_pad]->height = fmt->format.height; in ccs_set_format() 2520 if (sel->pad == ssd->sink_pad) { in ccs_set_crop() 2580 } else if (sel->pad == ssd->sink_pad) { in ccs_get_selection() 2583 ssd->sink_pad); in ccs_get_selection() 2875 u16 source_pad, u16 sink_pad, u32 link_flags) in ccs_register_subdev() argument 2890 &sink_ssd->sd.entity, sink_pad, in ccs_register_subdev() [all …]
|
/linux-6.12.1/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-isp.c | 925 struct media_pad *sink_pad; in rkisp1_isp_s_stream() local 936 sink_pad = &isp->pads[RKISP1_ISP_PAD_SINK_VIDEO]; in rkisp1_isp_s_stream() 937 source_pad = media_pad_remote_pad_unique(sink_pad); in rkisp1_isp_s_stream()
|
/linux-6.12.1/drivers/media/i2c/ |
D | ds90ub960.c | 2303 rx = ub960_pad_to_port(priv, route->sink_pad); in ub960_get_vc_maps() 2432 nport = ub960_pad_to_port(priv, route->sink_pad); in ub960_configure_ports_for_streaming() 2454 fmt = v4l2_subdev_state_get_format(state, route->sink_pad, in ub960_configure_ports_for_streaming() 2592 nport = ub960_pad_to_port(priv, route->sink_pad); in ub960_enable_streams() 2686 nport = ub960_pad_to_port(priv, route->sink_pad); in ub960_disable_streams() 2803 nport = ub960_pad_to_port(priv, route->sink_pad); in ub960_get_frame_desc() 2812 route->sink_pad); in ub960_get_frame_desc() 2916 .sink_pad = 0, in ub960_init_state()
|
/linux-6.12.1/drivers/media/platform/verisilicon/ |
D | hantro.h | 161 struct media_pad sink_pad; member
|
D | hantro_drv.c | 805 func->sink_pad.flags = MEDIA_PAD_FL_SINK; in hantro_attach_func() 807 &func->sink_pad, 1, MEDIA_ENT_F_IO_V4L, in hantro_attach_func()
|
/linux-6.12.1/drivers/media/pci/intel/ipu6/ |
D | ipu6-isys-subdev.c | 310 .sink_pad = 0, in ipu6_isys_subdev_init_state()
|
/linux-6.12.1/drivers/staging/media/tegra-video/ |
D | vi.c | 1369 struct media_pad *sink_pad = &vi_chan->pad; in tegra_v4l2_nodes_setup_tpg() local 1389 sink->name, sink_pad->index); in tegra_v4l2_nodes_setup_tpg() 1392 sink, sink_pad->index, in tegra_v4l2_nodes_setup_tpg() 1398 sink->name, sink_pad->index, ret); in tegra_v4l2_nodes_setup_tpg()
|
/linux-6.12.1/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-capture.c | 1108 struct media_pad *sink_pad, *src_pad; in fimc_pipeline_validate() local 1123 sink_pad = p; in fimc_pipeline_validate() 1124 src_pad = media_pad_remote_pad_first(sink_pad); in fimc_pipeline_validate() 1140 sink_fmt.pad = sink_pad->index; in fimc_pipeline_validate()
|