Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/kernel/
Ddma-iommu.c44 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()
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dvio.c491 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()
/Linux-v5.4/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.4/drivers/net/ethernet/ibm/
Dibmveth.c1537 tbl = get_iommu_table_base(&vdev->dev); in ibmveth_get_desired_dma()
Dibmvnic.c5095 tbl = get_iommu_table_base(&vdev->dev); in ibmvnic_get_desired_dma()