Lines Matching +full:parent +full:- +full:child
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))
46 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent,
49 const struct device_node *parent, int port_reg, int reg);
68 return -ENOSYS; in of_graph_parse_endpoint()
83 const struct device_node *parent, in of_graph_get_next_endpoint() argument
90 const struct device_node *parent, int port_reg, int reg) in of_graph_get_endpoint_by_regs() argument