Home
last modified time | relevance | path

Searched refs:get_iommu_table_base (Results 1 – 5 of 5) sorted by relevance

/arch/powerpc/kernel/
Ddma-iommu.c24 return iommu_alloc_coherent(dev, get_iommu_table_base(dev), size, in dma_iommu_alloc_coherent()
33 iommu_free_coherent(get_iommu_table_base(dev), size, vaddr, dma_handle); in dma_iommu_free_coherent()
46 return iommu_map_page(dev, get_iommu_table_base(dev), page, offset, in dma_iommu_map_page()
55 iommu_unmap_page(get_iommu_table_base(dev), dma_handle, size, direction, in dma_iommu_unmap_page()
64 return ppc_iommu_map_sg(dev, get_iommu_table_base(dev), sglist, nelems, in dma_iommu_map_sg()
72 ppc_iommu_unmap_sg(get_iommu_table_base(dev), sglist, nelems, in dma_iommu_unmap_sg()
79 struct iommu_table *tbl = get_iommu_table_base(dev); in dma_iommu_dma_supported()
98 struct iommu_table *tbl = get_iommu_table_base(dev); in dma_iommu_get_required_mask()
Ddma.c147 iommu = get_iommu_table_base(dev); in dma_direct_alloc_coherent()
168 iommu = get_iommu_table_base(dev); in dma_direct_free_coherent()
306 get_iommu_table_base(dev) == NULL || in dma_set_coherent_mask()
Diommu.c1121 tbl = get_iommu_table_base(dev); in iommu_add_device()
/arch/powerpc/include/asm/
Diommu.h150 static inline void *get_iommu_table_base(struct device *dev) in get_iommu_table_base() function
247 static inline void *get_iommu_table_base(struct device *dev) in get_iommu_table_base() function
/arch/powerpc/platforms/pseries/
Dvio.c524 tbl = get_iommu_table_base(dev); in vio_dma_iommu_map_page()
547 tbl = get_iommu_table_base(dev); in vio_dma_iommu_unmap_page()
563 tbl = get_iommu_table_base(dev); in vio_dma_iommu_map_sg()
599 tbl = get_iommu_table_base(dev); in vio_dma_iommu_unmap_sg()
724 tbl = get_iommu_table_base(dev); in vio_cmo_bus_probe()
1331 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dev_release()