Lines Matching refs:child
57 struct device_node *child; member
1461 #define for_each_child_of_node(parent, child) \ argument
1462 for (child = of_get_next_child(parent, NULL); child != NULL; \
1463 child = of_get_next_child(parent, child))
1465 #define for_each_child_of_node_scoped(parent, child) \ argument
1466 for (struct device_node *child __free(device_node) = \
1468 child != NULL; \
1469 child = of_get_next_child(parent, child))
1471 #define for_each_available_child_of_node(parent, child) \ argument
1472 for (child = of_get_next_available_child(parent, NULL); child != NULL; \
1473 child = of_get_next_available_child(parent, child))
1474 #define for_each_reserved_child_of_node(parent, child) \ argument
1475 for (child = of_get_next_reserved_child(parent, NULL); child != NULL; \
1476 child = of_get_next_reserved_child(parent, child))
1478 #define for_each_available_child_of_node_scoped(parent, child) \ argument
1479 for (struct device_node *child __free(device_node) = \
1481 child != NULL; \
1482 child = of_get_next_available_child(parent, child))
1494 struct device_node *child; in of_get_child_count() local
1497 for_each_child_of_node(np, child) in of_get_child_count()
1505 struct device_node *child; in of_get_available_child_count() local
1508 for_each_available_child_of_node(np, child) in of_get_available_child_count()