Home
last modified time | relevance | path

Searched refs:root_ops (Results 1 – 1 of 1) sorted by relevance

/arch/loongarch/pci/
A Dacpi.c198 struct acpi_pci_root_ops *root_ops; in pci_acpi_scan_root() local
208 root_ops = kzalloc(sizeof(*root_ops), GFP_KERNEL); in pci_acpi_scan_root()
209 if (!root_ops) { in pci_acpi_scan_root()
217 kfree(root_ops); in pci_acpi_scan_root()
221 root_ops->release_info = acpi_release_root_info; in pci_acpi_scan_root()
222 root_ops->prepare_resources = acpi_prepare_root_resources; in pci_acpi_scan_root()
223 root_ops->pci_ops = (struct pci_ops *)&info->cfg->ops->pci_ops; in pci_acpi_scan_root()
229 kfree(root_ops); in pci_acpi_scan_root()
233 bus = acpi_pci_root_create(root, root_ops, in pci_acpi_scan_root()
237 kfree(root_ops); in pci_acpi_scan_root()

Completed in 22 milliseconds