Home
last modified time | relevance | path

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

/linux/arch/powerpc/kernel/
H A Dmsi.c16 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()
H A Dpci-hotplug.c61 if (phb->controller_ops.release_device) in pcibios_release_device()
62 phb->controller_ops.release_device(dev); in pcibios_release_device()
147 if (phb->controller_ops.probe_mode) in pci_hp_add_devices()
148 mode = phb->controller_ops.probe_mode(bus); in pci_hp_add_devices()
H A Dpci_of_scan.c337 if (phb->controller_ops.probe_mode) in of_scan_pci_bridge()
338 mode = phb->controller_ops.probe_mode(bus); in of_scan_pci_bridge()
H A Diommu.c1255 if (!hose->controller_ops.device_group) in spapr_tce_iommu_device_group()
1258 return hose->controller_ops.device_group(hose, pdev); in spapr_tce_iommu_device_group()
/linux/arch/powerpc/platforms/pasemi/
H A Dmsi.c156 WARN_ON(phb->controller_ops.setup_msi_irqs); in mpic_pasemi_msi_init()
157 phb->controller_ops.setup_msi_irqs = pasemi_msi_setup_msi_irqs; in mpic_pasemi_msi_init()
158 phb->controller_ops.teardown_msi_irqs = pasemi_msi_teardown_msi_irqs; in mpic_pasemi_msi_init()
H A Dpci.c253 hose->controller_ops = pasemi_pci_controller_ops; in pas_add_bridge()
/linux/arch/powerpc/sysdev/
H A Ddart_iommu.c389 void __init iommu_init_early_dart(struct pci_controller_ops *controller_ops) in iommu_init_early_dart() argument
413 controller_ops->dma_dev_setup = pci_dma_dev_setup_dart; in iommu_init_early_dart()
414 controller_ops->dma_bus_setup = pci_dma_bus_setup_dart; in iommu_init_early_dart()
415 controller_ops->iommu_bypass_supported = iommu_bypass_supported_dart; in iommu_init_early_dart()
H A Dmpic_u3msi.c190 WARN_ON(phb->controller_ops.setup_msi_irqs); in mpic_u3msi_init()
191 phb->controller_ops.setup_msi_irqs = u3msi_setup_msi_irqs; in mpic_u3msi_init()
192 phb->controller_ops.teardown_msi_irqs = u3msi_teardown_msi_irqs; in mpic_u3msi_init()
H A Dfsl_msi.c542 if (!phb->controller_ops.setup_msi_irqs) { in fsl_of_msi_probe()
543 phb->controller_ops.setup_msi_irqs = fsl_setup_msi_irqs; in fsl_of_msi_probe()
544 phb->controller_ops.teardown_msi_irqs = fsl_teardown_msi_irqs; in fsl_of_msi_probe()
545 } else if (phb->controller_ops.setup_msi_irqs != fsl_setup_msi_irqs) { in fsl_of_msi_probe()
H A Dfsl_pci.c127 hose->controller_ops.dma_dev_setup = pci_dma_dev_setup_swiotlb; in setup_swiotlb_ops()
/linux/drivers/mtd/spi-nor/
H A Dcore.c166 return nor->controller_ops->read_reg(nor, opcode, buf, len); in spi_nor_controller_ops_read_reg()
175 return nor->controller_ops->write_reg(nor, opcode, buf, len); in spi_nor_controller_ops_write_reg()
183 return nor->controller_ops->erase(nor, offs); in spi_nor_controller_ops_erase()
247 return nor->controller_ops->read(nor, from, len, buf); in spi_nor_read_data()
307 return nor->controller_ops->write(nor, to, len, buf); in spi_nor_write_data()
435 ret = nor->controller_ops->read_reg(nor, SPINOR_OP_RDID, id, in spi_nor_read_id()
1187 if (nor->controller_ops && nor->controller_ops->prepare) in spi_nor_prep()
1188 ret = nor->controller_ops->prepare(nor); in spi_nor_prep()
1195 if (nor->controller_ops && nor->controller_ops->unprepare) in spi_nor_unprep()
1196 nor->controller_ops->unprepare(nor); in spi_nor_unprep()
[all …]
/linux/arch/powerpc/platforms/44x/
H A Dhsta_msi.c173 phb->controller_ops.setup_msi_irqs = hsta_setup_msi_irqs; in hsta_msi_probe()
174 phb->controller_ops.teardown_msi_irqs = hsta_teardown_msi_irqs; in hsta_msi_probe()
/linux/arch/powerpc/platforms/pseries/
H A Dpci_dlpar.c46 phb->controller_ops = pseries_pci_controller_ops; in init_phb_dynamic()
H A Dsetup.c515 phb->controller_ops = pseries_pci_controller_ops; in pSeries_discover_phbs()
/linux/drivers/mtd/spi-nor/controllers/
H A Dnxp-spifi.c267 nor->controller_ops->read_reg(nor, SPINOR_OP_RDID, id, in nxp_spifi_dummy_id_read()
345 spifi->nor.controller_ops = &nxp_spifi_controller_ops; in nxp_spifi_setup_flash()
H A Dhisi-sfc.c369 nor->controller_ops = &hisi_controller_ops; in hisi_spi_nor_register()
/linux/arch/powerpc/platforms/cell/
H A Dsetup.c125 phb->controller_ops = cell_pci_controller_ops; in cell_setup_phb()
/linux/arch/powerpc/include/asm/
H A Dpci-bridge.h85 struct pci_controller_ops controller_ops; member
H A Diommu.h287 extern void iommu_init_early_dart(struct pci_controller_ops *controller_ops);
/linux/drivers/misc/cxl/
H A Dvphb.c242 phb->controller_ops = cxl_pci_controller_ops; in cxl_pci_vphb_add()
/linux/include/linux/mtd/
H A Dspi-nor.h413 const struct spi_nor_controller_ops *controller_ops; member
/linux/arch/powerpc/platforms/powernv/
H A Dpci.c810 if (hose->controller_ops.shutdown) in pnv_pci_shutdown()
811 hose->controller_ops.shutdown(hose); in pnv_pci_shutdown()
H A Dpci-ioda.c2763 hose->controller_ops = pnv_npu_ocapi_ioda_controller_ops; in pnv_pci_init_ioda_phb()
2766 hose->controller_ops = pnv_pci_ioda_controller_ops; in pnv_pci_init_ioda_phb()
/linux/arch/powerpc/platforms/maple/
H A Dpci.c510 hose->controller_ops = maple_pci_controller_ops; in maple_add_bridge()
/linux/arch/powerpc/platforms/powermac/
H A Dpci.c798 hose->controller_ops = pmac_pci_controller_ops; in pmac_add_bridge()