/linux-master/include/linux/ |
H A D | device.h | 45 struct iommu_group; 669 * @iommu_group: IOMMU group the device belongs to. 787 struct iommu_group *iommu_group; member in struct:device 849 return (dev->iommu_group != NULL);
|
H A D | iommu.h | 35 struct iommu_group; 567 struct iommu_group *(*device_group)(struct device *dev); 678 struct iommu_group *singleton_group; 721 * struct iommu_group *iommu_group; 781 extern bool iommu_group_has_isolated_msi(struct iommu_group *group); 814 extern int iommu_get_group_resv_regions(struct iommu_group *group, 818 struct iommu_group *group); 820 struct iommu_group *group); 821 extern struct iommu_group *iommu_group_allo 1066 struct iommu_group {}; struct [all...] |
H A D | vfio.h | 299 struct iommu_group *vfio_file_iommu_group(struct file *file);
|
/linux-master/drivers/vfio/pci/ |
H A D | vfio_pci_core.c | 828 struct iommu_group *iommu_group; local 830 iommu_group = iommu_group_get(&pdev->dev); 831 if (!iommu_group) 834 info->group_id = iommu_group_id(iommu_group); 835 iommu_group_put(iommu_group); 2551 * iommufd_ctx yet, check if its iommu_group has any device 2554 * cannot be owned by another iommufd_ctx when its iommu_group
|
/linux-master/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 113 struct iommu_group *iommu_group; member in struct:vfio_iommu_group 158 struct iommu_group *iommu_group); 785 struct iommu_group *iommu_group, 881 group = vfio_iommu_find_iommu_group(iommu, iommu_group); 1854 struct iommu_group *iommu_group) 1859 if (g->iommu_group 784 vfio_iommu_type1_pin_pages(void *iommu_data, struct iommu_group *iommu_group, dma_addr_t user_iova, int npage, int prot, struct page **pages) argument 1853 find_iommu_group(struct vfio_domain *domain, struct iommu_group *iommu_group) argument 1867 vfio_iommu_find_iommu_group(struct vfio_iommu *iommu, struct iommu_group *iommu_group) argument 2142 vfio_iommu_type1_attach_group(void *iommu_data, struct iommu_group *iommu_group, enum vfio_group_type type) argument 2451 vfio_iommu_type1_detach_group(void *iommu_data, struct iommu_group *iommu_group) argument 3136 vfio_iommu_type1_group_iommu_domain(void *iommu_data, struct iommu_group *iommu_group) argument [all...] |
H A D | vfio.h | 16 struct iommu_group; 53 * iommu_group as the iommu_group sysfs interface is part of the 61 * iommu_group as the iommu_group sysfs interface is part of the 75 * that provided the iommu_group and thus the iommu_group is a valid 77 * reaches 0 then the iommu_group is invalid. 81 struct iommu_group *iommu_group; member in struct:vfio_group [all...] |
/linux-master/drivers/iommu/ |
H A D | virtio-iommu.c | 1037 static struct iommu_group *viommu_device_group(struct device *dev)
|
H A D | tegra-smmu.c | 28 struct iommu_group *group; 910 static struct iommu_group *tegra_smmu_device_group(struct device *dev) 917 struct iommu_group *grp; 924 /* Find existing iommu_group associating with swgroup or group_soc */
|
H A D | iommu.c | 47 struct iommu_group { struct 71 /* Iterate over each struct group_device in a struct iommu_group */ 77 ssize_t (*show)(struct iommu_group *group, char *buf); 78 ssize_t (*store)(struct iommu_group *group, 97 __iommu_group_domain_alloc(struct iommu_group *group, unsigned int type); 101 struct iommu_group *group); 107 static int __iommu_device_set_domain(struct iommu_group *group, 111 static int __iommu_group_set_domain_internal(struct iommu_group *group, 114 static int __iommu_group_set_domain(struct iommu_group *group, 119 static void __iommu_group_set_domain_nofail(struct iommu_group *grou [all...] |
H A D | mtk_iommu.c | 257 struct iommu_group *m4u_group[MTK_IOMMU_GROUP_MAX]; 932 static struct iommu_group *mtk_iommu_device_group(struct device *dev) 936 struct iommu_group *group;
|
H A D | iommu-priv.h | 20 int iommu_group_replace_domain(struct iommu_group *group,
|
H A D | apple-dart.c | 221 struct iommu_group *sid2group[DART_MAX_STREAMS]; 867 static struct iommu_group *apple_dart_device_group(struct device *dev) 873 struct iommu_group *group = NULL; 874 struct iommu_group *res = ERR_PTR(-EINVAL); 880 struct iommu_group *stream_group =
|
/linux-master/drivers/iommu/intel/ |
H A D | iommu.c | 4174 static struct iommu_group *intel_iommu_device_group(struct device *dev)
|
/linux-master/drivers/iommu/arm/arm-smmu/ |
H A D | arm-smmu.h | 265 struct iommu_group *group;
|
H A D | arm-smmu.c | 1482 static struct iommu_group *arm_smmu_device_group(struct device *dev) 1487 struct iommu_group *group = NULL;
|
/linux-master/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.c | 2964 static struct iommu_group *arm_smmu_device_group(struct device *dev) 2966 struct iommu_group *group;
|
/linux-master/drivers/iommu/amd/ |
H A D | iommu.c | 316 static struct iommu_group *acpihid_device_group(struct device *dev) 2241 static struct iommu_group *amd_iommu_device_group(struct device *dev)
|
H A D | amd_iommu_types.h | 816 struct iommu_group *group;
|
/linux-master/arch/powerpc/kernel/ |
H A D | iommu.c | 1004 struct iommu_group *grp; 1171 iommu_group_id(dev->iommu_group)); 1290 struct iommu_group *grp; 1321 struct iommu_group *grp = iommu_group_get(dev); 1375 static struct iommu_group *spapr_tce_iommu_device_group(struct device *dev)
|
H A D | eeh.c | 1298 struct eeh_pe *eeh_iommu_group_to_pe(struct iommu_group *group)
|
/linux-master/virt/kvm/ |
H A D | vfio.c | 28 struct iommu_group *iommu_group; member in struct:kvm_vfio_file 84 static struct iommu_group *kvm_vfio_file_iommu_group(struct file *file) 86 struct iommu_group *(*fn)(struct file *file); 87 struct iommu_group *ret; 103 if (WARN_ON_ONCE(!kvf->iommu_group)) 106 kvm_spapr_tce_release_iommu_group(kvm, kvf->iommu_group); 107 iommu_group_put(kvf->iommu_group); 108 kvf->iommu_group = NULL; 254 if (!kvf->iommu_group) { [all...] |
/linux-master/arch/powerpc/include/asm/ |
H A D | kvm_ppc.h | 177 struct iommu_group *grp); 179 struct iommu_group *grp);
|
H A D | eeh.h | 304 struct eeh_pe *eeh_iommu_group_to_pe(struct iommu_group *group);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | iommu.c | 1783 struct iommu_group *pSeries_pci_device_group(struct pci_controller *hose, 1787 struct iommu_group *grp;
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gpuvm.c | 106 (adev->dev->iommu_group == bo_adev->dev->iommu_group);
|