Searched refs:child_nodes (Results 1 – 1 of 1) sorted by relevance
457 int child_nodes, rc = -ENOMEM, enabled_ports = 0; in ahci_platform_get_resources() local546 child_nodes = of_get_child_count(dev->of_node); in ahci_platform_get_resources()547 if (child_nodes > AHCI_MAX_PORTS) { in ahci_platform_get_resources()557 if (child_nodes) in ahci_platform_get_resources()558 hpriv->nports = child_nodes; in ahci_platform_get_resources()577 if (child_nodes) { in ahci_platform_get_resources()