Lines Matching refs:domain
41 struct iommu_domain domain; member
54 return container_of(dom, struct tegra_smmu_as, domain); in to_smmu_as()
295 as->domain.geometry.aperture_start = 0; in tegra_smmu_domain_alloc()
296 as->domain.geometry.aperture_end = 0xffffffff; in tegra_smmu_domain_alloc()
297 as->domain.geometry.force_aperture = true; in tegra_smmu_domain_alloc()
299 return &as->domain; in tegra_smmu_domain_alloc()
302 static void tegra_smmu_domain_free(struct iommu_domain *domain) in tegra_smmu_domain_free() argument
304 struct tegra_smmu_as *as = to_smmu_as(domain); in tegra_smmu_domain_free()
440 static int tegra_smmu_attach_dev(struct iommu_domain *domain, in tegra_smmu_attach_dev() argument
444 struct tegra_smmu_as *as = to_smmu_as(domain); in tegra_smmu_attach_dev()
475 static void tegra_smmu_detach_dev(struct iommu_domain *domain, struct device *dev) in tegra_smmu_detach_dev() argument
477 struct tegra_smmu_as *as = to_smmu_as(domain); in tegra_smmu_detach_dev()
632 static int tegra_smmu_map(struct iommu_domain *domain, unsigned long iova, in tegra_smmu_map() argument
635 struct tegra_smmu_as *as = to_smmu_as(domain); in tegra_smmu_map()
653 static size_t tegra_smmu_unmap(struct iommu_domain *domain, unsigned long iova, in tegra_smmu_unmap() argument
656 struct tegra_smmu_as *as = to_smmu_as(domain); in tegra_smmu_unmap()
670 static phys_addr_t tegra_smmu_iova_to_phys(struct iommu_domain *domain, in tegra_smmu_iova_to_phys() argument
673 struct tegra_smmu_as *as = to_smmu_as(domain); in tegra_smmu_iova_to_phys()