Searched refs:node_child (Results 1 – 2 of 2) sorted by relevance
487 struct device_node *node_child; in cdns_xspi_of_get_plat_data() local490 for_each_child_of_node(node_prop, node_child) { in cdns_xspi_of_get_plat_data()491 if (!of_device_is_available(node_child)) in cdns_xspi_of_get_plat_data()494 if (of_property_read_u32(node_child, "reg", &cs)) { in cdns_xspi_of_get_plat_data()496 of_node_put(node_child); in cdns_xspi_of_get_plat_data()500 of_node_put(node_child); in cdns_xspi_of_get_plat_data()
1485 struct device_node *node_root, *node_child; in vio_bus_scan_register_devices() local1497 node_child = of_get_next_child(node_root, NULL); in vio_bus_scan_register_devices()1498 while (node_child) { in vio_bus_scan_register_devices()1499 vio_register_device_node(node_child); in vio_bus_scan_register_devices()1500 node_child = of_get_next_child(node_root, node_child); in vio_bus_scan_register_devices()