Lines Matching refs:child
234 struct device_node *child; in of_regulator_match() local
257 for_each_child_of_node(node, child) { in of_regulator_match()
258 name = of_get_property(child, in of_regulator_match()
261 name = child->name; in of_regulator_match()
271 of_get_regulator_init_data(dev, child, in of_regulator_match()
276 child->name); in of_regulator_match()
279 match->of_node = of_node_get(child); in of_regulator_match()
294 struct device_node *search, *child; in regulator_of_get_init_data() local
313 for_each_available_child_of_node(search, child) { in regulator_of_get_init_data()
314 name = of_get_property(child, "regulator-compatible", NULL); in regulator_of_get_init_data()
316 name = child->name; in regulator_of_get_init_data()
321 init_data = of_get_regulator_init_data(dev, child, desc); in regulator_of_get_init_data()
325 child->name); in regulator_of_get_init_data()
330 if (desc->of_parse_cb(child, desc, config)) { in regulator_of_get_init_data()
333 child->name); in regulator_of_get_init_data()
339 of_node_get(child); in regulator_of_get_init_data()
340 *node = child; in regulator_of_get_init_data()