Lines Matching refs:iommu_domain
46 struct iommu_domain *default_domain;
47 struct iommu_domain *domain;
86 static struct iommu_domain *__iommu_domain_alloc(struct bus_type *bus,
88 static int __iommu_attach_device(struct iommu_domain *domain,
90 static int __iommu_attach_group(struct iommu_domain *domain,
92 static void __iommu_detach_group(struct iommu_domain *domain,
732 struct iommu_domain *domain = group->default_domain; in iommu_create_device_direct_mappings()
784 static bool iommu_is_attach_deferred(struct iommu_domain *domain, in iommu_is_attach_deferred()
1208 struct iommu_domain *domain = iommu_get_domain_for_dev(dev); in iommu_page_response()
1489 struct iommu_domain *dom; in iommu_group_alloc_default_domain()
1571 struct iommu_domain *iommu_group_default_domain(struct iommu_group *group) in iommu_group_default_domain()
1707 struct iommu_domain *domain = data; in iommu_group_do_dma_attach()
1724 struct iommu_domain *domain = data; in iommu_group_do_probe_finalize()
1893 void iommu_set_fault_handler(struct iommu_domain *domain, in iommu_set_fault_handler()
1904 static struct iommu_domain *__iommu_domain_alloc(struct bus_type *bus, in __iommu_domain_alloc()
1907 struct iommu_domain *domain; in __iommu_domain_alloc()
1924 struct iommu_domain *iommu_domain_alloc(struct bus_type *bus) in iommu_domain_alloc()
1930 void iommu_domain_free(struct iommu_domain *domain) in iommu_domain_free()
1936 static int __iommu_attach_device(struct iommu_domain *domain, in __iommu_attach_device()
1950 int iommu_attach_device(struct iommu_domain *domain, struct device *dev) in iommu_attach_device()
2036 int iommu_uapi_cache_invalidate(struct iommu_domain *domain, struct device *dev, in iommu_uapi_cache_invalidate()
2146 int iommu_uapi_sva_bind_gpasid(struct iommu_domain *domain, struct device *dev, in iommu_uapi_sva_bind_gpasid()
2163 int iommu_sva_unbind_gpasid(struct iommu_domain *domain, struct device *dev, in iommu_sva_unbind_gpasid()
2173 int iommu_uapi_sva_unbind_gpasid(struct iommu_domain *domain, struct device *dev, in iommu_uapi_sva_unbind_gpasid()
2190 static void __iommu_detach_device(struct iommu_domain *domain, in __iommu_detach_device()
2203 void iommu_detach_device(struct iommu_domain *domain, struct device *dev) in iommu_detach_device()
2226 struct iommu_domain *iommu_get_domain_for_dev(struct device *dev) in iommu_get_domain_for_dev()
2228 struct iommu_domain *domain; in iommu_get_domain_for_dev()
2247 struct iommu_domain *iommu_get_dma_domain(struct device *dev) in iommu_get_dma_domain()
2264 struct iommu_domain *domain = data; in iommu_group_do_attach_device()
2269 static int __iommu_attach_group(struct iommu_domain *domain, in __iommu_attach_group()
2285 int iommu_attach_group(struct iommu_domain *domain, struct iommu_group *group) in iommu_attach_group()
2299 struct iommu_domain *domain = data; in iommu_group_do_detach_device()
2306 static void __iommu_detach_group(struct iommu_domain *domain, in __iommu_detach_group()
2330 void iommu_detach_group(struct iommu_domain *domain, struct iommu_group *group) in iommu_detach_group()
2338 phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova) in iommu_iova_to_phys()
2347 static size_t iommu_pgsize(struct iommu_domain *domain, unsigned long iova, in iommu_pgsize()
2402 static int __iommu_map_pages(struct iommu_domain *domain, unsigned long iova, in __iommu_map_pages()
2426 static int __iommu_map(struct iommu_domain *domain, unsigned long iova, in __iommu_map()
2486 static int _iommu_map(struct iommu_domain *domain, unsigned long iova, in _iommu_map()
2499 int iommu_map(struct iommu_domain *domain, unsigned long iova, in iommu_map()
2507 int iommu_map_atomic(struct iommu_domain *domain, unsigned long iova, in iommu_map_atomic()
2514 static size_t __iommu_unmap_pages(struct iommu_domain *domain, in __iommu_unmap_pages()
2527 static size_t __iommu_unmap(struct iommu_domain *domain, in __iommu_unmap()
2581 size_t iommu_unmap(struct iommu_domain *domain, in iommu_unmap()
2595 size_t iommu_unmap_fast(struct iommu_domain *domain, in iommu_unmap_fast()
2603 static size_t __iommu_map_sg(struct iommu_domain *domain, unsigned long iova, in __iommu_map_sg()
2662 size_t iommu_map_sg(struct iommu_domain *domain, unsigned long iova, in iommu_map_sg()
2670 size_t iommu_map_sg_atomic(struct iommu_domain *domain, unsigned long iova, in iommu_map_sg_atomic()
2677 int iommu_domain_window_enable(struct iommu_domain *domain, u32 wnd_nr, in iommu_domain_window_enable()
2688 void iommu_domain_window_disable(struct iommu_domain *domain, u32 wnd_nr) in iommu_domain_window_disable()
2721 int report_iommu_fault(struct iommu_domain *domain, struct device *dev, in report_iommu_fault()
2751 int iommu_domain_get_attr(struct iommu_domain *domain, in iommu_domain_get_attr()
2779 int iommu_domain_set_attr(struct iommu_domain *domain, in iommu_domain_set_attr()
3017 int iommu_aux_attach_device(struct iommu_domain *domain, struct device *dev) in iommu_aux_attach_device()
3031 void iommu_aux_detach_device(struct iommu_domain *domain, struct device *dev) in iommu_aux_detach_device()
3040 int iommu_aux_get_pasid(struct iommu_domain *domain, struct device *dev) in iommu_aux_get_pasid()