Home
last modified time | relevance | path

Searched refs:iommu_group (Results 1 – 25 of 30) sorted by relevance

12

/drivers/iommu/
Diommu.c36 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 …]
Dfsl_pamu_domain.c911 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()
Dmtk_iommu.h73 struct iommu_group *m4u_group[MTK_IOMMU_GROUP_MAX];
Dtegra-smmu.c25 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()
Domap-iommu.h83 struct iommu_group *group;
Dipmmu-vmsa.c69 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()
Dsun50i-iommu.c109 struct iommu_group *group;
754 static struct iommu_group *sun50i_iommu_device_group(struct device *dev) in sun50i_iommu_device_group()
Dmtk_iommu.c602 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()
Drockchip-iommu.c110 struct iommu_group *group;
1081 static struct iommu_group *rk_iommu_device_group(struct device *dev) in rk_iommu_device_group()
Domap-iommu.c1725 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()
Dvirtio-iommu.c921 static struct iommu_group *viommu_device_group(struct device *dev) in viommu_device_group()
/drivers/vfio/
Dvfio.c74 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 …]
Dvfio_iommu_spapr_tce.c33 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 …]
Dvfio_iommu_type1.c109 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 …]
Dvfio_spapr_eeh.c31 long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, in vfio_spapr_iommu_eeh_ioctl()
/drivers/staging/media/tegra-vde/
Dvde.h22 struct iommu_group;
47 struct iommu_group *group;
/drivers/vfio/mdev/
Dmdev_driver.c19 struct iommu_group *group; in mdev_attach_iommu()
/drivers/vfio/pci/
Dvfio_pci.c668 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/
Dvfio_platform_common.c658 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/
Dvfio_fsl_mc.c608 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/
Diommu_v2.c124 struct iommu_group *group; in free_device_state()
734 struct iommu_group *group; in amd_iommu_init_device()
Damd_iommu_types.h638 struct iommu_group *group;
/drivers/gpu/host1x/
Ddev.h117 struct iommu_group *group;
/drivers/iommu/arm/arm-smmu/
Darm-smmu.h260 struct iommu_group *group;
Darm-smmu.c1464 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()

12