Home
last modified time | relevance | path

Searched defs:iovad (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/iommu/
Diova.c30 init_iova_domain(struct iova_domain *iovad, unsigned long granule, in init_iova_domain()
57 bool has_iova_flush_queue(struct iova_domain *iovad) in has_iova_flush_queue()
62 static void free_iova_flush_queue(struct iova_domain *iovad) in free_iova_flush_queue()
78 int init_iova_flush_queue(struct iova_domain *iovad, in init_iova_flush_queue()
116 __get_cached_rbnode(struct iova_domain *iovad, unsigned long limit_pfn) in __get_cached_rbnode()
125 __cached_rbnode_insert_update(struct iova_domain *iovad, struct iova *new) in __cached_rbnode_insert_update()
134 __cached_rbnode_delete_update(struct iova_domain *iovad, struct iova *free) in __cached_rbnode_delete_update()
179 static int __alloc_and_insert_iova_range(struct iova_domain *iovad, in __alloc_and_insert_iova_range()
293 alloc_iova(struct iova_domain *iovad, unsigned long size, in alloc_iova()
317 private_find_iova(struct iova_domain *iovad, unsigned long pfn) in private_find_iova()
[all …]
Ddma-iommu.c42 struct iova_domain iovad; member
172 struct iova_domain *iovad = &cookie->iovad; in cookie_init_hw_msi_region() local
195 struct iova_domain *iovad) in iova_reserve_pci_windows()
243 struct iova_domain *iovad = &cookie->iovad; in iova_reserve_iommu_regions() local
277 static void iommu_dma_flush_iotlb_all(struct iova_domain *iovad) in iommu_dma_flush_iotlb_all()
308 struct iova_domain *iovad; in iommu_dma_init_domain() local
408 struct iova_domain *iovad = &cookie->iovad; in iommu_dma_alloc_iova() local
447 struct iova_domain *iovad = &cookie->iovad; in iommu_dma_free_iova() local
465 struct iova_domain *iovad = &cookie->iovad; in __iommu_dma_unmap() local
487 struct iova_domain *iovad = &cookie->iovad; in __iommu_dma_map() local
[all …]
/kernel/linux/linux-5.10/include/linux/
Diova.h105 static inline unsigned long iova_shift(struct iova_domain *iovad) in iova_shift()
110 static inline unsigned long iova_mask(struct iova_domain *iovad) in iova_mask()
115 static inline size_t iova_offset(struct iova_domain *iovad, dma_addr_t iova) in iova_offset()
120 static inline size_t iova_align(struct iova_domain *iovad, size_t size) in iova_align()
125 static inline dma_addr_t iova_dma_addr(struct iova_domain *iovad, struct iova *iova) in iova_dma_addr()
130 static inline unsigned long iova_pfn(struct iova_domain *iovad, dma_addr_t iova) in iova_pfn()
185 static inline void free_iova(struct iova_domain *iovad, unsigned long pfn) in free_iova()
189 static inline void __free_iova(struct iova_domain *iovad, struct iova *iova) in __free_iova()
193 static inline struct iova *alloc_iova(struct iova_domain *iovad, in alloc_iova()
201 static inline void free_iova_fast(struct iova_domain *iovad, in free_iova_fast()
[all …]
Dintel-iommu.h544 struct iova_domain iovad; /* iova's that belong to this domain */ member
/kernel/linux/linux-5.10/drivers/iommu/intel/
Diommu.c1678 static void iommu_flush_iova(struct iova_domain *iovad) in iommu_flush_iova()