Searched refs:dma_iommu_ops (Results 1 – 9 of 9) sorted by relevance
/arch/powerpc/kernel/ |
D | dma-iommu.c | 108 struct dma_map_ops dma_iommu_ops = { variable 119 EXPORT_SYMBOL(dma_iommu_ops);
|
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() 1428 set_dma_ops(&viodev->dev, &dma_iommu_ops); in vio_register_device_node()
|
/arch/powerpc/sysdev/ |
D | dart_iommu.c | 364 set_dma_ops(dev, &dma_iommu_ops); in dart_dma_set_mask() 402 set_pci_dma_ops(&dma_iommu_ops); in iommu_init_early_dart()
|
/arch/powerpc/platforms/pasemi/ |
D | iommu.c | 255 set_pci_dma_ops(&dma_iommu_ops); in iommu_init_early_pasemi()
|
/arch/powerpc/platforms/cell/ |
D | iommu.c | 664 else if (get_pci_dma_ops() == &dma_iommu_ops) in cell_dma_dev_setup() 1134 dma_iommu_ops.set_dma_mask = dma_set_mask_and_switch; in cell_iommu_fixed_mapping_init() 1135 set_pci_dma_ops(&dma_iommu_ops); in cell_iommu_fixed_mapping_init() 1225 set_pci_dma_ops(&dma_iommu_ops); in cell_iommu_init()
|
/arch/powerpc/include/asm/ |
D | dma-mapping.h | 76 extern struct dma_map_ops dma_iommu_ops;
|
/arch/powerpc/platforms/pseries/ |
D | iommu.c | 1166 if (!ddw_enabled && get_dma_ops(dev) != &dma_iommu_ops) { in dma_set_mask_pSeriesLP() 1168 set_dma_ops(dev, &dma_iommu_ops); in dma_set_mask_pSeriesLP() 1202 return dma_iommu_ops.get_required_mask(dev); in dma_get_required_mask_pSeriesLP() 1326 set_pci_dma_ops(&dma_iommu_ops); in iommu_init_early_pSeries()
|
/arch/powerpc/platforms/powernv/ |
D | pci.c | 862 set_pci_dma_ops(&dma_iommu_ops); in pnv_pci_init()
|
D | pci-ioda.c | 861 WARN_ON(get_dma_ops(&pdev->dev) != &dma_iommu_ops); in pnv_pci_ioda_dma_dev_setup() 888 set_dma_ops(&pdev->dev, &dma_iommu_ops); in pnv_pci_ioda_dma_set_mask()
|