Lines Matching refs:domain
38 struct iommu_domain domain; member
49 return container_of(dom, struct tegra_smmu_as, domain); in to_smmu_as()
278 as->domain.geometry.aperture_start = 0; in tegra_smmu_domain_alloc()
279 as->domain.geometry.aperture_end = 0xffffffff; in tegra_smmu_domain_alloc()
280 as->domain.geometry.force_aperture = true; in tegra_smmu_domain_alloc()
282 return &as->domain; in tegra_smmu_domain_alloc()
285 static void tegra_smmu_domain_free(struct iommu_domain *domain) in tegra_smmu_domain_free() argument
287 struct tegra_smmu_as *as = to_smmu_as(domain); in tegra_smmu_domain_free()
407 static int tegra_smmu_attach_dev(struct iommu_domain *domain, in tegra_smmu_attach_dev() argument
411 struct tegra_smmu_as *as = to_smmu_as(domain); in tegra_smmu_attach_dev()
442 static void tegra_smmu_detach_dev(struct iommu_domain *domain, struct device *dev) in tegra_smmu_detach_dev() argument
444 struct tegra_smmu_as *as = to_smmu_as(domain); in tegra_smmu_detach_dev()
537 static int tegra_smmu_map(struct iommu_domain *domain, unsigned long iova, in tegra_smmu_map() argument
540 struct tegra_smmu_as *as = to_smmu_as(domain); in tegra_smmu_map()
561 static size_t tegra_smmu_unmap(struct iommu_domain *domain, unsigned long iova, in tegra_smmu_unmap() argument
564 struct tegra_smmu_as *as = to_smmu_as(domain); in tegra_smmu_unmap()
585 static phys_addr_t tegra_smmu_iova_to_phys(struct iommu_domain *domain, in tegra_smmu_iova_to_phys() argument
588 struct tegra_smmu_as *as = to_smmu_as(domain); in tegra_smmu_iova_to_phys()