Home
last modified time | relevance | path

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

12

/linux/include/linux/
A Diommu.h36 struct iommu_group;
270 struct iommu_group *(*device_group)(struct device *dev);
467 struct iommu_group *group);
469 struct iommu_group *group);
470 extern struct iommu_group *iommu_group_alloc(void);
482 extern struct iommu_group *iommu_group_ref_get(struct iommu_group *group);
483 extern void iommu_group_put(struct iommu_group *group);
499 extern int iommu_group_id(struct iommu_group *group);
687 struct iommu_group {}; struct
822 struct iommu_group *group) in iommu_attach_group()
[all …]
A Dvfio.h162 extern long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group,
174 static inline long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, in vfio_spapr_iommu_eeh_ioctl()
A Dhost1x.h22 struct iommu_group;
63 struct iommu_group *group;
A Ddevice.h45 struct iommu_group;
560 struct iommu_group *iommu_group; member
620 return (dev->iommu_group != NULL); in device_iommu_mapped()
/linux/drivers/vfio/
A Dvfio.c75 struct iommu_group *iommu_group; member
198 struct iommu_group *iommu_group, enum vfio_group_type type) in vfio_noiommu_attach_group() argument
204 struct iommu_group *iommu_group) in vfio_noiommu_detach_group() argument
316 __vfio_group_get_from_iommu(struct iommu_group *iommu_group) in __vfio_group_get_from_iommu() argument
321 if (group->iommu_group == iommu_group) { in __vfio_group_get_from_iommu()
330 vfio_group_get_from_iommu(struct iommu_group *iommu_group) in vfio_group_get_from_iommu() argument
387 group->iommu_group = iommu_group; in vfio_group_alloc()
478 struct iommu_group *iommu_group; in vfio_group_get_from_dev() local
482 if (!iommu_group) in vfio_group_get_from_dev()
713 struct iommu_group *iommu_group; in vfio_noiommu_group_alloc() local
[all …]
A Dvfio.h47 struct iommu_group *group,
50 struct iommu_group *group);
52 struct iommu_group *group,
66 struct iommu_group *group);
A Dvfio_iommu_type1.c114 struct iommu_group *iommu_group; member
161 struct iommu_group *iommu_group);
830 struct iommu_group *iommu_group, in vfio_iommu_type1_pin_pages() argument
1876 struct iommu_group *iommu_group) in find_iommu_group() argument
1881 if (g->iommu_group == iommu_group) in find_iommu_group()
1890 struct iommu_group *iommu_group) in vfio_iommu_find_iommu_group() argument
1902 if (group->iommu_group == iommu_group) in vfio_iommu_find_iommu_group()
2180 group->iommu_group = iommu_group; in vfio_iommu_type1_attach_group()
2455 struct iommu_group *iommu_group) in vfio_iommu_type1_detach_group() argument
2465 if (group->iommu_group != iommu_group) in vfio_iommu_type1_detach_group()
[all …]
A Dvfio_iommu_spapr_tce.c34 struct iommu_group *iommu_group);
45 struct iommu_group *grp;
1242 struct iommu_group *iommu_group, enum vfio_group_type type) in tce_iommu_attach_group() argument
1256 table_group = iommu_group_get_iommudata(iommu_group); in tce_iommu_attach_group()
1273 if (tcegrp->grp == iommu_group) { in tce_iommu_attach_group()
1275 iommu_group_id(iommu_group)); in tce_iommu_attach_group()
1283 iommu_group_id(iommu_group), in tce_iommu_attach_group()
1314 tcegrp->grp = iommu_group; in tce_iommu_attach_group()
1329 struct iommu_group *iommu_group) in tce_iommu_detach_group() argument
1339 if (tcegrp->grp == iommu_group) { in tce_iommu_detach_group()
[all …]
A Dvfio_spapr_eeh.c31 long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, in vfio_spapr_iommu_eeh_ioctl()
/linux/drivers/iommu/
A Diommu.c38 struct iommu_group { struct
219 struct iommu_group *group; in __iommu_probe_device()
270 struct iommu_group *group; in iommu_probe_device()
611 struct iommu_group *group; in iommu_group_alloc()
670 struct iommu_group *group; in iommu_group_get_by_id()
887 dev->iommu_group = group; in iommu_group_add_device()
911 dev->iommu_group = NULL; in iommu_group_add_device()
934 struct iommu_group *group = dev->iommu_group; in iommu_group_remove_device()
966 dev->iommu_group = NULL; in iommu_group_remove_device()
1031 struct iommu_group *group = dev->iommu_group; in iommu_group_get()
[all …]
A Dfsl_pamu_domain.c336 static struct iommu_group *get_device_iommu_group(struct device *dev) in get_device_iommu_group()
338 struct iommu_group *group; in get_device_iommu_group()
359 static struct iommu_group *get_shared_pci_device_group(struct pci_dev *pdev) in get_shared_pci_device_group()
362 struct iommu_group *group; in get_shared_pci_device_group()
384 static struct iommu_group *get_pci_device_group(struct pci_dev *pdev) in get_pci_device_group()
388 struct iommu_group *group = NULL; in get_pci_device_group()
400 if (pci_ctl->parent->iommu_group) in get_pci_device_group()
413 if (pci_ctl->parent->iommu_group) { in get_pci_device_group()
427 static struct iommu_group *fsl_pamu_device_group(struct device *dev) in fsl_pamu_device_group()
429 struct iommu_group *group = ERR_PTR(-ENODEV); in fsl_pamu_device_group()
A Dapple-dart.c114 struct iommu_group *sid2group[DART_MAX_STREAMS];
668 static struct iommu_group *apple_dart_device_group(struct device *dev) in apple_dart_device_group()
674 struct iommu_group *group = NULL; in apple_dart_device_group()
675 struct iommu_group *res = ERR_PTR(-EINVAL); in apple_dart_device_group()
681 struct iommu_group *stream_group = in apple_dart_device_group()
A Dmtk_iommu.h73 struct iommu_group *m4u_group[MTK_IOMMU_GROUP_MAX];
A Domap-iommu.h83 struct iommu_group *group;
A Dsprd-iommu.c71 struct iommu_group *group;
396 static struct iommu_group *sprd_iommu_device_group(struct device *dev) in sprd_iommu_device_group()
A Dipmmu-vmsa.c67 struct iommu_group *group;
854 static struct iommu_group *ipmmu_find_group(struct device *dev) in ipmmu_find_group()
857 struct iommu_group *group; in ipmmu_find_group()
A Dtegra-smmu.c26 struct iommu_group *group;
895 static struct iommu_group *tegra_smmu_device_group(struct device *dev) in tegra_smmu_device_group()
902 struct iommu_group *grp; in tegra_smmu_device_group()
A Dsun50i-iommu.c107 struct iommu_group *group;
743 static struct iommu_group *sun50i_iommu_device_group(struct device *dev) in sun50i_iommu_device_group()
/linux/drivers/staging/media/tegra-vde/
A Dvde.h22 struct iommu_group;
47 struct iommu_group *group;
/linux/virt/kvm/
A Dvfio.c126 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()
/linux/drivers/vfio/pci/
A Dvfio_pci_core.c536 struct iommu_group *iommu_group; in vfio_pci_fill_devs() local
541 iommu_group = iommu_group_get(&pdev->dev); in vfio_pci_fill_devs()
542 if (!iommu_group) in vfio_pci_fill_devs()
545 fill->devices[fill->cur].group_id = iommu_group_id(iommu_group); in vfio_pci_fill_devs()
550 iommu_group_put(iommu_group); in vfio_pci_fill_devs()
/linux/arch/powerpc/include/asm/
A Diommu.h199 struct iommu_group *group;
/linux/arch/powerpc/kvm/
A Dbook3s_64_vio.c69 struct iommu_group *grp) in kvm_spapr_tce_release_iommu_group()
97 struct iommu_group *grp) in kvm_spapr_tce_attach_iommu_group()
/linux/drivers/iommu/amd/
A Diommu_v2.c126 struct iommu_group *group; in free_device_state()
735 struct iommu_group *group; in amd_iommu_init_device()
/linux/drivers/gpu/host1x/
A Ddev.h123 struct iommu_group *group;

Completed in 66 milliseconds

12