Searched refs:root_ops (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | pci.c | 166 struct acpi_pci_root_ops *root_ops; in pci_acpi_scan_root() local 173 root_ops = kzalloc(sizeof(*root_ops), GFP_KERNEL); in pci_acpi_scan_root() 174 if (!root_ops) { in pci_acpi_scan_root() 182 kfree(root_ops); in pci_acpi_scan_root() 186 root_ops->release_info = pci_acpi_generic_release_info; in pci_acpi_scan_root() 187 root_ops->prepare_resources = pci_acpi_root_prepare_resources; in pci_acpi_scan_root() 188 root_ops->pci_ops = (struct pci_ops *)&ri->cfg->ops->pci_ops; in pci_acpi_scan_root() 189 bus = acpi_pci_root_create(root, root_ops, &ri->common, ri->cfg); in pci_acpi_scan_root()
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | pci.c | 179 struct acpi_pci_root_ops *root_ops; in pci_acpi_scan_root() local 186 root_ops = kzalloc(sizeof(*root_ops), GFP_KERNEL); in pci_acpi_scan_root() 187 if (!root_ops) { in pci_acpi_scan_root() 195 kfree(root_ops); in pci_acpi_scan_root() 199 root_ops->release_info = pci_acpi_generic_release_info; in pci_acpi_scan_root() 200 root_ops->prepare_resources = pci_acpi_root_prepare_resources; in pci_acpi_scan_root() 201 root_ops->pci_ops = (struct pci_ops *)&ri->cfg->ops->pci_ops; in pci_acpi_scan_root() 202 bus = acpi_pci_root_create(root, root_ops, &ri->common, ri->cfg); in pci_acpi_scan_root()
|
/kernel/linux/linux-5.10/arch/loongarch/pci/ |
H A D | acpi.c | 195 struct acpi_pci_root_ops *root_ops; in pci_acpi_scan_root() local 206 root_ops = kzalloc(sizeof(*root_ops), GFP_KERNEL); in pci_acpi_scan_root() 207 if (!root_ops) { in pci_acpi_scan_root() 215 kfree(root_ops); in pci_acpi_scan_root() 219 root_ops->release_info = acpi_release_root_info; in pci_acpi_scan_root() 220 root_ops->prepare_resources = acpi_prepare_root_resources; in pci_acpi_scan_root() 221 root_ops->pci_ops = (struct pci_ops *)&info->cfg->ops->pci_ops; in pci_acpi_scan_root() 230 bus = acpi_pci_root_create(root, root_ops, in pci_acpi_scan_root() 234 kfree(root_ops); in pci_acpi_scan_root() [all...] |
/kernel/linux/linux-6.6/arch/loongarch/pci/ |
H A D | acpi.c | 197 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() 231 bus = acpi_pci_root_create(root, root_ops, in pci_acpi_scan_root() 235 kfree(root_ops); in pci_acpi_scan_root() [all...] |
Completed in 2 milliseconds