Lines Matching defs:child
342 * The regulators are tied to child node device and not to the
413 struct device_node *child;
422 for_each_child_of_node(dev->of_node, child) {
423 if (!of_device_is_available(child))
426 if (of_property_read_u32(child, "reg", &port)) {
427 of_node_put(child);
431 if (!of_property_read_u32(child, "hba-port-cap", &hpriv->saved_port_cap[port]))
463 struct device_node *child;
582 for_each_child_of_node(dev->of_node, child) {
586 if (!of_device_is_available(child))
589 if (of_property_read_u32(child, "reg", &port)) {
591 of_node_put(child);
602 of_platform_device_create(child, NULL, NULL);
604 port_dev = of_find_device_by_node(child);
610 of_node_put(child);
616 rc = ahci_platform_get_phy(hpriv, port, dev, child);
618 of_node_put(child);