Lines Matching full:sink
121 pad->flags & MEDIA_PAD_FL_SINK ? "sink " : "", in dev_dbg_obj()
260 return link->sink->entity; in media_entity_other()
353 link->sink->entity->name, link->sink->index); in media_graph_walk_iter()
595 link->sink->entity->name, link->sink->index); in media_pipeline_explore_next_link()
607 remote = link->sink; in media_pipeline_explore_next_link()
609 local = link->sink; in media_pipeline_explore_next_link()
765 * 2. Validate all active links whose sink is the current pad. in __media_pipeline_start()
767 * the connected sink pad to avoid duplicating checks. in __media_pipeline_start()
771 if (link->sink != pad && link->source != pad) in __media_pipeline_start()
781 * current pad as its sink. in __media_pipeline_start()
786 if (link->sink != pad) in __media_pipeline_start()
798 link->sink->entity->name, in __media_pipeline_start()
799 link->sink->index, ret); in __media_pipeline_start()
807 link->sink->entity->name, in __media_pipeline_start()
808 link->sink->index); in __media_pipeline_start()
961 remote = link->sink->entity; in __media_entity_remove_link()
1015 struct media_entity *sink, u16 sink_pad, u32 flags) in media_create_pad_link() argument
1020 if (WARN_ON(!source || !sink) || in media_create_pad_link()
1022 WARN_ON(sink_pad >= sink->num_pads)) in media_create_pad_link()
1026 if (WARN_ON(!(sink->pads[sink_pad].flags & MEDIA_PAD_FL_SINK))) in media_create_pad_link()
1034 link->sink = &sink->pads[sink_pad]; in media_create_pad_link()
1044 backlink = media_add_link(&sink->links); in media_create_pad_link()
1051 backlink->sink = &sink->pads[sink_pad]; in media_create_pad_link()
1056 media_gobj_create(sink->graph_obj.mdev, MEDIA_GRAPH_LINK, in media_create_pad_link()
1062 sink->num_backlinks++; in media_create_pad_link()
1063 sink->num_links++; in media_create_pad_link()
1075 struct media_entity *sink, in media_create_pad_links() argument
1085 if (source && sink) in media_create_pad_links()
1087 sink, sink_pad, flags); in media_create_pad_links()
1090 if (!source && !sink) { in media_create_pad_links()
1096 media_device_for_each_entity(sink, mdev) { in media_create_pad_links()
1097 if (sink->function != sink_function) in media_create_pad_links()
1100 sink, sink_pad, in media_create_pad_links()
1126 sink, sink_pad, flags); in media_create_pad_links()
1167 link->source, link->sink, flags); in __media_entity_setup_link_notify()
1171 ret = media_entity_call(link->sink->entity, link_setup, in __media_entity_setup_link_notify()
1172 link->sink, link->source, flags); in __media_entity_setup_link_notify()
1175 link->source, link->sink, link->flags); in __media_entity_setup_link_notify()
1189 struct media_pad *source, *sink; in __media_entity_setup_link() local
1206 sink = link->sink; in __media_entity_setup_link()
1209 (media_pad_is_streaming(source) || media_pad_is_streaming(sink))) in __media_entity_setup_link()
1244 media_entity_find_link(struct media_pad *source, struct media_pad *sink) in media_entity_find_link() argument
1251 link->sink->entity == sink->entity && in media_entity_find_link()
1252 link->sink->index == sink->index) in media_entity_find_link()
1269 return link->sink; in media_pad_remote_pad_first()
1271 if (link->sink == pad) in media_pad_remote_pad_first()
1297 local_pad = link->sink; in media_entity_remote_pad_unique()
1301 remote_pad = link->sink; in media_entity_remote_pad_unique()
1330 if (link->sink == pad) in media_pad_remote_pad_unique()
1333 remote_pad = link->sink; in media_pad_remote_pad_unique()