Lines Matching full:child
33 * @child: loop variable pointing to the current endpoint node
35 * When breaking out of the loop, of_node_put(child) has to be called manually.
37 #define for_each_endpoint_of_node(parent, child) \ argument
38 for (child = of_graph_get_next_endpoint(parent, NULL); child != NULL; \
39 child = of_graph_get_next_endpoint(parent, child))
44 * @child: loop variable pointing to the current port node
46 * When breaking out of the loop, and continue to use the @child, you need to
47 * use return_ptr(@child) or no_free_ptr(@child) not to call __free() for it.
49 #define for_each_of_graph_port(parent, child) \ argument
50 for (struct device_node *child __free(device_node) = of_graph_get_next_port(parent, NULL);\
51 child != NULL; child = of_graph_get_next_port(parent, child))
56 * @child: loop variable pointing to the current endpoint node
58 * When breaking out of the loop, and continue to use the @child, you need to
59 * use return_ptr(@child) or no_free_ptr(@child) not to call __free() for it.
61 #define for_each_of_graph_port_endpoint(parent, child) \ argument
62 …for (struct device_node *child __free(device_node) = of_graph_get_next_port_endpoint(parent, NULL)…
63 child != NULL; child = of_graph_get_next_port_endpoint(parent, child))