iova_domain 44 drivers/gpu/drm/tegra/drm.h struct iova_domain domain; iova_domain 118 drivers/gpu/host1x/dev.h struct iova_domain iova; iova_domain 105 drivers/iommu/amd_iommu.c static void iova_domain_flush_tlb(struct iova_domain *iovad); iova_domain 115 drivers/iommu/amd_iommu.c struct iova_domain iovad; iova_domain 118 drivers/iommu/amd_iommu.c static struct iova_domain reserved_iova_ranges; iova_domain 1877 drivers/iommu/amd_iommu.c static void iova_domain_flush_tlb(struct iova_domain *iovad) iova_domain 42 drivers/iommu/dma-iommu.c struct iova_domain iovad; iova_domain 172 drivers/iommu/dma-iommu.c struct iova_domain *iovad = &cookie->iovad; iova_domain 195 drivers/iommu/dma-iommu.c struct iova_domain *iovad) iova_domain 241 drivers/iommu/dma-iommu.c struct iova_domain *iovad = &cookie->iovad; iova_domain 275 drivers/iommu/dma-iommu.c static void iommu_dma_flush_iotlb_all(struct iova_domain *iovad) iova_domain 306 drivers/iommu/dma-iommu.c struct iova_domain *iovad; iova_domain 388 drivers/iommu/dma-iommu.c struct iova_domain *iovad = &cookie->iovad; iova_domain 428 drivers/iommu/dma-iommu.c struct iova_domain *iovad = &cookie->iovad; iova_domain 446 drivers/iommu/dma-iommu.c struct iova_domain *iovad = &cookie->iovad; iova_domain 468 drivers/iommu/dma-iommu.c struct iova_domain *iovad = &cookie->iovad; iova_domain 569 drivers/iommu/dma-iommu.c struct iova_domain *iovad = &cookie->iovad; iova_domain 815 drivers/iommu/dma-iommu.c struct iova_domain *iovad = &cookie->iovad; iova_domain 1532 drivers/iommu/intel-iommu.c static void iommu_flush_iova(struct iova_domain *iovad) iova_domain 1786 drivers/iommu/intel-iommu.c static struct iova_domain reserved_iova_list; iova_domain 18 drivers/iommu/iova.c static bool iova_rcache_insert(struct iova_domain *iovad, iova_domain 21 drivers/iommu/iova.c static unsigned long iova_rcache_get(struct iova_domain *iovad, iova_domain 24 drivers/iommu/iova.c static void init_iova_rcaches(struct iova_domain *iovad); iova_domain 25 drivers/iommu/iova.c static void free_iova_rcaches(struct iova_domain *iovad); iova_domain 26 drivers/iommu/iova.c static void fq_destroy_all_entries(struct iova_domain *iovad); iova_domain 30 drivers/iommu/iova.c init_iova_domain(struct iova_domain *iovad, unsigned long granule, iova_domain 57 drivers/iommu/iova.c bool has_iova_flush_queue(struct iova_domain *iovad) iova_domain 62 drivers/iommu/iova.c static void free_iova_flush_queue(struct iova_domain *iovad) iova_domain 79 drivers/iommu/iova.c int init_iova_flush_queue(struct iova_domain *iovad, iova_domain 117 drivers/iommu/iova.c __get_cached_rbnode(struct iova_domain *iovad, unsigned long limit_pfn) iova_domain 126 drivers/iommu/iova.c __cached_rbnode_insert_update(struct iova_domain *iovad, struct iova *new) iova_domain 135 drivers/iommu/iova.c __cached_rbnode_delete_update(struct iova_domain *iovad, struct iova *free) iova_domain 180 drivers/iommu/iova.c static int __alloc_and_insert_iova_range(struct iova_domain *iovad, iova_domain 294 drivers/iommu/iova.c alloc_iova(struct iova_domain *iovad, unsigned long size, iova_domain 318 drivers/iommu/iova.c private_find_iova(struct iova_domain *iovad, unsigned long pfn) iova_domain 338 drivers/iommu/iova.c static void private_free_iova(struct iova_domain *iovad, struct iova *iova) iova_domain 353 drivers/iommu/iova.c struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn) iova_domain 373 drivers/iommu/iova.c __free_iova(struct iova_domain *iovad, struct iova *iova) iova_domain 391 drivers/iommu/iova.c free_iova(struct iova_domain *iovad, unsigned long pfn) iova_domain 412 drivers/iommu/iova.c alloc_iova_fast(struct iova_domain *iovad, unsigned long size, iova_domain 450 drivers/iommu/iova.c free_iova_fast(struct iova_domain *iovad, unsigned long pfn, unsigned long size) iova_domain 479 drivers/iommu/iova.c static void fq_ring_free(struct iova_domain *iovad, struct iova_fq *fq) iova_domain 502 drivers/iommu/iova.c static void iova_domain_flush(struct iova_domain *iovad) iova_domain 509 drivers/iommu/iova.c static void fq_destroy_all_entries(struct iova_domain *iovad) iova_domain 532 drivers/iommu/iova.c struct iova_domain *iovad = from_timer(iovad, t, fq_timer); iova_domain 549 drivers/iommu/iova.c void queue_iova(struct iova_domain *iovad, iova_domain 593 drivers/iommu/iova.c void put_iova_domain(struct iova_domain *iovad) iova_domain 630 drivers/iommu/iova.c __insert_new_range(struct iova_domain *iovad, iova_domain 661 drivers/iommu/iova.c reserve_iova(struct iova_domain *iovad, iova_domain 706 drivers/iommu/iova.c copy_reserved_iova(struct iova_domain *from, struct iova_domain *to) iova_domain 729 drivers/iommu/iova.c split_and_remove_iova(struct iova_domain *iovad, struct iova *iova, iova_domain 801 drivers/iommu/iova.c iova_magazine_free_pfns(struct iova_magazine *mag, struct iova_domain *iovad) iova_domain 860 drivers/iommu/iova.c static void init_iova_rcaches(struct iova_domain *iovad) iova_domain 889 drivers/iommu/iova.c static bool __iova_rcache_insert(struct iova_domain *iovad, iova_domain 937 drivers/iommu/iova.c static bool iova_rcache_insert(struct iova_domain *iovad, unsigned long pfn, iova_domain 992 drivers/iommu/iova.c static unsigned long iova_rcache_get(struct iova_domain *iovad, iova_domain 1007 drivers/iommu/iova.c static void free_iova_rcaches(struct iova_domain *iovad) iova_domain 1030 drivers/iommu/iova.c void free_cpu_cached_iovas(unsigned int cpu, struct iova_domain *iovad) iova_domain 102 drivers/misc/mic/scif/scif_rma.h struct iova_domain iovad; iova_domain 96 drivers/staging/media/ipu3/ipu3-dmamap.c unsigned long shift = iova_shift(&imgu->iova_domain); iova_domain 106 drivers/staging/media/ipu3/ipu3-dmamap.c iova = alloc_iova(&imgu->iova_domain, size >> shift, iova_domain 116 drivers/staging/media/ipu3/ipu3-dmamap.c iovaddr = iova_dma_addr(&imgu->iova_domain, iova); iova_domain 137 drivers/staging/media/ipu3/ipu3-dmamap.c map->daddr = iova_dma_addr(&imgu->iova_domain, iova); iova_domain 150 drivers/staging/media/ipu3/ipu3-dmamap.c imgu_mmu_unmap(imgu->mmu, iova_dma_addr(&imgu->iova_domain, iova), iova_domain 155 drivers/staging/media/ipu3/ipu3-dmamap.c __free_iova(&imgu->iova_domain, iova); iova_domain 164 drivers/staging/media/ipu3/ipu3-dmamap.c iova = find_iova(&imgu->iova_domain, iova_domain 165 drivers/staging/media/ipu3/ipu3-dmamap.c iova_pfn(&imgu->iova_domain, map->daddr)); iova_domain 169 drivers/staging/media/ipu3/ipu3-dmamap.c imgu_mmu_unmap(imgu->mmu, iova_dma_addr(&imgu->iova_domain, iova), iova_domain 170 drivers/staging/media/ipu3/ipu3-dmamap.c iova_size(iova) << iova_shift(&imgu->iova_domain)); iova_domain 172 drivers/staging/media/ipu3/ipu3-dmamap.c __free_iova(&imgu->iova_domain, iova); iova_domain 201 drivers/staging/media/ipu3/ipu3-dmamap.c unsigned long shift = iova_shift(&imgu->iova_domain); iova_domain 217 drivers/staging/media/ipu3/ipu3-dmamap.c size = iova_align(&imgu->iova_domain, size); iova_domain 221 drivers/staging/media/ipu3/ipu3-dmamap.c iova = alloc_iova(&imgu->iova_domain, size >> shift, iova_domain 229 drivers/staging/media/ipu3/ipu3-dmamap.c if (imgu_mmu_map_sg(imgu->mmu, iova_dma_addr(&imgu->iova_domain, iova), iova_domain 234 drivers/staging/media/ipu3/ipu3-dmamap.c map->daddr = iova_dma_addr(&imgu->iova_domain, iova); iova_domain 240 drivers/staging/media/ipu3/ipu3-dmamap.c __free_iova(&imgu->iova_domain, iova); iova_domain 255 drivers/staging/media/ipu3/ipu3-dmamap.c init_iova_domain(&imgu->iova_domain, 1UL << order, base_pfn); iova_domain 262 drivers/staging/media/ipu3/ipu3-dmamap.c put_iova_domain(&imgu->iova_domain); iova_domain 139 drivers/staging/media/ipu3/ipu3.h struct iova_domain iova_domain; iova_domain 48 drivers/staging/media/tegra-vde/vde.h struct iova_domain iova; iova_domain 494 include/linux/intel-iommu.h struct iova_domain iovad; /* iova's that belong to this domain */ iova_domain 38 include/linux/iova.h struct iova_domain; iova_domain 41 include/linux/iova.h typedef void (* iova_flush_cb)(struct iova_domain *domain); iova_domain 105 include/linux/iova.h static inline unsigned long iova_shift(struct iova_domain *iovad) iova_domain 110 include/linux/iova.h static inline unsigned long iova_mask(struct iova_domain *iovad) iova_domain 115 include/linux/iova.h static inline size_t iova_offset(struct iova_domain *iovad, dma_addr_t iova) iova_domain 120 include/linux/iova.h static inline size_t iova_align(struct iova_domain *iovad, size_t size) iova_domain 125 include/linux/iova.h static inline dma_addr_t iova_dma_addr(struct iova_domain *iovad, struct iova *iova) iova_domain 130 include/linux/iova.h static inline unsigned long iova_pfn(struct iova_domain *iovad, dma_addr_t iova) iova_domain 141 include/linux/iova.h void free_iova(struct iova_domain *iovad, unsigned long pfn); iova_domain 142 include/linux/iova.h void __free_iova(struct iova_domain *iovad, struct iova *iova); iova_domain 143 include/linux/iova.h struct iova *alloc_iova(struct iova_domain *iovad, unsigned long size, iova_domain 146 include/linux/iova.h void free_iova_fast(struct iova_domain *iovad, unsigned long pfn, iova_domain 148 include/linux/iova.h void queue_iova(struct iova_domain *iovad, iova_domain 151 include/linux/iova.h unsigned long alloc_iova_fast(struct iova_domain *iovad, unsigned long size, iova_domain 153 include/linux/iova.h struct iova *reserve_iova(struct iova_domain *iovad, unsigned long pfn_lo, iova_domain 155 include/linux/iova.h void copy_reserved_iova(struct iova_domain *from, struct iova_domain *to); iova_domain 156 include/linux/iova.h void init_iova_domain(struct iova_domain *iovad, unsigned long granule, iova_domain 158 include/linux/iova.h bool has_iova_flush_queue(struct iova_domain *iovad); iova_domain 159 include/linux/iova.h int init_iova_flush_queue(struct iova_domain *iovad, iova_domain 161 include/linux/iova.h struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn); iova_domain 162 include/linux/iova.h void put_iova_domain(struct iova_domain *iovad); iova_domain 163 include/linux/iova.h struct iova *split_and_remove_iova(struct iova_domain *iovad, iova_domain 165 include/linux/iova.h void free_cpu_cached_iovas(unsigned int cpu, struct iova_domain *iovad); iova_domain 185 include/linux/iova.h static inline void free_iova(struct iova_domain *iovad, unsigned long pfn) iova_domain 189 include/linux/iova.h static inline void __free_iova(struct iova_domain *iovad, struct iova *iova) iova_domain 193 include/linux/iova.h static inline struct iova *alloc_iova(struct iova_domain *iovad, iova_domain 201 include/linux/iova.h static inline void free_iova_fast(struct iova_domain *iovad, iova_domain 207 include/linux/iova.h static inline void queue_iova(struct iova_domain *iovad, iova_domain 213 include/linux/iova.h static inline unsigned long alloc_iova_fast(struct iova_domain *iovad, iova_domain 221 include/linux/iova.h static inline struct iova *reserve_iova(struct iova_domain *iovad, iova_domain 228 include/linux/iova.h static inline void copy_reserved_iova(struct iova_domain *from, iova_domain 229 include/linux/iova.h struct iova_domain *to) iova_domain 233 include/linux/iova.h static inline void init_iova_domain(struct iova_domain *iovad, iova_domain 239 include/linux/iova.h static inline bool has_iova_flush_queue(struct iova_domain *iovad) iova_domain 244 include/linux/iova.h static inline int init_iova_flush_queue(struct iova_domain *iovad, iova_domain 251 include/linux/iova.h static inline struct iova *find_iova(struct iova_domain *iovad, iova_domain 257 include/linux/iova.h static inline void put_iova_domain(struct iova_domain *iovad) iova_domain 261 include/linux/iova.h static inline struct iova *split_and_remove_iova(struct iova_domain *iovad, iova_domain 270 include/linux/iova.h struct iova_domain *iovad)