Home
last modified time | relevance | path

Searched refs:iommu_table_group (Results 1 – 9 of 9) sorted by relevance

/linux/arch/powerpc/include/asm/
H A Diommu.h167 struct iommu_table_group;
174 long (*create_table)(struct iommu_table_group *table_group,
180 long (*set_window)(struct iommu_table_group *table_group,
183 long (*unset_window)(struct iommu_table_group *table_group,
186 long (*take_ownership)(struct iommu_table_group *table_group, struct device *dev);
188 void (*release_ownership)(struct iommu_table_group *table_group, struct device *dev);
194 struct iommu_table_group *table_group;
197 struct iommu_table_group { struct
212 extern void iommu_register_group(struct iommu_table_group *table_group, argument
214 extern int iommu_add_device(struct iommu_table_group *table_group,
[all …]
H A Dpci-bridge.h211 struct iommu_table_group *table_group; /* for phb's or bridges */
/linux/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c242 struct iommu_table_group *table_group; in tce_iommu_enable()
607 struct iommu_table_group *table_group, in tce_iommu_create_table()
648 struct iommu_table_group *table_group; in tce_iommu_create_window()
711 struct iommu_table_group *table_group = NULL; in tce_iommu_remove_window()
753 struct iommu_table_group *table_group; in tce_iommu_create_default_window()
860 struct iommu_table_group *table_group; in tce_iommu_ioctl()
1191 struct iommu_table_group *table_group) in tce_iommu_release_ownership()
1211 struct iommu_table_group *table_group) in tce_iommu_take_ownership()
1241 struct iommu_table_group *table_group; in tce_iommu_attach_group()
1274 struct iommu_table_group *table_group_tmp; in tce_iommu_attach_group()
[all …]
/linux/arch/powerpc/platforms/powernv/
H A Dpci.h79 struct iommu_table_group table_group;
318 struct iommu_table_group *table_group);
320 struct iommu_table_group *table_group);
H A Dpci-ioda-tce.c371 struct iommu_table_group *table_group) in pnv_pci_unlink_table_and_group()
412 struct iommu_table_group *table_group) in pnv_pci_link_table_and_group()
H A Dpci-ioda.c1275 static long pnv_pci_ioda2_set_window(struct iommu_table_group *table_group, in pnv_pci_ioda2_set_window()
1342 static long pnv_pci_ioda2_create_table(struct iommu_table_group *table_group, in pnv_pci_ioda2_create_table()
1454 static long pnv_pci_ioda2_unset_window(struct iommu_table_group *table_group, in pnv_pci_ioda2_unset_window()
1512 struct iommu_table_group *table_group, in pnv_pci_ioda2_create_table_userspace()
1538 static long pnv_ioda2_take_ownership(struct iommu_table_group *table_group, in pnv_ioda2_take_ownership()
1564 static void pnv_ioda2_release_ownership(struct iommu_table_group *table_group, in pnv_ioda2_release_ownership()
/linux/arch/powerpc/platforms/pseries/
H A Diommu.c76 static struct iommu_table_group *iommu_pseries_alloc_group(int node) in iommu_pseries_alloc_group()
78 struct iommu_table_group *table_group; in iommu_pseries_alloc_group()
97 static void iommu_pseries_free_group(struct iommu_table_group *table_group, in iommu_pseries_free_group()
752 struct iommu_table_group *table_group) in pci_dma_find_parent_node()
1804 struct iommu_table_group *table_group = PCI_DN(pdn)->table_group; in spapr_tce_init_table_group()
2002 static long pseries_setup_default_iommu_config(struct iommu_table_group *table_group, in pseries_setup_default_iommu_config()
2046 static bool is_default_window_request(struct iommu_table_group *table_group, __u32 page_shift, in is_default_window_request()
2056 static long spapr_tce_create_table(struct iommu_table_group *table_group, int num, in spapr_tce_create_table()
2258 static bool is_default_window_table(struct iommu_table_group *table_group, struct iommu_table *tbl) in is_default_window_table()
2267 static long spapr_tce_set_window(struct iommu_table_group *table_group, in spapr_tce_set_window()
[all …]
/linux/arch/powerpc/kernel/
H A Diommu.c1014 struct iommu_table_group *table_group = iommu_data; in group_release()
1019 void iommu_register_group(struct iommu_table_group *table_group, in iommu_register_group()
1123 int iommu_add_device(struct iommu_table_group *table_group, struct device *dev) in iommu_add_device()
1163 struct iommu_table_group *table_group; in spapr_tce_platform_iommu_attach_dev()
1196 struct iommu_table_group *table_group; in spapr_tce_blocked_iommu_attach_dev()
/linux/arch/powerpc/kvm/
H A Dbook3s_64_vio.c87 struct iommu_table_group *table_group = NULL; in kvm_spapr_tce_release_iommu_group()
115 struct iommu_table_group *table_group; in kvm_spapr_tce_attach_iommu_group()