Lines Matching full:graph
24 * enum media_gobj_type - type of a graph object
43 /* Structs to represent the objects that belong to a media graph */
46 * struct media_gobj - Define a graph object.
55 * All objects on the media graph should have this struct embedded
78 * struct media_graph - Media graph traversal state
80 * @stack: Graph traversal stack; the stack contains information
83 * @stack.entity: pointer to &struct media_entity at the graph.
102 * @graph: Media graph walk during pipeline start / stop
106 struct media_graph graph; member
110 * struct media_link - A link object part of a media graph.
179 * struct media_pad - A media pad graph object.
251 * struct media_entity - A media entity graph object.
321 * struct media_interface - A media interface graph object.
323 * @graph_obj: embedded graph object
324 * @links: List of links pointing to graph entities
359 * media_entity_id() - return the media entity graph object id
371 * @gobj: Pointer to the struct &media_gobj graph object
381 * @gobj: Pointer to the struct &media_gobj graph object
559 * @gobj: Pointer to the struct &media_gobj graph object
568 * @gobj: Pointer to the struct &media_gobj graph object
577 * @gobj: Pointer to the struct &media_gobj graph object
586 * @gobj: Pointer to the struct &media_gobj graph object
601 * media_gobj_create - Initialize a graph object
605 * @gobj: Pointer to the struct &media_gobj graph object
608 * media graph object. It is called automatically if ``media_*_create``
618 * media_gobj_destroy - Stop using a graph object on a media device
620 * @gobj: Pointer to the struct &media_gobj graph object
623 * that remove/destroy media graph objects.
884 * media_graph_walk_init - Allocate resources used by graph walk.
886 * @graph: Media graph structure that will be used to walk the graph
889 * The caller is required to hold the media_device graph_mutex during the graph
890 * walk until the graph state is released.
895 struct media_graph *graph, struct media_device *mdev);
898 * media_graph_walk_cleanup - Release resources used by graph walk.
900 * @graph: Media graph structure that will be used to walk the graph
902 void media_graph_walk_cleanup(struct media_graph *graph);
905 * media_graph_walk_start - Start walking the media graph at a
908 * @graph: Media graph structure that will be used to walk the graph
912 * used to allocate resources used for walking the graph. This
913 * function initializes the graph traversal structure to walk the
914 * entities graph starting at the given entity. The traversal
915 * structure must not be modified by the caller during graph
916 * traversal. After the graph walk, the resources must be released
919 void media_graph_walk_start(struct media_graph *graph,
923 * media_graph_walk_next - Get the next entity in the graph
924 * @graph: Media graph structure
926 * Perform a depth-first traversal of the given media entities graph.
928 * The graph structure must have been previously initialized with a call to
931 * Return: returns the next entity in the graph or %NULL if the whole graph
934 struct media_entity *media_graph_walk_next(struct media_graph *graph);