/linux-3.4.99/include/linux/ ! |
D | iommu.h | 31 struct iommu_domain; 37 typedef int (*iommu_fault_handler_t)(struct iommu_domain *, 40 struct iommu_domain { struct 65 int (*domain_init)(struct iommu_domain *domain); argument 66 void (*domain_destroy)(struct iommu_domain *domain); 67 int (*attach_dev)(struct iommu_domain *domain, struct device *dev); 68 void (*detach_dev)(struct iommu_domain *domain, struct device *dev); 69 int (*map)(struct iommu_domain *domain, unsigned long iova, 71 size_t (*unmap)(struct iommu_domain *domain, unsigned long iova, 73 phys_addr_t (*iova_to_phys)(struct iommu_domain *domain, [all …]
|
D | remoteproc.h | 389 struct iommu_domain *domain;
|
/linux-3.4.99/drivers/iommu/ ! |
D | amd_iommu_proto.h | 36 struct iommu_domain; 41 extern void amd_iommu_domain_direct_map(struct iommu_domain *dom); 42 extern int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids); 43 extern int amd_iommu_flush_page(struct iommu_domain *dom, int pasid, 45 extern int amd_iommu_flush_tlb(struct iommu_domain *dom, int pasid); 46 extern int amd_iommu_domain_set_gcr3(struct iommu_domain *dom, int pasid, 48 extern int amd_iommu_domain_clear_gcr3(struct iommu_domain *dom, int pasid); 49 extern struct iommu_domain *amd_iommu_get_v2_domain(struct pci_dev *pdev);
|
D | iommu.c | 129 void iommu_set_fault_handler(struct iommu_domain *domain, in iommu_set_fault_handler() 138 struct iommu_domain *iommu_domain_alloc(struct bus_type *bus) in iommu_domain_alloc() 140 struct iommu_domain *domain; in iommu_domain_alloc() 165 void iommu_domain_free(struct iommu_domain *domain) in iommu_domain_free() 174 int iommu_attach_device(struct iommu_domain *domain, struct device *dev) in iommu_attach_device() 183 void iommu_detach_device(struct iommu_domain *domain, struct device *dev) in iommu_detach_device() 192 phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, in iommu_iova_to_phys() 202 int iommu_domain_has_cap(struct iommu_domain *domain, in iommu_domain_has_cap() 212 int iommu_map(struct iommu_domain *domain, unsigned long iova, in iommu_map() 289 size_t iommu_unmap(struct iommu_domain *domain, unsigned long iova, size_t size) in iommu_unmap()
|
D | tegra-gart.c | 154 static int gart_iommu_attach_dev(struct iommu_domain *domain, in gart_iommu_attach_dev() 191 static void gart_iommu_detach_dev(struct iommu_domain *domain, in gart_iommu_detach_dev() 212 static int gart_iommu_domain_init(struct iommu_domain *domain) in gart_iommu_domain_init() 217 static void gart_iommu_domain_destroy(struct iommu_domain *domain) in gart_iommu_domain_destroy() 235 static int gart_iommu_map(struct iommu_domain *domain, unsigned long iova, in gart_iommu_map() 258 static size_t gart_iommu_unmap(struct iommu_domain *domain, unsigned long iova, in gart_iommu_unmap() 274 static phys_addr_t gart_iommu_iova_to_phys(struct iommu_domain *domain, in gart_iommu_iova_to_phys() 298 static int gart_iommu_domain_has_cap(struct iommu_domain *domain, in gart_iommu_domain_has_cap()
|
D | msm_iommu.c | 81 static int __flush_iotlb(struct iommu_domain *domain) in __flush_iotlb() 213 static int msm_iommu_domain_init(struct iommu_domain *domain) in msm_iommu_domain_init() 236 static void msm_iommu_domain_destroy(struct iommu_domain *domain) in msm_iommu_domain_destroy() 263 static int msm_iommu_attach_dev(struct iommu_domain *domain, struct device *dev) in msm_iommu_attach_dev() 318 static void msm_iommu_detach_dev(struct iommu_domain *domain, in msm_iommu_detach_dev() 357 static int msm_iommu_map(struct iommu_domain *domain, unsigned long va, in msm_iommu_map() 468 static size_t msm_iommu_unmap(struct iommu_domain *domain, unsigned long va, in msm_iommu_unmap() 551 static phys_addr_t msm_iommu_iova_to_phys(struct iommu_domain *domain, in msm_iommu_iova_to_phys() 601 static int msm_iommu_domain_has_cap(struct iommu_domain *domain, in msm_iommu_domain_has_cap()
|
D | omap-iovmm.c | 409 static int map_iovm_area(struct iommu_domain *domain, struct iovm_struct *new, in map_iovm_area() 462 static void unmap_iovm_area(struct iommu_domain *domain, struct omap_iommu *obj, in unmap_iovm_area() 497 static struct sg_table *unmap_vm_area(struct iommu_domain *domain, in unmap_vm_area() 539 static u32 map_iommu_region(struct iommu_domain *domain, struct omap_iommu *obj, in map_iommu_region() 574 __iommu_vmap(struct iommu_domain *domain, struct omap_iommu *obj, in __iommu_vmap() 591 u32 omap_iommu_vmap(struct iommu_domain *domain, struct device *dev, u32 da, in omap_iommu_vmap() 633 omap_iommu_vunmap(struct iommu_domain *domain, struct device *dev, u32 da) in omap_iommu_vunmap() 661 omap_iommu_vmalloc(struct iommu_domain *domain, struct device *dev, u32 da, in omap_iommu_vmalloc() 710 void omap_iommu_vfree(struct iommu_domain *domain, struct device *dev, in omap_iommu_vfree()
|
D | omap-iommu.c | 785 struct iommu_domain *domain = obj->domain; in iommu_fault_handler() 1016 static int omap_iommu_map(struct iommu_domain *domain, unsigned long da, in omap_iommu_map() 1046 static size_t omap_iommu_unmap(struct iommu_domain *domain, unsigned long da, in omap_iommu_unmap() 1059 omap_iommu_attach_dev(struct iommu_domain *domain, struct device *dev) in omap_iommu_attach_dev() 1091 static void omap_iommu_detach_dev(struct iommu_domain *domain, in omap_iommu_detach_dev() 1116 static int omap_iommu_domain_init(struct iommu_domain *domain) in omap_iommu_domain_init() 1152 static void omap_iommu_domain_destroy(struct iommu_domain *domain) in omap_iommu_domain_destroy() 1162 static phys_addr_t omap_iommu_iova_to_phys(struct iommu_domain *domain, in omap_iommu_iova_to_phys() 1192 static int omap_iommu_domain_has_cap(struct iommu_domain *domain, in omap_iommu_domain_has_cap()
|
D | amd_iommu_types.h | 374 struct iommu_domain; 395 struct iommu_domain *iommu_domain; /* Pointer to generic member
|
D | tegra-smmu.c | 629 static int smmu_iommu_map(struct iommu_domain *domain, unsigned long iova, in smmu_iommu_map() 647 static size_t smmu_iommu_unmap(struct iommu_domain *domain, unsigned long iova, in smmu_iommu_unmap() 661 static phys_addr_t smmu_iommu_iova_to_phys(struct iommu_domain *domain, in smmu_iommu_iova_to_phys() 683 static int smmu_iommu_domain_has_cap(struct iommu_domain *domain, in smmu_iommu_domain_has_cap() 689 static int smmu_iommu_attach_dev(struct iommu_domain *domain, in smmu_iommu_attach_dev() 747 static void smmu_iommu_detach_dev(struct iommu_domain *domain, in smmu_iommu_detach_dev() 772 static int smmu_iommu_domain_init(struct iommu_domain *domain) in smmu_iommu_domain_init() 818 static void smmu_iommu_domain_destroy(struct iommu_domain *domain) in smmu_iommu_domain_destroy()
|
D | amd_iommu.c | 3096 static int amd_iommu_domain_init(struct iommu_domain *dom) in amd_iommu_domain_init() 3109 domain->iommu_domain = dom; in amd_iommu_domain_init() 3121 static void amd_iommu_domain_destroy(struct iommu_domain *dom) in amd_iommu_domain_destroy() 3144 static void amd_iommu_detach_device(struct iommu_domain *dom, in amd_iommu_detach_device() 3166 static int amd_iommu_attach_device(struct iommu_domain *dom, in amd_iommu_attach_device() 3193 static int amd_iommu_map(struct iommu_domain *dom, unsigned long iova, in amd_iommu_map() 3215 static size_t amd_iommu_unmap(struct iommu_domain *dom, unsigned long iova, in amd_iommu_unmap() 3233 static phys_addr_t amd_iommu_iova_to_phys(struct iommu_domain *dom, in amd_iommu_iova_to_phys() 3260 static int amd_iommu_domain_has_cap(struct iommu_domain *domain, in amd_iommu_domain_has_cap() 3362 void amd_iommu_domain_direct_map(struct iommu_domain *dom) in amd_iommu_domain_direct_map() [all …]
|
D | amd_iommu_v2.c | 62 struct iommu_domain *domain; 317 struct iommu_domain *domain; in __unbind_pasid()
|
D | intel-iommu.c | 3960 static int intel_iommu_domain_init(struct iommu_domain *domain) in intel_iommu_domain_init() 3982 static void intel_iommu_domain_destroy(struct iommu_domain *domain) in intel_iommu_domain_destroy() 3990 static int intel_iommu_attach_device(struct iommu_domain *domain, in intel_iommu_attach_device() 4048 static void intel_iommu_detach_device(struct iommu_domain *domain, in intel_iommu_detach_device() 4057 static int intel_iommu_map(struct iommu_domain *domain, in intel_iommu_map() 4095 static size_t intel_iommu_unmap(struct iommu_domain *domain, in intel_iommu_unmap() 4110 static phys_addr_t intel_iommu_iova_to_phys(struct iommu_domain *domain, in intel_iommu_iova_to_phys() 4124 static int intel_iommu_domain_has_cap(struct iommu_domain *domain, in intel_iommu_domain_has_cap()
|
/linux-3.4.99/virt/kvm/ ! |
D | iommu.c | 69 struct iommu_domain *domain = kvm->arch.iommu_domain; in kvm_iommu_map_pages() 162 struct iommu_domain *domain = kvm->arch.iommu_domain; in kvm_assign_device() 184 if (iommu_domain_has_cap(kvm->arch.iommu_domain, in kvm_assign_device() 214 struct iommu_domain *domain = kvm->arch.iommu_domain; in kvm_deassign_device() 249 kvm->arch.iommu_domain = iommu_domain_alloc(&pci_bus_type); in kvm_iommu_map_guest() 250 if (!kvm->arch.iommu_domain) { in kvm_iommu_map_guest() 256 !iommu_domain_has_cap(kvm->arch.iommu_domain, in kvm_iommu_map_guest() 262 iommu_domain_free(kvm->arch.iommu_domain); in kvm_iommu_map_guest() 263 kvm->arch.iommu_domain = NULL; in kvm_iommu_map_guest() 288 struct iommu_domain *domain; in kvm_iommu_put_pages() [all …]
|
D | assigned-dev.c | 717 if (!kvm->arch.iommu_domain) { in kvm_vm_ioctl_assign_device()
|
/linux-3.4.99/arch/arm/plat-omap/include/plat/ ! |
D | iovmm.h | 77 omap_iommu_vmap(struct iommu_domain *domain, struct device *dev, u32 da, 79 extern struct sg_table *omap_iommu_vunmap(struct iommu_domain *domain, 82 omap_iommu_vmalloc(struct iommu_domain *domain, struct device *dev, 85 omap_iommu_vfree(struct iommu_domain *domain, struct device *dev,
|
D | iommu.h | 35 struct iommu_domain *domain;
|
/linux-3.4.99/arch/ia64/include/asm/ ! |
D | kvm_host.h | 480 struct iommu_domain *iommu_domain; member
|
/linux-3.4.99/drivers/media/video/omap3isp/ ! |
D | isp.h | 215 struct iommu_domain *domain;
|
/linux-3.4.99/drivers/remoteproc/ ! |
D | remoteproc_core.c | 80 static int rproc_iommu_fault(struct iommu_domain *domain, struct device *dev, in rproc_iommu_fault() 94 struct iommu_domain *domain; in rproc_enable_iommu() 139 struct iommu_domain *domain = rproc->domain; in rproc_disable_iommu()
|
/linux-3.4.99/arch/x86/include/asm/ ! |
D | kvm_host.h | 506 struct iommu_domain *iommu_domain; member
|
/linux-3.4.99/arch/x86/kvm/ ! |
D | x86.c | 2259 return vcpu->kvm->arch.iommu_domain && in need_emulate_wbinvd()
|
D | vmx.c | 6399 else if (vcpu->kvm->arch.iommu_domain &&
|