Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/kernel/
Dmsi.c20 if (!phb->controller_ops.setup_msi_irqs || in arch_setup_msi_irqs()
21 !phb->controller_ops.teardown_msi_irqs) { in arch_setup_msi_irqs()
30 return phb->controller_ops.setup_msi_irqs(dev, nvec, type); in arch_setup_msi_irqs()
37 phb->controller_ops.teardown_msi_irqs(dev); in arch_teardown_msi_irqs()
Dpci-hotplug.c65 if (phb->controller_ops.release_device) in pcibios_release_device()
66 phb->controller_ops.release_device(dev); in pcibios_release_device()
117 if (phb->controller_ops.probe_mode) in pci_hp_add_devices()
118 mode = phb->controller_ops.probe_mode(bus); in pci_hp_add_devices()
Dpci-common.c207 if (phb->controller_ops.window_alignment) in pcibios_window_alignment()
208 return phb->controller_ops.window_alignment(bus, type); in pcibios_window_alignment()
222 if (hose->controller_ops.setup_bridge) in pcibios_setup_bridge()
223 hose->controller_ops.setup_bridge(bus, type); in pcibios_setup_bridge()
230 if (phb->controller_ops.reset_secondary_bus) { in pcibios_reset_secondary_bus()
231 phb->controller_ops.reset_secondary_bus(dev); in pcibios_reset_secondary_bus()
961 if (phb->controller_ops.dma_bus_setup) in pcibios_setup_bus_self()
962 phb->controller_ops.dma_bus_setup(bus); in pcibios_setup_bus_self()
979 if (phb->controller_ops.dma_dev_setup) in pcibios_setup_device()
980 phb->controller_ops.dma_dev_setup(dev); in pcibios_setup_device()
[all …]
Ddma.c318 if (phb->controller_ops.dma_set_mask) in dma_set_mask()
319 return phb->controller_ops.dma_set_mask(pdev, dma_mask); in dma_set_mask()
350 if (phb->controller_ops.dma_get_required_mask) in dma_get_required_mask()
351 return phb->controller_ops.dma_get_required_mask(pdev); in dma_get_required_mask()
Dpci_of_scan.c289 if (phb->controller_ops.probe_mode) in of_scan_pci_bridge()
290 mode = phb->controller_ops.probe_mode(bus); in of_scan_pci_bridge()
/Linux-v4.19/arch/powerpc/sysdev/
Ddart_iommu.c416 void __init iommu_init_early_dart(struct pci_controller_ops *controller_ops) in iommu_init_early_dart() argument
437 controller_ops->dma_dev_setup = pci_dma_dev_setup_dart; in iommu_init_early_dart()
438 controller_ops->dma_bus_setup = pci_dma_bus_setup_dart; in iommu_init_early_dart()
446 controller_ops->dma_dev_setup = NULL; in iommu_init_early_dart()
447 controller_ops->dma_bus_setup = NULL; in iommu_init_early_dart()
Dmpic_u3msi.c199 WARN_ON(phb->controller_ops.setup_msi_irqs); in mpic_u3msi_init()
200 phb->controller_ops.setup_msi_irqs = u3msi_setup_msi_irqs; in mpic_u3msi_init()
201 phb->controller_ops.teardown_msi_irqs = u3msi_teardown_msi_irqs; in mpic_u3msi_init()
Dfsl_msi.c554 if (!phb->controller_ops.setup_msi_irqs) { in fsl_of_msi_probe()
555 phb->controller_ops.setup_msi_irqs = fsl_setup_msi_irqs; in fsl_of_msi_probe()
556 phb->controller_ops.teardown_msi_irqs = fsl_teardown_msi_irqs; in fsl_of_msi_probe()
557 } else if (phb->controller_ops.setup_msi_irqs != fsl_setup_msi_irqs) { in fsl_of_msi_probe()
Dfsl_pci.c120 hose->controller_ops.dma_dev_setup = pci_dma_dev_setup_swiotlb; in setup_swiotlb_ops()
/Linux-v4.19/arch/powerpc/platforms/pasemi/
Dmsi.c165 WARN_ON(phb->controller_ops.setup_msi_irqs); in mpic_pasemi_msi_init()
166 phb->controller_ops.setup_msi_irqs = pasemi_msi_setup_msi_irqs; in mpic_pasemi_msi_init()
167 phb->controller_ops.teardown_msi_irqs = pasemi_msi_teardown_msi_irqs; in mpic_pasemi_msi_init()
Dpci.c204 hose->controller_ops = pasemi_pci_controller_ops; in pas_add_bridge()
/Linux-v4.19/arch/powerpc/platforms/4xx/
Dhsta_msi.c178 phb->controller_ops.setup_msi_irqs = hsta_setup_msi_irqs; in hsta_msi_probe()
179 phb->controller_ops.teardown_msi_irqs = hsta_teardown_msi_irqs; in hsta_msi_probe()
Dmsi.c265 phb->controller_ops.setup_msi_irqs = ppc4xx_setup_msi_irqs; in ppc4xx_msi_probe()
266 phb->controller_ops.teardown_msi_irqs = ppc4xx_teardown_msi_irqs; in ppc4xx_msi_probe()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dmsi.c521 WARN_ON(phb->controller_ops.setup_msi_irqs); in rtas_msi_init()
522 phb->controller_ops.setup_msi_irqs = rtas_setup_msi_irqs; in rtas_msi_init()
523 phb->controller_ops.teardown_msi_irqs = rtas_teardown_msi_irqs; in rtas_msi_init()
Dpci_dlpar.c48 phb->controller_ops = pseries_pci_controller_ops; in init_phb_dynamic()
Dsetup.c469 phb->controller_ops = pseries_pci_controller_ops; in find_and_init_phbs()
/Linux-v4.19/arch/powerpc/platforms/cell/
Dsetup.c130 phb->controller_ops = cell_pci_controller_ops; in cell_setup_phb()
/Linux-v4.19/arch/powerpc/include/asm/
Dpci-bridge.h84 struct pci_controller_ops controller_ops; member
Diommu.h287 extern void iommu_init_early_dart(struct pci_controller_ops *controller_ops);
/Linux-v4.19/drivers/misc/cxl/
Dvphb.c266 phb->controller_ops = cxl_pci_controller_ops; in cxl_pci_vphb_add()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dpci.c1077 if (hose->controller_ops.shutdown) in pnv_pci_shutdown()
1078 hose->controller_ops.shutdown(hose); in pnv_pci_shutdown()
Dpci-ioda.c3959 hose->controller_ops = pnv_npu_ioda_controller_ops; in pnv_pci_init_ioda_phb()
3962 hose->controller_ops = pnv_npu_ocapi_ioda_controller_ops; in pnv_pci_init_ioda_phb()
3966 hose->controller_ops = pnv_pci_ioda_controller_ops; in pnv_pci_init_ioda_phb()
/Linux-v4.19/arch/powerpc/platforms/maple/
Dpci.c514 hose->controller_ops = maple_pci_controller_ops; in maple_add_bridge()
/Linux-v4.19/arch/powerpc/platforms/powermac/
Dpci.c803 hose->controller_ops = pmac_pci_controller_ops; in pmac_add_bridge()