Searched refs:dma_iommu_ops (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/arch/powerpc/kernel/ |
D | dma-iommu.c | 114 struct dma_map_ops dma_iommu_ops = { variable 126 EXPORT_SYMBOL(dma_iommu_ops);
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | vio.c | 495 ret = dma_iommu_ops.alloc(dev, size, dma_handle, flag, attrs); in vio_dma_iommu_alloc_coherent() 510 dma_iommu_ops.free(dev, size, vaddr, dma_handle, attrs); in vio_dma_iommu_free_coherent() 530 ret = dma_iommu_ops.map_page(dev, page, offset, size, direction, attrs); in vio_dma_iommu_map_page() 548 dma_iommu_ops.unmap_page(dev, dma_handle, size, direction, attrs); in vio_dma_iommu_unmap_page() 572 ret = dma_iommu_ops.map_sg(dev, sglist, nelems, direction, attrs); in vio_dma_iommu_map_sg() 603 dma_iommu_ops.unmap_sg(dev, sglist, nelems, direction, attrs); in vio_dma_iommu_unmap_sg() 610 return dma_iommu_ops.dma_supported(dev, mask); in vio_dma_iommu_dma_supported() 615 return dma_iommu_ops.get_required_mask(dev); in vio_dma_get_required_mask() 1444 set_dma_ops(&viodev->dev, &dma_iommu_ops); in vio_register_device_node()
|
D | iommu.c | 1241 if (!ddw_enabled && get_dma_ops(dev) != &dma_iommu_ops) { in dma_set_mask_pSeriesLP() 1243 set_dma_ops(dev, &dma_iommu_ops); in dma_set_mask_pSeriesLP() 1276 return dma_iommu_ops.get_required_mask(dev); in dma_get_required_mask_pSeriesLP() 1382 set_pci_dma_ops(&dma_iommu_ops); in iommu_init_early_pSeries()
|
/Linux-v4.19/arch/powerpc/sysdev/ |
D | dart_iommu.c | 409 set_dma_ops(dev, &dma_iommu_ops); in dart_dma_set_mask() 441 set_pci_dma_ops(&dma_iommu_ops); in iommu_init_early_dart()
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | dma-mapping.h | 74 extern struct dma_map_ops dma_iommu_ops;
|
/Linux-v4.19/arch/powerpc/platforms/pasemi/ |
D | iommu.c | 270 set_pci_dma_ops(&dma_iommu_ops); in iommu_init_early_pasemi()
|
/Linux-v4.19/arch/powerpc/platforms/cell/ |
D | iommu.c | 662 if (get_pci_dma_ops() == &dma_iommu_ops) in cell_dma_dev_setup() 1123 dma_iommu_ops.dma_supported = dma_suported_and_switch; in cell_iommu_fixed_mapping_init() 1124 set_pci_dma_ops(&dma_iommu_ops); in cell_iommu_fixed_mapping_init() 1212 set_pci_dma_ops(&dma_iommu_ops); in cell_iommu_init()
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | pci.c | 1127 set_pci_dma_ops(&dma_iommu_ops); in pnv_pci_init()
|
D | pci-ioda.c | 1738 WARN_ON(get_dma_ops(&pdev->dev) != &dma_iommu_ops); in pnv_pci_ioda_dma_dev_setup() 1893 set_dma_ops(&pdev->dev, &dma_iommu_ops); in pnv_pci_ioda_dma_set_mask()
|