Searched refs:controller_ops (Results 1 – 22 of 22) sorted by relevance
16 if (!phb->controller_ops.setup_msi_irqs || in arch_setup_msi_irqs()17 !phb->controller_ops.teardown_msi_irqs) { in arch_setup_msi_irqs()26 return phb->controller_ops.setup_msi_irqs(dev, nvec, type); in arch_setup_msi_irqs()37 if (phb->controller_ops.teardown_msi_irqs) in arch_teardown_msi_irqs()38 phb->controller_ops.teardown_msi_irqs(dev); in arch_teardown_msi_irqs()
60 if (phb->controller_ops.release_device) in pcibios_release_device()61 phb->controller_ops.release_device(dev); in pcibios_release_device()116 if (phb->controller_ops.probe_mode) in pci_hp_add_devices()117 mode = phb->controller_ops.probe_mode(bus); in pci_hp_add_devices()
216 if (phb->controller_ops.window_alignment) in pcibios_window_alignment()217 return phb->controller_ops.window_alignment(bus, type); in pcibios_window_alignment()231 if (hose->controller_ops.setup_bridge) in pcibios_setup_bridge()232 hose->controller_ops.setup_bridge(bus, type); in pcibios_setup_bridge()239 if (phb->controller_ops.reset_secondary_bus) { in pcibios_reset_secondary_bus()240 phb->controller_ops.reset_secondary_bus(dev); in pcibios_reset_secondary_bus()1049 if (phb->controller_ops.dma_bus_setup) in pcibios_setup_bus_self()1050 phb->controller_ops.dma_bus_setup(bus); in pcibios_setup_bus_self()1067 if (phb->controller_ops.dma_dev_setup) in pcibios_bus_add_device()1068 phb->controller_ops.dma_dev_setup(dev); in pcibios_bus_add_device()[all …]
139 if (iommu_fixed_is_weak || !phb->controller_ops.iommu_bypass_supported) in dma_iommu_bypass_supported()141 return phb->controller_ops.iommu_bypass_supported(pdev, mask); in dma_iommu_bypass_supported()
337 if (phb->controller_ops.probe_mode) in of_scan_pci_bridge()338 mode = phb->controller_ops.probe_mode(bus); in of_scan_pci_bridge()
160 WARN_ON(phb->controller_ops.setup_msi_irqs); in mpic_pasemi_msi_init()161 phb->controller_ops.setup_msi_irqs = pasemi_msi_setup_msi_irqs; in mpic_pasemi_msi_init()162 phb->controller_ops.teardown_msi_irqs = pasemi_msi_teardown_msi_irqs; in mpic_pasemi_msi_init()
252 hose->controller_ops = pasemi_pci_controller_ops; in pas_add_bridge()
194 WARN_ON(phb->controller_ops.setup_msi_irqs); in mpic_u3msi_init()195 phb->controller_ops.setup_msi_irqs = u3msi_setup_msi_irqs; in mpic_u3msi_init()196 phb->controller_ops.teardown_msi_irqs = u3msi_teardown_msi_irqs; in mpic_u3msi_init()
393 void __init iommu_init_early_dart(struct pci_controller_ops *controller_ops) in iommu_init_early_dart() argument417 controller_ops->dma_dev_setup = pci_dma_dev_setup_dart; in iommu_init_early_dart()418 controller_ops->dma_bus_setup = pci_dma_bus_setup_dart; in iommu_init_early_dart()419 controller_ops->iommu_bypass_supported = iommu_bypass_supported_dart; in iommu_init_early_dart()
547 if (!phb->controller_ops.setup_msi_irqs) { in fsl_of_msi_probe()548 phb->controller_ops.setup_msi_irqs = fsl_setup_msi_irqs; in fsl_of_msi_probe()549 phb->controller_ops.teardown_msi_irqs = fsl_teardown_msi_irqs; in fsl_of_msi_probe()550 } else if (phb->controller_ops.setup_msi_irqs != fsl_setup_msi_irqs) { in fsl_of_msi_probe()
125 hose->controller_ops.dma_dev_setup = pci_dma_dev_setup_swiotlb; in setup_swiotlb_ops()
174 phb->controller_ops.setup_msi_irqs = hsta_setup_msi_irqs; in hsta_msi_probe()175 phb->controller_ops.teardown_msi_irqs = hsta_teardown_msi_irqs; in hsta_msi_probe()
251 phb->controller_ops.setup_msi_irqs = ppc4xx_setup_msi_irqs; in ppc4xx_msi_probe()252 phb->controller_ops.teardown_msi_irqs = ppc4xx_teardown_msi_irqs; in ppc4xx_msi_probe()
32 phb->controller_ops = pseries_pci_controller_ops; in init_phb_dynamic()
485 phb->controller_ops = pseries_pci_controller_ops; in pSeries_discover_phbs()
125 phb->controller_ops = cell_pci_controller_ops; in cell_setup_phb()
81 struct pci_controller_ops controller_ops; member
279 extern void iommu_init_early_dart(struct pci_controller_ops *controller_ops);
811 if (hose->controller_ops.shutdown) in pnv_pci_shutdown()812 hose->controller_ops.shutdown(hose); in pnv_pci_shutdown()
3169 hose->controller_ops = pnv_npu_ocapi_ioda_controller_ops; in pnv_pci_init_ioda_phb()3172 hose->controller_ops = pnv_pci_ioda_controller_ops; in pnv_pci_init_ioda_phb()
510 hose->controller_ops = maple_pci_controller_ops; in maple_add_bridge()
797 hose->controller_ops = pmac_pci_controller_ops; in pmac_add_bridge()