Home
last modified time | relevance | path

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

/linux-6.12.1/arch/loongarch/pci/
Dacpi.c197 struct acpi_pci_root_ops *root_ops; in pci_acpi_scan_root() local
207 root_ops = kzalloc(sizeof(*root_ops), GFP_KERNEL); in pci_acpi_scan_root()
208 if (!root_ops) { in pci_acpi_scan_root()
216 kfree(root_ops); in pci_acpi_scan_root()
220 root_ops->release_info = acpi_release_root_info; in pci_acpi_scan_root()
221 root_ops->prepare_resources = acpi_prepare_root_resources; in pci_acpi_scan_root()
222 root_ops->pci_ops = (struct pci_ops *)&info->cfg->ops->pci_ops; in pci_acpi_scan_root()
228 kfree(root_ops); in pci_acpi_scan_root()
232 bus = acpi_pci_root_create(root, root_ops, in pci_acpi_scan_root()
236 kfree(root_ops); in pci_acpi_scan_root()
/linux-6.12.1/drivers/pci/
Dpci-acpi.c1671 struct acpi_pci_root_ops *root_ops; in pci_acpi_scan_root() local
1678 root_ops = kzalloc(sizeof(*root_ops), GFP_KERNEL); in pci_acpi_scan_root()
1679 if (!root_ops) { in pci_acpi_scan_root()
1687 kfree(root_ops); in pci_acpi_scan_root()
1691 root_ops->release_info = pci_acpi_generic_release_info; in pci_acpi_scan_root()
1692 root_ops->prepare_resources = pci_acpi_root_prepare_resources; in pci_acpi_scan_root()
1693 root_ops->pci_ops = (struct pci_ops *)&ri->cfg->ops->pci_ops; in pci_acpi_scan_root()
1694 bus = acpi_pci_root_create(root, root_ops, &ri->common, ri->cfg); in pci_acpi_scan_root()