/kernel/linux/linux-5.10/include/linux/ |
D | iommu.h | 36 struct iommu_group; 254 struct iommu_group *(*device_group)(struct device *dev); 421 extern struct iommu_group *iommu_group_get_by_id(int id); 467 extern int iommu_get_group_resv_regions(struct iommu_group *group, 471 struct iommu_group *group); 473 struct iommu_group *group); 474 extern struct iommu_group *iommu_group_alloc(void); 475 extern void *iommu_group_get_iommudata(struct iommu_group *group); 476 extern void iommu_group_set_iommudata(struct iommu_group *group, 479 extern int iommu_group_set_name(struct iommu_group *group, const char *name); [all …]
|
D | vfio.h | 60 extern struct iommu_group *vfio_iommu_group_get(struct device *dev); 61 extern void vfio_iommu_group_put(struct iommu_group *group, struct device *dev); 92 struct iommu_group *group); 94 struct iommu_group *group); 96 struct iommu_group *group, 191 extern long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, 203 static inline long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, in vfio_spapr_iommu_eeh_ioctl()
|
D | host1x.h | 22 struct iommu_group; 59 struct iommu_group *group;
|
D | device.h | 45 struct iommu_group; 546 struct iommu_group *iommu_group; member 603 return (dev->iommu_group != NULL); in device_iommu_mapped()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | iommu.c | 35 struct iommu_group { struct 58 ssize_t (*show)(struct iommu_group *group, char *buf); argument 59 ssize_t (*store)(struct iommu_group *group, 83 static int iommu_alloc_default_domain(struct iommu_group *group, 90 struct iommu_group *group); 92 struct iommu_group *group); 93 static int iommu_create_device_direct_mappings(struct iommu_group *group, 95 static struct iommu_group *iommu_group_get_for_dev(struct device *dev); 104 container_of(_kobj, struct iommu_group, kobj) 202 struct iommu_group *group; in __iommu_probe_device() [all …]
|
D | fsl_pamu_domain.c | 911 static struct iommu_group *get_device_iommu_group(struct device *dev) in get_device_iommu_group() 913 struct iommu_group *group; in get_device_iommu_group() 934 static struct iommu_group *get_shared_pci_device_group(struct pci_dev *pdev) in get_shared_pci_device_group() 937 struct iommu_group *group; in get_shared_pci_device_group() 959 static struct iommu_group *get_pci_device_group(struct pci_dev *pdev) in get_pci_device_group() 963 struct iommu_group *group = NULL; in get_pci_device_group() 975 if (pci_ctl->parent->iommu_group) in get_pci_device_group() 988 if (pci_ctl->parent->iommu_group) { in get_pci_device_group() 1002 static struct iommu_group *fsl_pamu_device_group(struct device *dev) in fsl_pamu_device_group() 1004 struct iommu_group *group = ERR_PTR(-ENODEV); in fsl_pamu_device_group()
|
D | mtk_iommu.h | 64 struct iommu_group *m4u_group;
|
D | tegra-smmu.c | 25 struct iommu_group *group; 906 static struct iommu_group *tegra_smmu_group_get(struct tegra_smmu *smmu, in tegra_smmu_group_get() 911 struct iommu_group *grp; in tegra_smmu_group_get() 953 static struct iommu_group *tegra_smmu_device_group(struct device *dev) in tegra_smmu_device_group() 957 struct iommu_group *group; in tegra_smmu_device_group()
|
D | omap-iommu.h | 83 struct iommu_group *group;
|
D | ipmmu-vmsa.c | 69 struct iommu_group *group; 881 static struct iommu_group *ipmmu_find_group(struct device *dev) in ipmmu_find_group() 884 struct iommu_group *group; in ipmmu_find_group()
|
/kernel/linux/linux-5.10/drivers/vfio/ |
D | vfio.c | 74 struct iommu_group *iommu_group; member 107 struct iommu_group *vfio_iommu_group_get(struct device *dev) in vfio_iommu_group_get() 109 struct iommu_group *group; in vfio_iommu_group_get() 152 void vfio_iommu_group_put(struct iommu_group *group, struct device *dev) in vfio_iommu_group_put() 188 struct iommu_group *iommu_group) in vfio_noiommu_attach_group() argument 190 return iommu_group_get_iommudata(iommu_group) == &noiommu ? 0 : -EINVAL; in vfio_noiommu_attach_group() 194 struct iommu_group *iommu_group) in vfio_noiommu_detach_group() argument 307 iommu_group_unregister_notifier(group->iommu_group, &group->nb); in vfio_group_unlock_and_free() 314 static struct vfio_group *vfio_create_group(struct iommu_group *iommu_group) in vfio_create_group() argument 332 group->iommu_group = iommu_group; in vfio_create_group() [all …]
|
D | vfio_iommu_type1.c | 108 struct iommu_group *iommu_group; member 156 struct iommu_group *iommu_group); 714 struct iommu_group *iommu_group, in vfio_iommu_type1_pin_pages() argument 796 group = vfio_iommu_find_iommu_group(iommu, iommu_group); in vfio_iommu_type1_pin_pages() 1689 struct iommu_group *iommu_group) in find_iommu_group() argument 1694 if (g->iommu_group == iommu_group) in find_iommu_group() 1702 struct iommu_group *iommu_group) in vfio_iommu_find_iommu_group() argument 1708 group = find_iommu_group(domain, iommu_group); in vfio_iommu_find_iommu_group() 1714 group = find_iommu_group(iommu->external_domain, iommu_group); in vfio_iommu_find_iommu_group() 1824 return iommu_group_for_each_dev(group->iommu_group, in vfio_iommu_attach_group() [all …]
|
D | vfio_iommu_spapr_tce.c | 33 struct iommu_group *iommu_group); 44 struct iommu_group *grp; 1241 struct iommu_group *iommu_group) in tce_iommu_attach_group() argument 1252 table_group = iommu_group_get_iommudata(iommu_group); in tce_iommu_attach_group() 1269 if (tcegrp->grp == iommu_group) { in tce_iommu_attach_group() 1271 iommu_group_id(iommu_group)); in tce_iommu_attach_group() 1279 iommu_group_id(iommu_group), in tce_iommu_attach_group() 1310 tcegrp->grp = iommu_group; in tce_iommu_attach_group() 1325 struct iommu_group *iommu_group) in tce_iommu_detach_group() argument 1335 if (tcegrp->grp == iommu_group) { in tce_iommu_detach_group() [all …]
|
D | vfio_spapr_eeh.c | 31 long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, in vfio_spapr_iommu_eeh_ioctl()
|
/kernel/linux/linux-5.10/drivers/staging/media/tegra-vde/ |
D | vde.h | 22 struct iommu_group; 47 struct iommu_group *group;
|
/kernel/linux/linux-5.10/virt/kvm/ |
D | vfio.c | 126 static struct iommu_group *kvm_vfio_group_get_iommu_group( in kvm_vfio_group_get_iommu_group() 140 struct iommu_group *grp = kvm_vfio_group_get_iommu_group(vfio_group); in kvm_spapr_tce_release_vfio_group() 284 struct iommu_group *grp; in kvm_vfio_set_group()
|
/kernel/linux/linux-5.10/drivers/vfio/mdev/ |
D | mdev_driver.c | 19 struct iommu_group *group; in mdev_attach_iommu()
|
/kernel/linux/linux-5.10/drivers/vfio/pci/ |
D | vfio_pci.c | 668 struct iommu_group *iommu_group; in vfio_pci_fill_devs() local 673 iommu_group = iommu_group_get(&pdev->dev); in vfio_pci_fill_devs() 674 if (!iommu_group) in vfio_pci_fill_devs() 677 fill->devices[fill->cur].group_id = iommu_group_id(iommu_group); in vfio_pci_fill_devs() 682 iommu_group_put(iommu_group); in vfio_pci_fill_devs() 699 struct iommu_group *group; in vfio_pci_validate_devs() 2007 struct iommu_group *group; in vfio_pci_probe() 2110 vfio_iommu_group_put(pdev->dev.iommu_group, &pdev->dev); in vfio_pci_remove()
|
/kernel/linux/linux-5.10/drivers/vfio/platform/ |
D | vfio_platform_common.c | 658 struct iommu_group *group; in vfio_platform_probe_common() 713 vfio_iommu_group_put(dev->iommu_group, dev); in vfio_platform_remove_common()
|
/kernel/linux/linux-5.10/drivers/vfio/fsl-mc/ |
D | vfio_fsl_mc.c | 608 struct iommu_group *group; in vfio_fsl_mc_probe() 679 vfio_iommu_group_put(mc_dev->dev.iommu_group, dev); in vfio_fsl_mc_remove()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | iommu.h | 198 struct iommu_group *group;
|
D | eeh.h | 304 struct eeh_pe *eeh_iommu_group_to_pe(struct iommu_group *group);
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_64_vio.c | 69 struct iommu_group *grp) in kvm_spapr_tce_release_iommu_group() 97 struct iommu_group *grp) in kvm_spapr_tce_attach_iommu_group()
|
/kernel/linux/linux-5.10/drivers/gpu/host1x/ |
D | dev.h | 117 struct iommu_group *group;
|
/kernel/linux/linux-5.10/drivers/iommu/amd/ |
D | iommu_v2.c | 124 struct iommu_group *group; in free_device_state() 734 struct iommu_group *group; in amd_iommu_init_device()
|