Home
last modified time | relevance | path

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

/Linux-v5.15/arch/powerpc/kernel/
Ddma-iommu.c82 return iommu_alloc_coherent(dev, get_iommu_table_base(dev), size, in dma_iommu_alloc_coherent()
91 iommu_free_coherent(get_iommu_table_base(dev), size, vaddr, dma_handle); in dma_iommu_free_coherent()
104 return iommu_map_page(dev, get_iommu_table_base(dev), page, offset, in dma_iommu_map_page()
113 iommu_unmap_page(get_iommu_table_base(dev), dma_handle, size, direction, in dma_iommu_unmap_page()
122 return ppc_iommu_map_sg(dev, get_iommu_table_base(dev), sglist, nelems, in dma_iommu_map_sg()
130 ppc_iommu_unmap_sg(get_iommu_table_base(dev), sglist, nelems, in dma_iommu_unmap_sg()
147 struct iommu_table *tbl = get_iommu_table_base(dev); in dma_iommu_dma_supported()
184 struct iommu_table *tbl = get_iommu_table_base(dev); in dma_iommu_get_required_mask()
/Linux-v5.15/arch/powerpc/platforms/pseries/
Dvio.c493 ret = iommu_alloc_coherent(dev, get_iommu_table_base(dev), size, in vio_dma_iommu_alloc_coherent()
510 iommu_free_coherent(get_iommu_table_base(dev), size, vaddr, dma_handle); in vio_dma_iommu_free_coherent()
520 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_map_page()
544 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_unmap_page()
555 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_map_sg()
590 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_unmap_sg()
710 tbl = get_iommu_table_base(dev); in vio_cmo_bus_probe()
1333 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dev_release()
/Linux-v5.15/arch/powerpc/include/asm/
Diommu.h142 static inline void *get_iommu_table_base(struct device *dev) in get_iommu_table_base() function
241 static inline void *get_iommu_table_base(struct device *dev) in get_iommu_table_base() function
/Linux-v5.15/drivers/net/ethernet/ibm/
Dibmveth.c1579 tbl = get_iommu_table_base(&vdev->dev); in ibmveth_get_desired_dma()
Dibmvnic.c5711 tbl = get_iommu_table_base(&vdev->dev); in ibmvnic_get_desired_dma()