Lines Matching defs:child
519 struct device_node *child,
528 err = of_property_read_u32(child, "reg", &channel);
530 dev_err(dev, "missing reg property of %pOFn\n", child);
535 dev_err(dev, "invalid reg %d of %pOFn\n", channel, child);
539 of_property_read_string(child, "label", &data->channel[channel].label);
541 data->channel[channel].enabled = of_device_is_available(child);
543 err = of_property_read_s32(child, "ti,n-factor", &nfactor);
568 struct device_node *child;
571 for_each_child_of_node(np, child) {
572 if (strcmp(child->name, "channel"))
575 err = tmp464_probe_child_from_dt(dev, child, data);
577 of_node_put(child);