Searched refs:gart_domain (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/iommu/
H A Dtegra-gart.c66 struct gart_domain { struct
76 static struct gart_domain *to_gart_domain(struct iommu_domain *dom) to_gart_domain()
78 return container_of(dom, struct gart_domain, domain); to_gart_domain()
169 struct gart_domain *gart_domain = to_gart_domain(domain); gart_iommu_attach_dev() local
170 struct gart_device *gart = gart_domain->gart; gart_iommu_attach_dev()
202 struct gart_domain *gart_domain = to_gart_domain(domain); gart_iommu_detach_dev() local
203 struct gart_device *gart = gart_domain->gart; gart_iommu_detach_dev()
223 struct gart_domain *gart_domain; gart_iommu_domain_alloc() local
233 gart_domain = kzalloc(sizeof(*gart_domain), GFP_KERNEL); gart_iommu_domain_alloc()
234 if (!gart_domain) gart_iommu_domain_alloc()
237 gart_domain->gart = gart; gart_iommu_domain_alloc()
238 gart_domain->domain.geometry.aperture_start = gart->iovmm_base; gart_iommu_domain_alloc()
239 gart_domain->domain.geometry.aperture_end = gart->iovmm_base + gart_iommu_domain_alloc()
241 gart_domain->domain.geometry.force_aperture = true; gart_iommu_domain_alloc()
243 return &gart_domain->domain; gart_iommu_domain_alloc()
248 struct gart_domain *gart_domain = to_gart_domain(domain); gart_iommu_domain_free() local
249 struct gart_device *gart = gart_domain->gart; gart_iommu_domain_free()
262 kfree(gart_domain); gart_iommu_domain_free()
268 struct gart_domain *gart_domain = to_gart_domain(domain); gart_iommu_map() local
269 struct gart_device *gart = gart_domain->gart; gart_iommu_map()
292 struct gart_domain *gart_domain = to_gart_domain(domain); gart_iommu_unmap() local
293 struct gart_device *gart = gart_domain->gart; gart_iommu_unmap()
309 struct gart_domain *gart_domain = to_gart_domain(domain); gart_iommu_iova_to_phys() local
310 struct gart_device *gart = gart_domain->gart; gart_iommu_iova_to_phys()

Completed in 45 milliseconds