Lines Matching defs:child
387 * contain a set of child nodes, each providing the init data for one
388 * regulator. The data parsed from a child node will be matched to a regulator
390 * or otherwise the child node's name. Note that the match table is modified
403 struct device_node *child;
426 for_each_child_of_node(node, child) {
427 name = of_get_property(child,
430 name = child->name;
440 of_get_regulator_init_data(dev, child,
445 child);
446 of_node_put(child);
449 match->of_node = of_node_get(child);
463 struct device_node *search, *child;
485 for_each_available_child_of_node(search, child) {
486 name = of_get_property(child, "regulator-compatible", NULL);
489 name = child->name;
491 name = child->full_name;
497 * 'of_node_get(child)' is already performed by the
500 return child;
514 struct device_node *child;
517 child = regulator_of_get_init_node(config->dev, desc);
518 if (!child)
521 init_data = of_get_regulator_init_data(dev, child, desc);
523 dev_err(dev, "failed to parse DT for regulator %pOFn\n", child);
530 ret = desc->of_parse_cb(child, desc, config);
533 of_node_put(child);
538 child);
543 *node = child;
548 of_node_put(child);