Lines Matching defs:child
351 struct device_node *child;
360 for_each_available_child_of_node(np, child) {
363 ret = of_address_to_resource(child, 0, &res[0]);
367 ret = of_address_to_resource(child, 1, &res[1]);
371 ret = of_irq_to_resource(child, 0, &res[2]);
376 pdevinfo.fwnode = &child->fwnode;
378 pdevinfo.name = child->name;
390 new_pdev->dev.of_node = child;
391 of_dma_configure(&new_pdev->dev, child, true);
396 of_msi_configure(&new_pdev->dev, child);
404 of_node_put(child);
414 struct device_node *child;
416 for_each_matching_node(child, hidma_mgmt_match) {
418 hidma_mgmt_of_populate_channels(child);