Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/kernel/
Ddma-iommu.c25 return iommu_alloc_coherent(dev, get_iommu_table_base(dev), size, in dma_iommu_alloc_coherent()
34 iommu_free_coherent(get_iommu_table_base(dev), size, vaddr, dma_handle); in dma_iommu_free_coherent()
47 return iommu_map_page(dev, get_iommu_table_base(dev), page, offset, in dma_iommu_map_page()
56 iommu_unmap_page(get_iommu_table_base(dev), dma_handle, size, direction, in dma_iommu_unmap_page()
65 return ppc_iommu_map_sg(dev, get_iommu_table_base(dev), sglist, nelems, in dma_iommu_map_sg()
73 ppc_iommu_unmap_sg(get_iommu_table_base(dev), sglist, nelems, in dma_iommu_unmap_sg()
90 struct iommu_table *tbl = get_iommu_table_base(dev); in dma_iommu_dma_supported()
117 struct iommu_table *tbl = get_iommu_table_base(dev); in dma_iommu_get_required_mask()
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dvio.c492 ret = iommu_alloc_coherent(dev, get_iommu_table_base(dev), size, in vio_dma_iommu_alloc_coherent()
509 iommu_free_coherent(get_iommu_table_base(dev), size, vaddr, dma_handle); in vio_dma_iommu_free_coherent()
519 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_map_page()
543 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_unmap_page()
554 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_map_sg()
588 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_unmap_sg()
708 tbl = get_iommu_table_base(dev); in vio_cmo_bus_probe()
1315 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dev_release()
/Linux-v5.10/arch/powerpc/include/asm/
Diommu.h142 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
/Linux-v5.10/drivers/net/ethernet/ibm/
Dibmveth.c1574 tbl = get_iommu_table_base(&vdev->dev); in ibmveth_get_desired_dma()
Dibmvnic.c5412 tbl = get_iommu_table_base(&vdev->dev); in ibmvnic_get_desired_dma()