Lines Matching refs:sink
132 struct media_entity *sink; in __media_enum_links() local
135 sink = exynos_media_get_entity_by_id(media, link->sink.entity); in __media_enum_links()
136 if (source == NULL || sink == NULL) { in __media_enum_links()
140 link->sink.entity, in __media_enum_links()
141 link->sink.index); in __media_enum_links()
146 fwdlink->sink = &sink->pads[link->sink.index]; in __media_enum_links()
149 backlink = __media_entity_add_link(sink); in __media_enum_links()
151 backlink->sink = &sink->pads[link->sink.index]; in __media_enum_links()
385 if (link->sink == pad) in exynos_media_entity_remote_source()
460 struct media_pad *sink, in exynos_media_setup_link() argument
473 link->sink->entity == sink->entity && in exynos_media_setup_link()
474 link->sink->index == sink->index) in exynos_media_setup_link()
489 ulink.sink.entity = sink->entity->info.id; in exynos_media_setup_link()
490 ulink.sink.index = sink->index; in exynos_media_setup_link()
491 ulink.sink.flags = MEDIA_PAD_FL_SINK; in exynos_media_setup_link()
530 ret = exynos_media_setup_link(media, link->source, link->sink, in exynos_media_reset_links()
676 struct media_pad *sink; in exynos_media_parse_link() local
688 sink = exynos_media_parse_pad(media, p, &end); in exynos_media_parse_link()
689 if (sink == NULL) in exynos_media_parse_link()
697 if (link->source == source && link->sink == sink) in exynos_media_parse_link()
747 link->sink->entity->info.id, link->sink->index, in exynos_media_parse_setup_link()
750 return exynos_media_setup_link(media, link->source, link->sink, flags); in exynos_media_parse_setup_link()