Lines Matching full:graph
26 * enum media_gobj_type - type of a graph object
45 /* Structs to represent the objects that belong to a media graph */
48 * struct media_gobj - Define a graph object.
57 * All objects on the media graph should have this struct embedded
80 * struct media_graph - Media graph traversal state
82 * @stack: Graph traversal stack; the stack contains information
85 * @stack.entity: pointer to &struct media_entity at the graph.
154 * struct media_link - A link object part of a media graph.
223 * struct media_pad - A media pad graph object.
315 * struct media_entity - A media entity graph object.
391 * struct media_interface - A media interface graph object.
393 * @graph_obj: embedded graph object
394 * @links: List of links pointing to graph entities
429 * media_entity_id() - return the media entity graph object id
441 * @gobj: Pointer to the struct &media_gobj graph object
451 * @gobj: Pointer to the struct &media_gobj graph object
629 * @gobj: Pointer to the struct &media_gobj graph object
638 * @gobj: Pointer to the struct &media_gobj graph object
647 * @gobj: Pointer to the struct &media_gobj graph object
656 * @gobj: Pointer to the struct &media_gobj graph object
671 * media_gobj_create - Initialize a graph object
675 * @gobj: Pointer to the struct &media_gobj graph object
678 * media graph object. It is called automatically if ``media_*_create``
688 * media_gobj_destroy - Stop using a graph object on a media device
690 * @gobj: Pointer to the struct &media_gobj graph object
693 * that remove/destroy media graph objects.
1086 * media_graph_walk_init - Allocate resources used by graph walk.
1088 * @graph: Media graph structure that will be used to walk the graph
1093 * The caller is required to hold the media_device graph_mutex during the graph
1094 * walk until the graph state is released.
1099 struct media_graph *graph, struct media_device *mdev);
1102 * media_graph_walk_cleanup - Release resources used by graph walk.
1104 * @graph: Media graph structure that will be used to walk the graph
1108 void media_graph_walk_cleanup(struct media_graph *graph);
1111 * media_graph_walk_start - Start walking the media graph at a
1114 * @graph: Media graph structure that will be used to walk the graph
1120 * used to allocate resources used for walking the graph. This
1121 * function initializes the graph traversal structure to walk the
1122 * entities graph starting at the given entity. The traversal
1123 * structure must not be modified by the caller during graph
1124 * traversal. After the graph walk, the resources must be released
1127 void media_graph_walk_start(struct media_graph *graph,
1131 * media_graph_walk_next - Get the next entity in the graph
1132 * @graph: Media graph structure
1136 * Perform a depth-first traversal of the given media entities graph.
1138 * The graph structure must have been previously initialized with a call to
1141 * Return: returns the next entity in the graph or %NULL if the whole graph
1144 struct media_entity *media_graph_walk_next(struct media_graph *graph);