Lines Matching refs:regnode
368 struct device_node *regnode = NULL; in of_get_child_regulator() local
372 regnode = of_parse_phandle(child, prop_name, 0); in of_get_child_regulator()
374 if (!regnode) { in of_get_child_regulator()
375 regnode = of_get_child_regulator(child, prop_name); in of_get_child_regulator()
376 if (regnode) in of_get_child_regulator()
386 return regnode; in of_get_child_regulator()
400 struct device_node *regnode = NULL; in of_get_regulator() local
406 regnode = of_parse_phandle(dev->of_node, prop_name, 0); in of_get_regulator()
408 if (!regnode) { in of_get_regulator()
409 regnode = of_get_child_regulator(dev->of_node, prop_name); in of_get_regulator()
410 if (regnode) in of_get_regulator()
411 return regnode; in of_get_regulator()
417 return regnode; in of_get_regulator()