Lines Matching refs:iommu_domain
47 struct iommu_domain *default_domain;
48 struct iommu_domain *domain;
78 static struct iommu_domain *__iommu_domain_alloc(struct bus_type *bus,
80 static int __iommu_attach_device(struct iommu_domain *domain,
82 static int __iommu_attach_group(struct iommu_domain *domain,
84 static void __iommu_detach_group(struct iommu_domain *domain,
765 struct iommu_domain *domain = group->default_domain; in iommu_create_device_direct_mappings()
829 static bool iommu_is_attach_deferred(struct iommu_domain *domain, in iommu_is_attach_deferred()
1253 struct iommu_domain *domain = iommu_get_domain_for_dev(dev); in iommu_page_response()
1536 struct iommu_domain *dom; in iommu_group_alloc_default_domain()
1610 struct iommu_domain *iommu_group_default_domain(struct iommu_group *group) in iommu_group_default_domain()
1742 struct iommu_domain *domain = data; in iommu_group_do_dma_attach()
1759 struct iommu_domain *domain = data; in iommu_group_do_probe_finalize()
1928 void iommu_set_fault_handler(struct iommu_domain *domain, in iommu_set_fault_handler()
1939 static struct iommu_domain *__iommu_domain_alloc(struct bus_type *bus, in __iommu_domain_alloc()
1942 struct iommu_domain *domain; in __iommu_domain_alloc()
1964 struct iommu_domain *iommu_domain_alloc(struct bus_type *bus) in iommu_domain_alloc()
1970 void iommu_domain_free(struct iommu_domain *domain) in iommu_domain_free()
1977 static int __iommu_attach_device(struct iommu_domain *domain, in __iommu_attach_device()
1991 int iommu_attach_device(struct iommu_domain *domain, struct device *dev) in iommu_attach_device()
2019 int iommu_deferred_attach(struct device *dev, struct iommu_domain *domain) in iommu_deferred_attach()
2085 int iommu_uapi_cache_invalidate(struct iommu_domain *domain, struct device *dev, in iommu_uapi_cache_invalidate()
2195 int iommu_uapi_sva_bind_gpasid(struct iommu_domain *domain, struct device *dev, in iommu_uapi_sva_bind_gpasid()
2212 int iommu_sva_unbind_gpasid(struct iommu_domain *domain, struct device *dev, in iommu_sva_unbind_gpasid()
2222 int iommu_uapi_sva_unbind_gpasid(struct iommu_domain *domain, struct device *dev, in iommu_uapi_sva_unbind_gpasid()
2239 static void __iommu_detach_device(struct iommu_domain *domain, in __iommu_detach_device()
2252 void iommu_detach_device(struct iommu_domain *domain, struct device *dev) in iommu_detach_device()
2274 struct iommu_domain *iommu_get_domain_for_dev(struct device *dev) in iommu_get_domain_for_dev()
2276 struct iommu_domain *domain; in iommu_get_domain_for_dev()
2295 struct iommu_domain *iommu_get_dma_domain(struct device *dev) in iommu_get_dma_domain()
2312 struct iommu_domain *domain = data; in iommu_group_do_attach_device()
2317 static int __iommu_attach_group(struct iommu_domain *domain, in __iommu_attach_group()
2333 int iommu_attach_group(struct iommu_domain *domain, struct iommu_group *group) in iommu_attach_group()
2347 struct iommu_domain *domain = data; in iommu_group_do_detach_device()
2354 static void __iommu_detach_group(struct iommu_domain *domain, in __iommu_detach_group()
2378 void iommu_detach_group(struct iommu_domain *domain, struct iommu_group *group) in iommu_detach_group()
2386 phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova) in iommu_iova_to_phys()
2398 static size_t iommu_pgsize(struct iommu_domain *domain, unsigned long iova, in iommu_pgsize()
2452 static int __iommu_map_pages(struct iommu_domain *domain, unsigned long iova, in __iommu_map_pages()
2476 static int __iommu_map(struct iommu_domain *domain, unsigned long iova, in __iommu_map()
2536 static int _iommu_map(struct iommu_domain *domain, unsigned long iova, in _iommu_map()
2549 int iommu_map(struct iommu_domain *domain, unsigned long iova, in iommu_map()
2557 int iommu_map_atomic(struct iommu_domain *domain, unsigned long iova, in iommu_map_atomic()
2564 static size_t __iommu_unmap_pages(struct iommu_domain *domain, in __iommu_unmap_pages()
2577 static size_t __iommu_unmap(struct iommu_domain *domain, in __iommu_unmap()
2631 size_t iommu_unmap(struct iommu_domain *domain, in iommu_unmap()
2645 size_t iommu_unmap_fast(struct iommu_domain *domain, in iommu_unmap_fast()
2653 static ssize_t __iommu_map_sg(struct iommu_domain *domain, unsigned long iova, in __iommu_map_sg()
2699 ssize_t iommu_map_sg(struct iommu_domain *domain, unsigned long iova, in iommu_map_sg()
2707 ssize_t iommu_map_sg_atomic(struct iommu_domain *domain, unsigned long iova, in iommu_map_sg_atomic()
2737 int report_iommu_fault(struct iommu_domain *domain, struct device *dev, in report_iommu_fault()
2767 int iommu_enable_nesting(struct iommu_domain *domain) in iommu_enable_nesting()
2777 int iommu_set_pgtable_quirks(struct iommu_domain *domain, in iommu_set_pgtable_quirks()
2996 int iommu_aux_attach_device(struct iommu_domain *domain, struct device *dev) in iommu_aux_attach_device()
3010 void iommu_aux_detach_device(struct iommu_domain *domain, struct device *dev) in iommu_aux_detach_device()
3019 int iommu_aux_get_pasid(struct iommu_domain *domain, struct device *dev) in iommu_aux_get_pasid()
3139 struct iommu_domain *prev_dom; in iommu_change_dev_def_domain()