Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/include/asm/
Diommu.h160 struct iommu_table_group;
167 long (*create_table)(struct iommu_table_group *table_group,
173 long (*set_window)(struct iommu_table_group *table_group,
176 long (*unset_window)(struct iommu_table_group *table_group,
179 void (*take_ownership)(struct iommu_table_group *table_group);
181 void (*release_ownership)(struct iommu_table_group *table_group);
187 struct iommu_table_group *table_group;
190 struct iommu_table_group { struct
205 extern void iommu_register_group(struct iommu_table_group *table_group, argument
207 extern int iommu_add_device(struct iommu_table_group *table_group,
[all …]
Dpci-bridge.h196 struct iommu_table_group *table_group; /* for phb's or bridges */
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dnpu-dma.c124 static long pnv_npu_unset_window(struct iommu_table_group *table_group,
127 static long pnv_npu_set_window(struct iommu_table_group *table_group, int num, in pnv_npu_set_window()
168 static long pnv_npu_unset_window(struct iommu_table_group *table_group, int num) in pnv_npu_unset_window()
197 static void pnv_npu_take_ownership(struct iommu_table_group *table_group) in pnv_npu_take_ownership()
231 static void pnv_npu_release_ownership(struct iommu_table_group *table_group) in pnv_npu_release_ownership()
262 struct iommu_table_group table_group;
275 struct iommu_table_group *table_group, in pnv_npu_peers_create_table_userspace()
292 static long pnv_npu_peers_set_window(struct iommu_table_group *table_group, in pnv_npu_peers_set_window()
331 static long pnv_npu_peers_unset_window(struct iommu_table_group *table_group, in pnv_npu_peers_unset_window()
378 static void pnv_npu_peers_take_ownership(struct iommu_table_group *table_group) in pnv_npu_peers_take_ownership()
[all …]
Dpci.h65 struct iommu_table_group table_group;
216 extern struct iommu_table_group *pnv_try_setup_npu_table_group(
218 extern struct iommu_table_group *pnv_npu_compound_attach(
243 struct iommu_table_group *table_group);
245 struct iommu_table_group *table_group);
Dpci-ioda-tce.c352 struct iommu_table_group *table_group) in pnv_pci_unlink_table_and_group()
389 struct iommu_table_group *table_group) in pnv_pci_link_table_and_group()
Dpci-ioda.c1439 static long pnv_pci_ioda2_unset_window(struct iommu_table_group *table_group,
1538 struct iommu_table_group *table_group, struct pci_bus *bus);
2284 static long pnv_pci_ioda2_set_window(struct iommu_table_group *table_group, in pnv_pci_ioda2_set_window()
2351 static long pnv_pci_ioda2_create_table(struct iommu_table_group *table_group, in pnv_pci_ioda2_create_table()
2463 static long pnv_pci_ioda2_unset_window(struct iommu_table_group *table_group, in pnv_pci_ioda2_unset_window()
2522 struct iommu_table_group *table_group, in pnv_pci_ioda2_create_table_userspace()
2535 static void pnv_ioda2_take_ownership(struct iommu_table_group *table_group) in pnv_ioda2_take_ownership()
2551 static void pnv_ioda2_release_ownership(struct iommu_table_group *table_group) in pnv_ioda2_release_ownership()
2571 struct iommu_table_group *table_group, in pnv_ioda_setup_bus_iommu_group_add_devices()
2586 struct iommu_table_group *table_group, struct pci_bus *bus) in pnv_ioda_setup_bus_iommu_group()
[all …]
/Linux-v5.4/drivers/vfio/
Dvfio_iommu_spapr_tce.c240 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()
752 struct iommu_table_group *table_group; in tce_iommu_create_default_window()
810 struct iommu_table_group *table_group; in tce_iommu_ioctl()
1142 struct iommu_table_group *table_group) in tce_iommu_release_ownership()
1161 struct iommu_table_group *table_group) in tce_iommu_take_ownership()
1188 struct iommu_table_group *table_group) in tce_iommu_release_ownership_ddw()
1205 struct iommu_table_group *table_group) in tce_iommu_take_ownership_ddw()
[all …]
/Linux-v5.4/arch/powerpc/platforms/pseries/
Diommu.c43 static struct iommu_table_group *iommu_pseries_alloc_group(int node) in iommu_pseries_alloc_group()
45 struct iommu_table_group *table_group; in iommu_pseries_alloc_group()
48 table_group = kzalloc_node(sizeof(struct iommu_table_group), GFP_KERNEL, in iommu_pseries_alloc_group()
69 static void iommu_pseries_free_group(struct iommu_table_group *table_group, in iommu_pseries_free_group()
519 struct iommu_table_group *table_group, in iommu_table_setparms_lpar()
/Linux-v5.4/arch/powerpc/kernel/
Diommu.c934 struct iommu_table_group *table_group = iommu_data; in group_release()
939 void iommu_register_group(struct iommu_table_group *table_group, in iommu_register_group()
1101 int iommu_add_device(struct iommu_table_group *table_group, struct device *dev) in iommu_add_device()
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_64_vio.c75 struct iommu_table_group *table_group = NULL; in kvm_spapr_tce_release_iommu_group()
100 struct iommu_table_group *table_group; in kvm_spapr_tce_attach_iommu_group()