Searched refs:iova_align (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | iova.h | 63 static inline size_t iova_align(struct iova_domain *iovad, size_t size) in iova_align() function
|
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/ |
H A D | iommu.c | 30 size = iova_align(&vde->iova, size); in tegra_vde_iommu_map()
|
/openbmc/linux/drivers/iommu/ |
H A D | dma-iommu.c | 409 num_pages = iova_align(iovad, end - start) >> iova_shift(iovad); in cookie_init_hw_msi_region() 733 size = iova_align(iovad, size + iova_off); in __iommu_dma_unmap() 758 size = iova_align(iovad, size + iova_off); in __iommu_dma_map() 868 size = iova_align(iovad, size); in __iommu_dma_alloc_noncontiguous() 1058 aligned_size = iova_align(iovad, size); in iommu_dma_map_page() 1307 s_length = iova_align(iovad, s_length + s_iova_off); in iommu_dma_map_sg()
|
/openbmc/linux/drivers/staging/media/ipu3/ |
H A D | ipu3-dmamap.c | 203 size = iova_align(&imgu->iova_domain, size); in imgu_dmamap_map_sg()
|
/openbmc/linux/drivers/vdpa/vdpa_user/ |
H A D | iova_domain.c | 359 unsigned long iova_len = iova_align(iovad, size) >> shift; in vduse_domain_alloc_iova() 371 unsigned long iova_len = iova_align(iovad, size) >> shift; in vduse_domain_free_iova()
|
/openbmc/linux/drivers/gpu/host1x/ |
H A D | cdma.c | 91 size = iova_align(&host1x->iova, size); in host1x_pushbuffer_init()
|
H A D | job.c | 241 gather_size = iova_align(&host->iova, gather_size); in pin_job()
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | drm.c | 1016 size = iova_align(&tegra->carveout.domain, size); in tegra_drm_alloc() 1072 size = iova_align(&tegra->carveout.domain, size); in tegra_drm_free()
|