Lines Matching defs:child
762 struct device_node *child,
769 ret = of_property_read_u32(child, "reg", &val);
771 dev_err(dev, "missing reg property of %pOFn\n", child);
774 dev_err(dev, "invalid reg %d of %pOFn\n", val, child);
781 if (!of_device_is_available(child)) {
787 of_property_read_string(child, "label", &input->label);
790 if (!of_property_read_u32(child, "shunt-resistor-micro-ohms", &val)) {
793 val, child);
805 struct device_node *child;
814 for_each_child_of_node(np, child) {
815 ret = ina3221_probe_child_from_dt(dev, child, ina);
817 of_node_put(child);