Lines Matching refs:iova_cookie

243 	struct iommu_dma_cookie *cookie = domain->iova_cookie;  in iommu_dma_init_fq()
309 if (domain->iova_cookie) in iommu_get_dma_cookie()
312 domain->iova_cookie = cookie_alloc(IOMMU_DMA_IOVA_COOKIE); in iommu_get_dma_cookie()
313 if (!domain->iova_cookie) in iommu_get_dma_cookie()
316 mutex_init(&domain->iova_cookie->mutex); in iommu_get_dma_cookie()
339 if (domain->iova_cookie) in iommu_get_msi_cookie()
347 domain->iova_cookie = cookie; in iommu_get_msi_cookie()
359 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iommu_put_dma_cookie()
375 domain->iova_cookie = NULL; in iommu_put_dma_cookie()
480 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iova_reserve_iommu_regions()
540 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iommu_dma_init_domain()
628 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iommu_dma_alloc_iova()
678 struct iommu_dma_cookie *cookie = domain->iova_cookie; in __iommu_dma_unmap()
701 struct iommu_dma_cookie *cookie = domain->iova_cookie; in __iommu_dma_map()
794 struct iommu_dma_cookie *cookie = domain->iova_cookie; in __iommu_dma_alloc_noncontiguous()
985 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iommu_dma_map_page()
1187 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iommu_dma_map_sg()
1602 struct iommu_dma_cookie *cookie = domain->iova_cookie; in iommu_dma_get_msi_page()
1651 if (!domain || !domain->iova_cookie) { in iommu_dma_prepare_msi()
1685 if (!domain || !domain->iova_cookie || WARN_ON(!msi_page)) in iommu_dma_compose_msi_msg()
1689 msg->address_lo &= cookie_msi_granule(domain->iova_cookie) - 1; in iommu_dma_compose_msi_msg()