/drivers/iommu/ |
D | iommu.c | 36 struct iommu_group { struct 59 ssize_t (*show)(struct iommu_group *group, char *buf); argument 60 ssize_t (*store)(struct iommu_group *group, 84 static int iommu_alloc_default_domain(struct iommu_group *group, 91 struct iommu_group *group); 93 struct iommu_group *group); 94 static int iommu_create_device_direct_mappings(struct iommu_group *group, 96 static struct iommu_group *iommu_group_get_for_dev(struct device *dev); 105 container_of(_kobj, struct iommu_group, kobj) 203 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 | 73 struct iommu_group *m4u_group[MTK_IOMMU_GROUP_MAX];
|
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; 880 static struct iommu_group *ipmmu_find_group(struct device *dev) in ipmmu_find_group() 883 struct iommu_group *group; in ipmmu_find_group()
|
D | sun50i-iommu.c | 109 struct iommu_group *group; 754 static struct iommu_group *sun50i_iommu_device_group(struct device *dev) in sun50i_iommu_device_group()
|
D | mtk_iommu.c | 602 static struct iommu_group *mtk_iommu_device_group(struct device *dev) in mtk_iommu_device_group() 605 struct iommu_group *group; in mtk_iommu_device_group()
|
D | rockchip-iommu.c | 110 struct iommu_group *group; 1081 static struct iommu_group *rk_iommu_device_group(struct device *dev) in rk_iommu_device_group()
|
D | omap-iommu.c | 1725 static struct iommu_group *omap_iommu_device_group(struct device *dev) in omap_iommu_device_group() 1728 struct iommu_group *group = ERR_PTR(-EINVAL); in omap_iommu_device_group()
|
D | virtio-iommu.c | 921 static struct iommu_group *viommu_device_group(struct device *dev) in viommu_device_group()
|
/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_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_iommu_type1.c | 109 struct iommu_group *iommu_group; member 157 struct iommu_group *iommu_group); 715 struct iommu_group *iommu_group, in vfio_iommu_type1_pin_pages() argument 797 group = vfio_iommu_find_iommu_group(iommu, iommu_group); in vfio_iommu_type1_pin_pages() 1677 struct iommu_group *iommu_group) in find_iommu_group() argument 1682 if (g->iommu_group == iommu_group) in find_iommu_group() 1690 struct iommu_group *iommu_group) in vfio_iommu_find_iommu_group() argument 1696 group = find_iommu_group(domain, iommu_group); in vfio_iommu_find_iommu_group() 1702 group = find_iommu_group(iommu->external_domain, iommu_group); in vfio_iommu_find_iommu_group() 1812 return iommu_group_for_each_dev(group->iommu_group, in vfio_iommu_attach_group() [all …]
|
D | vfio_spapr_eeh.c | 31 long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, in vfio_spapr_iommu_eeh_ioctl()
|
/drivers/staging/media/tegra-vde/ |
D | vde.h | 22 struct iommu_group; 47 struct iommu_group *group;
|
/drivers/vfio/mdev/ |
D | mdev_driver.c | 19 struct iommu_group *group; in mdev_attach_iommu()
|
/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()
|
/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()
|
/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()
|
/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()
|
D | amd_iommu_types.h | 638 struct iommu_group *group;
|
/drivers/gpu/host1x/ |
D | dev.h | 117 struct iommu_group *group;
|
/drivers/iommu/arm/arm-smmu/ |
D | arm-smmu.h | 260 struct iommu_group *group;
|
D | arm-smmu.c | 1464 static struct iommu_group *arm_smmu_device_group(struct device *dev) in arm_smmu_device_group() 1469 struct iommu_group *group = NULL; in arm_smmu_device_group()
|