Searched refs:iova_domain (Results 1 – 11 of 11) sorted by relevance
/drivers/staging/media/ipu3/ |
D | ipu3-dmamap.c | 96 unsigned long shift = iova_shift(&imgu->iova_domain); in imgu_dmamap_alloc() 107 iova = alloc_iova(&imgu->iova_domain, size >> shift, in imgu_dmamap_alloc() 117 iovaddr = iova_dma_addr(&imgu->iova_domain, iova); in imgu_dmamap_alloc() 133 map->daddr = iova_dma_addr(&imgu->iova_domain, iova); in imgu_dmamap_alloc() 142 imgu_mmu_unmap(imgu->mmu, iova_dma_addr(&imgu->iova_domain, iova), in imgu_dmamap_alloc() 146 __free_iova(&imgu->iova_domain, iova); in imgu_dmamap_alloc() 155 iova = find_iova(&imgu->iova_domain, in imgu_dmamap_unmap() 156 iova_pfn(&imgu->iova_domain, map->daddr)); in imgu_dmamap_unmap() 160 imgu_mmu_unmap(imgu->mmu, iova_dma_addr(&imgu->iova_domain, iova), in imgu_dmamap_unmap() 161 iova_size(iova) << iova_shift(&imgu->iova_domain)); in imgu_dmamap_unmap() [all …]
|
D | ipu3.h | 134 struct iova_domain iova_domain; member
|
/drivers/iommu/ |
D | iova.c | 21 static bool iova_rcache_insert(struct iova_domain *iovad, 24 static unsigned long iova_rcache_get(struct iova_domain *iovad, 27 static void free_cpu_cached_iovas(unsigned int cpu, struct iova_domain *iovad); 28 static void free_iova_rcaches(struct iova_domain *iovad); 37 struct iova_domain *iovad; in iova_cpuhp_dead() 39 iovad = hlist_entry_safe(node, struct iova_domain, cpuhp_dead); in iova_cpuhp_dead() 45 static void free_global_cached_iovas(struct iova_domain *iovad); 53 init_iova_domain(struct iova_domain *iovad, unsigned long granule, in init_iova_domain() 79 __get_cached_rbnode(struct iova_domain *iovad, unsigned long limit_pfn) in __get_cached_rbnode() 88 __cached_rbnode_insert_update(struct iova_domain *iovad, struct iova *new) in __cached_rbnode_insert_update() [all …]
|
D | dma-iommu.c | 55 struct iova_domain iovad; 407 struct iova_domain *iovad = &cookie->iovad; in cookie_init_hw_msi_region() 439 struct iova_domain *iovad) in iova_reserve_pci_windows() 488 struct iova_domain *iovad = &cookie->iovad; in iova_reserve_iommu_regions() 549 struct iova_domain *iovad; in iommu_dma_init_domain() 643 struct iova_domain *iovad = &cookie->iovad; in iommu_dma_alloc_iova() 676 struct iova_domain *iovad = &cookie->iovad; in iommu_dma_free_iova() 697 struct iova_domain *iovad = &cookie->iovad; in __iommu_dma_unmap() 720 struct iova_domain *iovad = &cookie->iovad; in __iommu_dma_map() 814 struct iova_domain *iovad = &cookie->iovad; in __iommu_dma_alloc_noncontiguous() [all …]
|
/drivers/vdpa/vdpa_user/ |
D | iova_domain.h | 29 struct iova_domain stream_iovad; 30 struct iova_domain consistent_iovad;
|
D | iova_domain.c | 355 vduse_domain_alloc_iova(struct iova_domain *iovad, in vduse_domain_alloc_iova() 367 static void vduse_domain_free_iova(struct iova_domain *iovad, in vduse_domain_free_iova() 381 struct iova_domain *iovad = &domain->stream_iovad; in vduse_domain_map_page() 413 struct iova_domain *iovad = &domain->stream_iovad; in vduse_domain_unmap_page() 428 struct iova_domain *iovad = &domain->consistent_iovad; in vduse_domain_alloc_coherent() 462 struct iova_domain *iovad = &domain->consistent_iovad; in vduse_domain_free_coherent()
|
D | Makefile | 3 vduse-y := vduse_dev.o iova_domain.o
|
/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.h | 63 struct iova_domain iova;
|
/drivers/gpu/drm/tegra/ |
D | drm.h | 48 struct iova_domain domain;
|
/drivers/media/platform/nvidia/tegra-vde/ |
D | vde.h | 116 struct iova_domain iova;
|
/drivers/gpu/host1x/ |
D | dev.h | 137 struct iova_domain iova;
|