Lines Matching refs:iommu_domain

54 	struct iommu_domain *default_domain;
55 struct iommu_domain *domain;
80 static struct iommu_domain *__iommu_domain_alloc(struct bus_type *bus,
82 static int __iommu_attach_device(struct iommu_domain *domain,
84 static int __iommu_attach_group(struct iommu_domain *domain,
86 static void __iommu_detach_group(struct iommu_domain *domain,
331 struct iommu_domain *domain = group->default_domain; in iommu_group_create_direct_mappings()
864 struct iommu_domain *iommu_group_default_domain(struct iommu_group *group) in iommu_group_default_domain()
1051 void iommu_set_fault_handler(struct iommu_domain *domain, in iommu_set_fault_handler()
1062 static struct iommu_domain *__iommu_domain_alloc(struct bus_type *bus, in __iommu_domain_alloc()
1065 struct iommu_domain *domain; in __iommu_domain_alloc()
1080 struct iommu_domain *iommu_domain_alloc(struct bus_type *bus) in iommu_domain_alloc()
1086 void iommu_domain_free(struct iommu_domain *domain) in iommu_domain_free()
1092 static int __iommu_attach_device(struct iommu_domain *domain, in __iommu_attach_device()
1105 int iommu_attach_device(struct iommu_domain *domain, struct device *dev) in iommu_attach_device()
1134 static void __iommu_detach_device(struct iommu_domain *domain, in __iommu_detach_device()
1144 void iommu_detach_device(struct iommu_domain *domain, struct device *dev) in iommu_detach_device()
1167 struct iommu_domain *iommu_get_domain_for_dev(struct device *dev) in iommu_get_domain_for_dev()
1169 struct iommu_domain *domain; in iommu_get_domain_for_dev()
1197 struct iommu_domain *domain = data; in iommu_group_do_attach_device()
1202 static int __iommu_attach_group(struct iommu_domain *domain, in __iommu_attach_group()
1218 int iommu_attach_group(struct iommu_domain *domain, struct iommu_group *group) in iommu_attach_group()
1232 struct iommu_domain *domain = data; in iommu_group_do_detach_device()
1239 static void __iommu_detach_group(struct iommu_domain *domain, in __iommu_detach_group()
1263 void iommu_detach_group(struct iommu_domain *domain, struct iommu_group *group) in iommu_detach_group()
1271 phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova) in iommu_iova_to_phys()
1280 static size_t iommu_pgsize(struct iommu_domain *domain, in iommu_pgsize()
1312 int iommu_map(struct iommu_domain *domain, unsigned long iova, in iommu_map()
1368 size_t iommu_unmap(struct iommu_domain *domain, unsigned long iova, size_t size) in iommu_unmap()
1420 size_t default_iommu_map_sg(struct iommu_domain *domain, unsigned long iova, in default_iommu_map_sg()
1463 int iommu_domain_window_enable(struct iommu_domain *domain, u32 wnd_nr, in iommu_domain_window_enable()
1474 void iommu_domain_window_disable(struct iommu_domain *domain, u32 wnd_nr) in iommu_domain_window_disable()
1496 int iommu_domain_get_attr(struct iommu_domain *domain, in iommu_domain_get_attr()
1534 int iommu_domain_set_attr(struct iommu_domain *domain, in iommu_domain_set_attr()
1580 struct iommu_domain *dm_domain; in iommu_request_dm_for_dev()