Lines Matching defs:child
378 * contain a set of child nodes, each providing the init data for one
379 * regulator. The data parsed from a child node will be matched to a regulator
381 * or otherwise the child node's name. Note that the match table is modified
394 struct device_node *child;
417 for_each_child_of_node(node, child) {
418 name = of_get_property(child,
421 name = child->name;
431 of_get_regulator_init_data(dev, child,
436 child);
437 of_node_put(child);
440 match->of_node = of_node_get(child);
454 struct device_node *search, *child;
476 for_each_available_child_of_node(search, child) {
477 name = of_get_property(child, "regulator-compatible", NULL);
480 name = child->name;
482 name = child->full_name;
488 * 'of_node_get(child)' is already performed by the
491 return child;
505 struct device_node *child;
508 child = regulator_of_get_init_node(config->dev, desc);
509 if (!child)
512 init_data = of_get_regulator_init_data(dev, child, desc);
514 dev_err(dev, "failed to parse DT for regulator %pOFn\n", child);
521 ret = desc->of_parse_cb(child, desc, config);
524 of_node_put(child);
529 child);
534 *node = child;
539 of_node_put(child);