Lines Matching +full:child +full:- +full:node

1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd.
18 * struct of_endpoint - the OF graph endpoint data structure
30 * for_each_endpoint_of_node - iterate over every endpoint in a device node
31 * @parent: parent device node containing ports and endpoints
32 * @child: loop variable pointing to the current endpoint node
34 * When breaking out of the loop, of_node_put(child) has to be called manually.
36 #define for_each_endpoint_of_node(parent, child) \ argument
37 for (child = of_graph_get_next_endpoint(parent, NULL); child != NULL; \
38 child = of_graph_get_next_endpoint(parent, child))
41 bool of_graph_is_present(const struct device_node *node);
42 int of_graph_parse_endpoint(const struct device_node *node,
45 struct device_node *of_graph_get_port_by_id(struct device_node *node, u32 id);
51 const struct device_node *node);
52 struct device_node *of_graph_get_port_parent(struct device_node *node);
54 const struct device_node *node);
55 struct device_node *of_graph_get_remote_port(const struct device_node *node);
56 struct device_node *of_graph_get_remote_node(const struct device_node *node,
60 static inline bool of_graph_is_present(const struct device_node *node) in of_graph_is_present() argument
65 static inline int of_graph_parse_endpoint(const struct device_node *node, in of_graph_parse_endpoint() argument
68 return -ENOSYS; in of_graph_parse_endpoint()
77 struct device_node *node, u32 id) in of_graph_get_port_by_id() argument
96 const struct device_node *node) in of_graph_get_remote_endpoint() argument
102 struct device_node *node) in of_graph_get_port_parent() argument
108 const struct device_node *node) in of_graph_get_remote_port_parent() argument
114 const struct device_node *node) in of_graph_get_remote_port() argument
119 const struct device_node *node, in of_graph_get_remote_node() argument