Searched refs:child_nodes (Results 1 – 1 of 1) sorted by relevance
459 int child_nodes, rc = -ENOMEM, enabled_ports = 0; in ahci_platform_get_resources() local549 child_nodes = of_get_child_count(dev->of_node); in ahci_platform_get_resources()550 if (child_nodes > AHCI_MAX_PORTS) { in ahci_platform_get_resources()560 if (child_nodes) in ahci_platform_get_resources()561 hpriv->nports = child_nodes; in ahci_platform_get_resources()580 if (child_nodes) { in ahci_platform_get_resources()