Lines Matching refs:iommu_dma_cookie
60 struct iommu_dma_cookie { struct
149 static void fq_ring_free_locked(struct iommu_dma_cookie *cookie, struct iova_fq *fq) in fq_ring_free_locked()
170 static void fq_ring_free(struct iommu_dma_cookie *cookie, struct iova_fq *fq) in fq_ring_free()
179 static void fq_flush_iotlb(struct iommu_dma_cookie *cookie) in fq_flush_iotlb()
188 struct iommu_dma_cookie *cookie = from_timer(cookie, t, fq_timer); in fq_flush_timeout()
202 static void queue_iova(struct iommu_dma_cookie *cookie, in queue_iova()
278 static void iommu_dma_free_fq(struct iommu_dma_cookie *cookie) in iommu_dma_free_fq()
304 static int iommu_dma_init_fq_single(struct iommu_dma_cookie *cookie) in iommu_dma_init_fq_single()
318 static int iommu_dma_init_fq_percpu(struct iommu_dma_cookie *cookie) in iommu_dma_init_fq_percpu()
338 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iommu_dma_init_fq()
368 static inline size_t cookie_msi_granule(struct iommu_dma_cookie *cookie) in cookie_msi_granule()
375 static struct iommu_dma_cookie *cookie_alloc(enum iommu_dma_cookie_type type) in cookie_alloc()
377 struct iommu_dma_cookie *cookie; in cookie_alloc()
418 struct iommu_dma_cookie *cookie; in iommu_get_msi_cookie()
443 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iommu_put_dma_cookie()
483 static int cookie_init_hw_msi_region(struct iommu_dma_cookie *cookie, in cookie_init_hw_msi_region()
566 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iova_reserve_iommu_regions()
673 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iommu_dma_init_domain()
765 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iommu_dma_alloc_iova()
808 static void iommu_dma_free_iova(struct iommu_dma_cookie *cookie, in iommu_dma_free_iova()
829 struct iommu_dma_cookie *cookie = domain->iova_cookie; in __iommu_dma_unmap()
852 struct iommu_dma_cookie *cookie = domain->iova_cookie; in __iommu_dma_map()
946 struct iommu_dma_cookie *cookie = domain->iova_cookie; in __iommu_dma_alloc_noncontiguous()
1171 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iommu_dma_map_page()
1380 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iommu_dma_map_sg()
1768 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iommu_dma_get_msi_page()