Searched refs:get_iommu_table_base (Results 1 – 3 of 3) sorted by relevance
/arch/powerpc/kernel/ |
D | dma-iommu.c | 44 return iommu_alloc_coherent(dev, get_iommu_table_base(dev), size, in dma_iommu_alloc_coherent() 56 iommu_free_coherent(get_iommu_table_base(dev), size, vaddr, in dma_iommu_free_coherent() 73 return iommu_map_page(dev, get_iommu_table_base(dev), page, offset, in dma_iommu_map_page() 83 iommu_unmap_page(get_iommu_table_base(dev), dma_handle, size, in dma_iommu_unmap_page() 96 return ppc_iommu_map_sg(dev, get_iommu_table_base(dev), sglist, nelems, in dma_iommu_map_sg() 105 ppc_iommu_unmap_sg(get_iommu_table_base(dev), sglist, nelems, in dma_iommu_unmap_sg() 123 struct iommu_table *tbl = get_iommu_table_base(dev); in dma_iommu_dma_supported() 150 struct iommu_table *tbl = get_iommu_table_base(dev); in dma_iommu_get_required_mask()
|
/arch/powerpc/include/asm/ |
D | iommu.h | 142 static inline void *get_iommu_table_base(struct device *dev) in get_iommu_table_base() function 240 static inline void *get_iommu_table_base(struct device *dev) in get_iommu_table_base() function
|
/arch/powerpc/platforms/pseries/ |
D | vio.c | 491 ret = iommu_alloc_coherent(dev, get_iommu_table_base(dev), size, in vio_dma_iommu_alloc_coherent() 508 iommu_free_coherent(get_iommu_table_base(dev), size, vaddr, dma_handle); in vio_dma_iommu_free_coherent() 518 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_map_page() 542 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_unmap_page() 553 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_map_sg() 587 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_unmap_sg() 705 tbl = get_iommu_table_base(dev); in vio_cmo_bus_probe() 1310 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dev_release()
|