Searched refs:child_nodes (Results 1 – 2 of 2) sorted by relevance
392 int i, enabled_ports = 0, rc = -ENOMEM, child_nodes; in ahci_platform_get_resources() local458 child_nodes = of_get_child_count(dev->of_node); in ahci_platform_get_resources()459 if (child_nodes > AHCI_MAX_PORTS) { in ahci_platform_get_resources()469 if (child_nodes) in ahci_platform_get_resources()470 hpriv->nports = child_nodes; in ahci_platform_get_resources()489 if (child_nodes) { in ahci_platform_get_resources()
1214 child_nodes = list(node.GetChildren())1215 extended_attributes = self._take_extended_attributes(child_nodes)1217 - members = map(self._build_interface_member, child_nodes)1218 + members = list(map(self._build_interface_member, child_nodes))1223 child_nodes = list(node.GetChildren())1224 inherited = self._take_inheritance(child_nodes)1225 extended_attributes = self._take_extended_attributes(child_nodes)1226 - own_members = map(self._build_dictionary_member, child_nodes)1227 + own_members = list(map(self._build_dictionary_member, child_nodes))1233 child_nodes = list(node.GetChildren())[all …]