Lines Matching refs:iommu_domain
45 struct iommu_domain *default_domain;
46 struct iommu_domain *domain;
85 static struct iommu_domain *__iommu_domain_alloc(struct bus_type *bus,
87 static int __iommu_attach_device(struct iommu_domain *domain,
89 static int __iommu_attach_group(struct iommu_domain *domain,
91 static void __iommu_detach_group(struct iommu_domain *domain,
728 struct iommu_domain *domain = group->default_domain;
780 static bool iommu_is_attach_deferred(struct iommu_domain *domain,
1204 struct iommu_domain *domain = iommu_get_domain_for_dev(dev);
1485 struct iommu_domain *dom;
1567 struct iommu_domain *iommu_group_default_domain(struct iommu_group *group)
1703 struct iommu_domain *domain = data;
1720 struct iommu_domain *domain = data;
1889 void iommu_set_fault_handler(struct iommu_domain *domain,
1900 static struct iommu_domain *__iommu_domain_alloc(struct bus_type *bus,
1903 struct iommu_domain *domain;
1920 struct iommu_domain *iommu_domain_alloc(struct bus_type *bus)
1926 void iommu_domain_free(struct iommu_domain *domain)
1932 static int __iommu_attach_device(struct iommu_domain *domain,
1946 int iommu_attach_device(struct iommu_domain *domain, struct device *dev)
2030 int iommu_uapi_cache_invalidate(struct iommu_domain *domain, struct device *dev,
2140 int iommu_uapi_sva_bind_gpasid(struct iommu_domain *domain, struct device *dev,
2157 int iommu_sva_unbind_gpasid(struct iommu_domain *domain, struct device *dev,
2167 int iommu_uapi_sva_unbind_gpasid(struct iommu_domain *domain, struct device *dev,
2184 static void __iommu_detach_device(struct iommu_domain *domain,
2197 void iommu_detach_device(struct iommu_domain *domain, struct device *dev)
2219 struct iommu_domain *iommu_get_domain_for_dev(struct device *dev)
2221 struct iommu_domain *domain;
2240 struct iommu_domain *iommu_get_dma_domain(struct device *dev)
2257 struct iommu_domain *domain = data;
2262 static int __iommu_attach_group(struct iommu_domain *domain,
2278 int iommu_attach_group(struct iommu_domain *domain, struct iommu_group *group)
2292 struct iommu_domain *domain = data;
2299 static void __iommu_detach_group(struct iommu_domain *domain,
2323 void iommu_detach_group(struct iommu_domain *domain, struct iommu_group *group)
2331 phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova)
2340 static size_t iommu_pgsize(struct iommu_domain *domain,
2372 static int __iommu_map(struct iommu_domain *domain, unsigned long iova,
2429 static int _iommu_map(struct iommu_domain *domain, unsigned long iova,
2442 int iommu_map(struct iommu_domain *domain, unsigned long iova,
2450 int iommu_map_atomic(struct iommu_domain *domain, unsigned long iova,
2457 static size_t __iommu_unmap(struct iommu_domain *domain,
2511 size_t iommu_unmap(struct iommu_domain *domain,
2525 size_t iommu_unmap_fast(struct iommu_domain *domain,
2533 static size_t __iommu_map_sg(struct iommu_domain *domain, unsigned long iova,
2580 size_t iommu_map_sg(struct iommu_domain *domain, unsigned long iova,
2588 size_t iommu_map_sg_atomic(struct iommu_domain *domain, unsigned long iova,
2595 int iommu_domain_window_enable(struct iommu_domain *domain, u32 wnd_nr,
2606 void iommu_domain_window_disable(struct iommu_domain *domain, u32 wnd_nr)
2639 int report_iommu_fault(struct iommu_domain *domain, struct device *dev,
2669 int iommu_domain_get_attr(struct iommu_domain *domain,
2697 int iommu_domain_set_attr(struct iommu_domain *domain,
2935 int iommu_aux_attach_device(struct iommu_domain *domain, struct device *dev)
2949 void iommu_aux_detach_device(struct iommu_domain *domain, struct device *dev)
2958 int iommu_aux_get_pasid(struct iommu_domain *domain, struct device *dev)