Searched refs:root_ops (Results 1 – 2 of 2) sorted by relevance
203 struct acpi_pci_root_ops *root_ops; in pci_acpi_scan_root() local213 root_ops = kzalloc_obj(*root_ops); in pci_acpi_scan_root()214 if (!root_ops) { in pci_acpi_scan_root()222 kfree(root_ops); in pci_acpi_scan_root()226 root_ops->release_info = acpi_release_root_info; in pci_acpi_scan_root()227 root_ops->prepare_resources = acpi_prepare_root_resources; in pci_acpi_scan_root()228 root_ops->pci_ops = (struct pci_ops *)&info->cfg->ops->pci_ops; in pci_acpi_scan_root()234 kfree(root_ops); in pci_acpi_scan_root()238 bus = acpi_pci_root_create(root, root_ops, in pci_acpi_scan_root()242 kfree(root_ops); in pci_acpi_scan_root()
1663 struct acpi_pci_root_ops *root_ops; in pci_acpi_scan_root() local1670 root_ops = kzalloc_obj(*root_ops); in pci_acpi_scan_root()1671 if (!root_ops) { in pci_acpi_scan_root()1679 kfree(root_ops); in pci_acpi_scan_root()1683 root_ops->release_info = pci_acpi_generic_release_info; in pci_acpi_scan_root()1684 root_ops->prepare_resources = pci_acpi_root_prepare_resources; in pci_acpi_scan_root()1685 root_ops->pci_ops = (struct pci_ops *)&ri->cfg->ops->pci_ops; in pci_acpi_scan_root()1686 bus = acpi_pci_root_create(root, root_ops, &ri->common, ri->cfg); in pci_acpi_scan_root()