Home
last modified time | relevance | path

Searched refs:sink_pad (Results 1 – 18 of 18) sorted by relevance

/drivers/media/platform/vsp1/
Dvsp1_entity.c62 route = source->sink->route->inputs[source->sink_pad]; in vsp1_entity_route_setup()
441 const struct media_pad *sink_pad, in vsp1_entity_link_setup_source() argument
453 = media_entity_to_vsp1_entity(sink_pad->entity); in vsp1_entity_link_setup_source()
464 source->sink_pad = sink_pad->index; in vsp1_entity_link_setup_source()
468 source->sink_pad = 0; in vsp1_entity_link_setup_source()
475 const struct media_pad *sink_pad, in vsp1_entity_link_setup_sink() argument
481 sink = media_entity_to_vsp1_entity(sink_pad->entity); in vsp1_entity_link_setup_sink()
486 if (sink->sources[sink_pad->index]) in vsp1_entity_link_setup_sink()
489 sink->sources[sink_pad->index] = source; in vsp1_entity_link_setup_sink()
491 sink->sources[sink_pad->index] = NULL; in vsp1_entity_link_setup_sink()
Dvsp1_drm.c80 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()
327 pipe->brx->sink_pad = 0; in vsp1_du_pipeline_setup_brx()
429 rpf->entity.sink_pad = i; in vsp1_du_pipeline_setup_inputs()
963 pipe->output->entity.sink_pad = 0; in vsp1_drm_init()
Dvsp1_entity.h115 unsigned int sink_pad; member
/drivers/media/mc/
Dmc-entity.c661 struct media_entity *sink, u16 sink_pad, u32 flags) in media_create_pad_link() argument
668 WARN_ON(sink_pad >= sink->num_pads)) in media_create_pad_link()
672 if (WARN_ON(!(sink->pads[sink_pad].flags & MEDIA_PAD_FL_SINK))) in media_create_pad_link()
680 link->sink = &sink->pads[sink_pad]; in media_create_pad_link()
697 backlink->sink = &sink->pads[sink_pad]; in media_create_pad_link()
722 const u16 sink_pad, in media_create_pad_links() argument
733 sink, sink_pad, flags); in media_create_pad_links()
746 sink, sink_pad, in media_create_pad_links()
769 entity, sink_pad, flags); in media_create_pad_links()
772 sink, sink_pad, flags); in media_create_pad_links()
/drivers/media/platform/xilinx/
Dxilinx-vipp.c192 struct media_pad *sink_pad; in xvip_graph_build_dma() local
252 sink_pad = &sink->pads[link.remote_port]; in xvip_graph_build_dma()
257 sink_pad = &dma->pad; in xvip_graph_build_dma()
265 sink->name, sink_pad->index); in xvip_graph_build_dma()
268 sink, sink_pad->index, in xvip_graph_build_dma()
274 sink->name, sink_pad->index); in xvip_graph_build_dma()
/drivers/media/test-drivers/vimc/
Dvimc-core.c24 .sink_pad = sinkpad, \
33 u16 sink_pad; member
140 ved_sink->ent, link->sink_pad, in vimc_create_links()
/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_csi.c634 struct media_pad *sink_pad; in sun6i_csi_link_entity() local
648 sink_pad = &csi->video.pad; in sun6i_csi_link_entity()
651 entity->name, src_pad_index, sink->name, sink_pad->index); in sun6i_csi_link_entity()
653 sink_pad->index, in sun6i_csi_link_entity()
659 sink->name, sink_pad->index); in sun6i_csi_link_entity()
/drivers/media/i2c/ccs/
Dccs-core.c2252 crops[ssd->sink_pad]->left = 0; in ccs_set_format()
2253 crops[ssd->sink_pad]->top = 0; in ccs_set_format()
2254 crops[ssd->sink_pad]->width = fmt->format.width; in ccs_set_format()
2255 crops[ssd->sink_pad]->height = fmt->format.height; in ccs_set_format()
2257 ssd->sink_fmt = *crops[ssd->sink_pad]; in ccs_set_format()
2549 if (sel->pad == ssd->sink_pad) in ccs_set_crop()
2554 if (sel->pad == ssd->sink_pad) { in ccs_set_crop()
2568 subdev, sd_state, ssd->sink_pad); in ccs_set_crop()
2620 ssd->sink_pad); in __ccs_get_selection()
2633 else if (sel->pad == ssd->sink_pad) in __ccs_get_selection()
[all …]
Dccs.h201 unsigned short sink_pad; member
/drivers/media/platform/rcar-vin/
Drcar-vin.h112 unsigned int sink_pad; member
Drcar-v4l2.c642 timings->pad = vin->parallel.sink_pad; in rvin_enum_dv_timings()
694 cap->pad = vin->parallel.sink_pad; in rvin_dv_timings_cap()
712 edid->pad = vin->parallel.sink_pad; in rvin_g_edid()
730 edid->pad = vin->parallel.sink_pad; in rvin_s_edid()
Drcar-core.c446 vin->parallel.sink_pad = ret < 0 ? 0 : ret; in rvin_parallel_subdevice_attach()
558 sink, vin->parallel.sink_pad, 0); in rvin_parallel_notify_complete()
596 vin->parallel.sink_pad); in rvin_parallel_notify_bound()
722 struct media_pad *source_pad, *sink_pad; in rvin_group_notify_complete() local
743 sink_pad = &sink->pads[0]; in rvin_group_notify_complete()
746 if (media_entity_find_link(source_pad, sink_pad)) in rvin_group_notify_complete()
/drivers/media/platform/stm32/
Dstm32-dcmi.c609 struct media_pad *sink_pad = NULL; in dcmi_pipeline_s_fmt() local
638 if (sink_pad) in dcmi_pipeline_s_fmt()
639 pad = sink_pad; in dcmi_pipeline_s_fmt()
664 sink_pad = media_entity_remote_pad(src_pad); in dcmi_pipeline_s_fmt()
665 if (!sink_pad || !is_media_entity_v4l2_subdev(sink_pad->entity)) in dcmi_pipeline_s_fmt()
668 entity = sink_pad->entity; in dcmi_pipeline_s_fmt()
/drivers/staging/media/hantro/
Dhantro.h147 struct media_pad sink_pad; member
Dhantro_drv.c660 func->sink_pad.flags = MEDIA_PAD_FL_SINK; in hantro_attach_func()
662 &func->sink_pad, 1, MEDIA_ENT_F_IO_V4L, in hantro_attach_func()
/drivers/staging/media/tegra-video/
Dvi.c1460 struct media_pad *sink_pad = &vi_chan->pad; in tegra_v4l2_nodes_setup_tpg() local
1480 sink->name, sink_pad->index); in tegra_v4l2_nodes_setup_tpg()
1483 sink, sink_pad->index, in tegra_v4l2_nodes_setup_tpg()
1489 sink->name, sink_pad->index, ret); in tegra_v4l2_nodes_setup_tpg()
/drivers/media/platform/exynos4-is/
Dfimc-capture.c1103 struct media_pad *sink_pad, *src_pad; in fimc_pipeline_validate() local
1118 sink_pad = p; in fimc_pipeline_validate()
1119 src_pad = media_entity_remote_pad(sink_pad); in fimc_pipeline_validate()
1135 sink_fmt.pad = sink_pad->index; in fimc_pipeline_validate()
/drivers/media/v4l2-core/
Dv4l2-mem2mem.c100 struct media_pad sink_pad; member
1036 pads = &m2m_dev->sink_pad; in v4l2_m2m_register_entity()