Lines Matching refs:iommu_domain
44 struct iommu_domain *default_domain;
45 struct iommu_domain *domain;
203 static struct iommu_domain *__iommu_domain_alloc(struct bus_type *bus,
205 static int __iommu_attach_device(struct iommu_domain *domain,
207 static int __iommu_attach_group(struct iommu_domain *domain,
209 static void __iommu_detach_group(struct iommu_domain *domain,
626 struct iommu_domain *domain = group->default_domain; in iommu_group_create_direct_mappings()
1089 struct iommu_domain *domain = iommu_get_domain_for_dev(dev); in iommu_page_response()
1377 struct iommu_domain *dom; in iommu_group_get_for_dev()
1410 struct iommu_domain *iommu_group_default_domain(struct iommu_group *group) in iommu_group_default_domain()
1580 void iommu_set_fault_handler(struct iommu_domain *domain, in iommu_set_fault_handler()
1591 static struct iommu_domain *__iommu_domain_alloc(struct bus_type *bus, in __iommu_domain_alloc()
1594 struct iommu_domain *domain; in __iommu_domain_alloc()
1611 struct iommu_domain *iommu_domain_alloc(struct bus_type *bus) in iommu_domain_alloc()
1617 void iommu_domain_free(struct iommu_domain *domain) in iommu_domain_free()
1623 static int __iommu_attach_device(struct iommu_domain *domain, in __iommu_attach_device()
1640 int iommu_attach_device(struct iommu_domain *domain, struct device *dev) in iommu_attach_device()
1668 static void __iommu_detach_device(struct iommu_domain *domain, in __iommu_detach_device()
1682 void iommu_detach_device(struct iommu_domain *domain, struct device *dev) in iommu_detach_device()
1704 struct iommu_domain *iommu_get_domain_for_dev(struct device *dev) in iommu_get_domain_for_dev()
1706 struct iommu_domain *domain; in iommu_get_domain_for_dev()
1725 struct iommu_domain *iommu_get_dma_domain(struct device *dev) in iommu_get_dma_domain()
1742 struct iommu_domain *domain = data; in iommu_group_do_attach_device()
1747 static int __iommu_attach_group(struct iommu_domain *domain, in __iommu_attach_group()
1763 int iommu_attach_group(struct iommu_domain *domain, struct iommu_group *group) in iommu_attach_group()
1777 struct iommu_domain *domain = data; in iommu_group_do_detach_device()
1784 static void __iommu_detach_group(struct iommu_domain *domain, in __iommu_detach_group()
1808 void iommu_detach_group(struct iommu_domain *domain, struct iommu_group *group) in iommu_detach_group()
1816 phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova) in iommu_iova_to_phys()
1825 static size_t iommu_pgsize(struct iommu_domain *domain, in iommu_pgsize()
1857 int iommu_map(struct iommu_domain *domain, unsigned long iova, in iommu_map()
1918 static size_t __iommu_unmap(struct iommu_domain *domain, in __iommu_unmap()
1972 size_t iommu_unmap(struct iommu_domain *domain, in iommu_unmap()
1986 size_t iommu_unmap_fast(struct iommu_domain *domain, in iommu_unmap_fast()
1994 size_t iommu_map_sg(struct iommu_domain *domain, unsigned long iova, in iommu_map_sg()
2036 int iommu_domain_window_enable(struct iommu_domain *domain, u32 wnd_nr, in iommu_domain_window_enable()
2047 void iommu_domain_window_disable(struct iommu_domain *domain, u32 wnd_nr) in iommu_domain_window_disable()
2080 int report_iommu_fault(struct iommu_domain *domain, struct device *dev, in report_iommu_fault()
2110 int iommu_domain_get_attr(struct iommu_domain *domain, in iommu_domain_get_attr()
2138 int iommu_domain_set_attr(struct iommu_domain *domain, in iommu_domain_set_attr()
2192 struct iommu_domain *domain; in request_default_domain_for_dev()
2411 int iommu_aux_attach_device(struct iommu_domain *domain, struct device *dev) in iommu_aux_attach_device()
2425 void iommu_aux_detach_device(struct iommu_domain *domain, struct device *dev) in iommu_aux_detach_device()
2434 int iommu_aux_get_pasid(struct iommu_domain *domain, struct device *dev) in iommu_aux_get_pasid()