Lines Matching refs:child
216 struct device_node *child; in of_regulator_match() local
239 for_each_child_of_node(node, child) { in of_regulator_match()
240 name = of_get_property(child, in of_regulator_match()
243 name = child->name; in of_regulator_match()
253 of_get_regulator_init_data(dev, child, in of_regulator_match()
258 child->name); in of_regulator_match()
261 match->of_node = of_node_get(child); in of_regulator_match()
276 struct device_node *search, *child; in regulator_of_get_init_data() local
295 for_each_child_of_node(search, child) { in regulator_of_get_init_data()
296 name = of_get_property(child, "regulator-compatible", NULL); in regulator_of_get_init_data()
298 name = child->name; in regulator_of_get_init_data()
303 init_data = of_get_regulator_init_data(dev, child, desc); in regulator_of_get_init_data()
307 child->name); in regulator_of_get_init_data()
312 if (desc->of_parse_cb(child, desc, config)) { in regulator_of_get_init_data()
315 child->name); in regulator_of_get_init_data()
321 of_node_get(child); in regulator_of_get_init_data()
322 *node = child; in regulator_of_get_init_data()