• Home
  • Raw
  • Download

Lines Matching refs:domain

156 static int gart_iommu_attach_dev(struct iommu_domain *domain,  in gart_iommu_attach_dev()  argument
166 domain->priv = gart; in gart_iommu_attach_dev()
168 domain->geometry.aperture_start = gart->iovmm_base; in gart_iommu_attach_dev()
169 domain->geometry.aperture_end = gart->iovmm_base + in gart_iommu_attach_dev()
171 domain->geometry.force_aperture = true; in gart_iommu_attach_dev()
198 static void gart_iommu_detach_dev(struct iommu_domain *domain, in gart_iommu_detach_dev() argument
201 struct gart_device *gart = domain->priv; in gart_iommu_detach_dev()
219 static int gart_iommu_domain_init(struct iommu_domain *domain) in gart_iommu_domain_init() argument
224 static void gart_iommu_domain_destroy(struct iommu_domain *domain) in gart_iommu_domain_destroy() argument
226 struct gart_device *gart = domain->priv; in gart_iommu_domain_destroy()
236 gart_iommu_detach_dev(domain, c->dev); in gart_iommu_domain_destroy()
239 domain->priv = NULL; in gart_iommu_domain_destroy()
242 static int gart_iommu_map(struct iommu_domain *domain, unsigned long iova, in gart_iommu_map() argument
245 struct gart_device *gart = domain->priv; in gart_iommu_map()
265 static size_t gart_iommu_unmap(struct iommu_domain *domain, unsigned long iova, in gart_iommu_unmap() argument
268 struct gart_device *gart = domain->priv; in gart_iommu_unmap()
281 static phys_addr_t gart_iommu_iova_to_phys(struct iommu_domain *domain, in gart_iommu_iova_to_phys() argument
284 struct gart_device *gart = domain->priv; in gart_iommu_iova_to_phys()