Home
last modified time | relevance | path

Searched refs:iova_domain (Results 1 – 13 of 13) sorted by relevance

/linux/include/linux/
A Diova.h38 struct iova_domain;
41 typedef void (* iova_flush_cb)(struct iova_domain *domain);
68 struct iova_domain { struct
140 void free_iova(struct iova_domain *iovad, unsigned long pfn);
147 void queue_iova(struct iova_domain *iovad,
156 int init_iova_flush_queue(struct iova_domain *iovad,
159 void put_iova_domain(struct iova_domain *iovad);
186 static inline void free_iova_fast(struct iova_domain *iovad, in free_iova_fast()
192 static inline void queue_iova(struct iova_domain *iovad, in queue_iova()
213 static inline void init_iova_domain(struct iova_domain *iovad, in init_iova_domain()
[all …]
A Dintel-iommu.h552 struct iova_domain iovad; /* iova's that belong to this domain */
/linux/drivers/staging/media/ipu3/
A Dipu3-dmamap.c96 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()
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()
163 __free_iova(&imgu->iova_domain, iova); in imgu_dmamap_unmap()
203 size = iova_align(&imgu->iova_domain, size); in imgu_dmamap_map_sg()
226 __free_iova(&imgu->iova_domain, iova); in imgu_dmamap_map_sg()
[all …]
A Dipu3.h134 struct iova_domain iova_domain; member
/linux/drivers/iommu/
A Diova.c18 static bool iova_rcache_insert(struct iova_domain *iovad,
21 static unsigned long iova_rcache_get(struct iova_domain *iovad,
24 static void init_iova_rcaches(struct iova_domain *iovad);
26 static void free_iova_rcaches(struct iova_domain *iovad);
32 struct iova_domain *iovad; in iova_cpuhp_dead()
98 int init_iova_flush_queue(struct iova_domain *iovad, in init_iova_flush_queue()
466 free_iova(struct iova_domain *iovad, unsigned long pfn) in free_iova()
632 void queue_iova(struct iova_domain *iovad, in queue_iova()
685 void put_iova_domain(struct iova_domain *iovad) in put_iova_domain()
725 __insert_new_range(struct iova_domain *iovad, in __insert_new_range()
[all …]
A Ddma-iommu.c44 struct iova_domain iovad;
192 struct iova_domain *iovad = &cookie->iovad; in cookie_init_hw_msi_region()
215 struct iova_domain *iovad) in iova_reserve_pci_windows()
263 struct iova_domain *iovad = &cookie->iovad; in iova_reserve_iommu_regions()
359 struct iova_domain *iovad; in iommu_dma_init_domain()
435 struct iova_domain *iovad = &cookie->iovad; in iommu_dma_alloc_iova()
474 struct iova_domain *iovad = &cookie->iovad; in iommu_dma_free_iova()
493 struct iova_domain *iovad = &cookie->iovad; in __iommu_dma_unmap()
516 struct iova_domain *iovad = &cookie->iovad; in __iommu_dma_map()
609 struct iova_domain *iovad = &cookie->iovad; in __iommu_dma_alloc_noncontiguous()
[all …]
/linux/drivers/vdpa/vdpa_user/
A Diova_domain.h28 struct iova_domain stream_iovad;
29 struct iova_domain consistent_iovad;
A Diova_domain.c288 vduse_domain_alloc_iova(struct iova_domain *iovad, in vduse_domain_alloc_iova()
308 static void vduse_domain_free_iova(struct iova_domain *iovad, in vduse_domain_free_iova()
322 struct iova_domain *iovad = &domain->stream_iovad; in vduse_domain_map_page()
349 struct iova_domain *iovad = &domain->stream_iovad; in vduse_domain_unmap_page()
362 struct iova_domain *iovad = &domain->consistent_iovad; in vduse_domain_alloc_coherent()
396 struct iova_domain *iovad = &domain->consistent_iovad; in vduse_domain_free_coherent()
A DMakefile3 vduse-y := vduse_dev.o iova_domain.o
/linux/drivers/staging/media/tegra-vde/
A Dvde.h48 struct iova_domain iova;
/linux/drivers/vdpa/vdpa_sim/
A Dvdpa_sim.h61 struct iova_domain iova;
/linux/drivers/gpu/drm/tegra/
A Ddrm.h48 struct iova_domain domain;
/linux/drivers/gpu/host1x/
A Ddev.h125 struct iova_domain iova;

Completed in 31 milliseconds