Lines Matching defs:child
427 struct device_node *child;
431 child = of_get_child_by_name(np, "cfg");
432 if (!child) {
433 dev_err(dev, "%pOF is missing its 'cfg' node\n", child);
437 if (of_address_to_resource(child, 0, &res)) {
448 regmap_conf.name = kasprintf(GFP_KERNEL, "%pOFn@%llx", child,
462 ret = pruss_clk_init(pruss, child);
467 of_node_put(child);
475 struct device_node *child;
497 child = of_get_child_by_name(np, "memories");
498 if (!child) {
499 dev_err(dev, "%pOF is missing its 'memories' node\n", child);
511 index = of_property_match_string(child, "reg-names",
514 of_node_put(child);
518 if (of_address_to_resource(child, index, &res)) {
519 of_node_put(child);
528 of_node_put(child);
538 of_node_put(child);
555 dev_err(dev, "failed to register child devices\n");