Lines Matching refs:regnode
434 struct device_node *regnode = NULL; in of_get_child_regulator() local
438 regnode = of_parse_phandle(child, prop_name, 0); in of_get_child_regulator()
440 if (!regnode) { in of_get_child_regulator()
441 regnode = of_get_child_regulator(child, prop_name); in of_get_child_regulator()
442 if (regnode) in of_get_child_regulator()
452 return regnode; in of_get_child_regulator()
466 struct device_node *regnode = NULL; in of_get_regulator() local
472 regnode = of_parse_phandle(dev->of_node, prop_name, 0); in of_get_regulator()
474 if (!regnode) { in of_get_regulator()
475 regnode = of_get_child_regulator(dev->of_node, prop_name); in of_get_regulator()
476 if (regnode) in of_get_regulator()
477 return regnode; in of_get_regulator()
483 return regnode; in of_get_regulator()