Home
last modified time | relevance | path

Searched refs:iommu_table_group (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A 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,
207 extern int iommu_add_device(struct iommu_table_group *table_grou
[all...]
H A Dpci-bridge.h196 struct iommu_table_group *table_group; /* for phb's or bridges */
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Diommu.h162 struct iommu_table_group;
169 long (*create_table)(struct iommu_table_group *table_group,
175 long (*set_window)(struct iommu_table_group *table_group,
178 long (*unset_window)(struct iommu_table_group *table_group,
181 long (*take_ownership)(struct iommu_table_group *table_group);
183 void (*release_ownership)(struct iommu_table_group *table_group);
189 struct iommu_table_group *table_group;
192 struct iommu_table_group { struct
207 extern void iommu_register_group(struct iommu_table_group *table_group,
209 extern int iommu_add_device(struct iommu_table_group *table_grou
[all...]
H A Dpci-bridge.h213 struct iommu_table_group *table_group; /* for phb's or bridges */
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Dnpu-dma.c125 static long pnv_npu_unset_window(struct iommu_table_group *table_group,
128 static long pnv_npu_set_window(struct iommu_table_group *table_group, int num, in pnv_npu_set_window()
169 static long pnv_npu_unset_window(struct iommu_table_group *table_group, int num) in pnv_npu_unset_window()
198 static void pnv_npu_take_ownership(struct iommu_table_group *table_group) in pnv_npu_take_ownership()
232 static void pnv_npu_release_ownership(struct iommu_table_group *table_group) in pnv_npu_release_ownership()
263 struct iommu_table_group table_group;
276 struct iommu_table_group *table_group, in pnv_npu_peers_create_table_userspace()
293 static long pnv_npu_peers_set_window(struct iommu_table_group *table_group, in pnv_npu_peers_set_window()
332 static long pnv_npu_peers_unset_window(struct iommu_table_group *table_group, in pnv_npu_peers_unset_window()
379 static void pnv_npu_peers_take_ownership(struct iommu_table_group *table_grou
[all...]
H A Dpci.h83 struct iommu_table_group table_group;
345 struct iommu_table_group *table_group);
347 struct iommu_table_group *table_group);
H A Dpci-ioda-tce.c372 struct iommu_table_group *table_group) in pnv_pci_unlink_table_and_group()
398 /* Clean a pointer to iommu_table in iommu_table_group::tables[] */ in pnv_pci_unlink_table_and_group()
413 struct iommu_table_group *table_group) in pnv_pci_link_table_and_group()
H A Dpci-ioda.c1779 static long pnv_pci_ioda2_set_window(struct iommu_table_group *table_group, in pnv_pci_ioda2_set_window()
1846 static long pnv_pci_ioda2_create_table(struct iommu_table_group *table_group, in pnv_pci_ioda2_create_table()
1957 static long pnv_pci_ioda2_unset_window(struct iommu_table_group *table_group, in pnv_pci_ioda2_unset_window()
2015 struct iommu_table_group *table_group, in pnv_pci_ioda2_create_table_userspace()
2041 static void pnv_ioda2_take_ownership(struct iommu_table_group *table_group) in pnv_ioda2_take_ownership()
2057 static void pnv_ioda2_release_ownership(struct iommu_table_group *table_group) in pnv_ioda2_release_ownership()
2645 static long pnv_pci_ioda1_unset_window(struct iommu_table_group *table_group, in pnv_pci_ioda1_unset_window()
/kernel/linux/linux-5.10/drivers/vfio/
H A 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_grou in tce_iommu_take_ownership_ddw()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A Dpci.h79 struct iommu_table_group table_group;
321 struct iommu_table_group *table_group);
323 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()
397 /* Clean a pointer to iommu_table in iommu_table_group::tables[] */ 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.c1277 static long pnv_pci_ioda2_set_window(struct iommu_table_group *table_group, in pnv_pci_ioda2_set_window()
1344 static long pnv_pci_ioda2_create_table(struct iommu_table_group *table_group, in pnv_pci_ioda2_create_table()
1456 static long pnv_pci_ioda2_unset_window(struct iommu_table_group *table_group, in pnv_pci_ioda2_unset_window()
1514 struct iommu_table_group *table_group, in pnv_pci_ioda2_create_table_userspace()
1540 static long pnv_ioda2_take_ownership(struct iommu_table_group *table_group) in pnv_ioda2_take_ownership()
1565 static void pnv_ioda2_release_ownership(struct iommu_table_group *table_group) in pnv_ioda2_release_ownership()
/kernel/linux/linux-6.6/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c242 struct iommu_table_group *table_group; in tce_iommu_enable()
608 struct iommu_table_group *table_group, in tce_iommu_create_table()
649 struct iommu_table_group *table_group; in tce_iommu_create_window()
712 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()
1206 struct iommu_table_group *table_group) in tce_iommu_take_ownership()
1236 struct iommu_table_group *table_group; in tce_iommu_attach_group()
1269 struct iommu_table_group *table_group_tm in tce_iommu_attach_group()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Diommu.c995 struct iommu_table_group *table_group = iommu_data; in group_release()
1000 void iommu_register_group(struct iommu_table_group *table_group, in iommu_register_group()
1157 int iommu_add_device(struct iommu_table_group *table_group, struct device *dev) in iommu_add_device()
1205 static long spapr_tce_create_table(struct iommu_table_group *table_group, int num, in spapr_tce_create_table()
1223 static long spapr_tce_set_window(struct iommu_table_group *table_group, in spapr_tce_set_window()
1229 static long spapr_tce_unset_window(struct iommu_table_group *table_group, int num) in spapr_tce_unset_window()
1234 static long spapr_tce_take_ownership(struct iommu_table_group *table_group) in spapr_tce_take_ownership()
1255 static void spapr_tce_release_ownership(struct iommu_table_group *table_group) in spapr_tce_release_ownership()
1287 struct iommu_table_group *table_group; in spapr_tce_blocking_iommu_attach_dev()
1303 struct iommu_table_group *table_grou in spapr_tce_blocking_iommu_set_platform_dma()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Diommu.c56 static struct iommu_table_group *iommu_pseries_alloc_group(int node) in iommu_pseries_alloc_group()
58 struct iommu_table_group *table_group; in iommu_pseries_alloc_group()
61 table_group = kzalloc_node(sizeof(struct iommu_table_group), GFP_KERNEL, in iommu_pseries_alloc_group()
82 static void iommu_pseries_free_group(struct iommu_table_group *table_group, in iommu_pseries_free_group()
547 struct iommu_table_group *table_group, in iommu_table_setparms_lpar()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Diommu.c938 struct iommu_table_group *table_group = iommu_data; in group_release()
943 void iommu_register_group(struct iommu_table_group *table_group, in iommu_register_group()
1105 int iommu_add_device(struct iommu_table_group *table_group, struct device *dev) in iommu_add_device()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_64_vio.c74 struct iommu_table_group *table_group = NULL; in kvm_spapr_tce_release_iommu_group()
102 struct iommu_table_group *table_group; in kvm_spapr_tce_attach_iommu_group()
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbook3s_64_vio.c86 struct iommu_table_group *table_group = NULL; in kvm_spapr_tce_release_iommu_group()
114 struct iommu_table_group *table_group; in kvm_spapr_tce_attach_iommu_group()
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Diommu.c70 static struct iommu_table_group *iommu_pseries_alloc_group(int node) in iommu_pseries_alloc_group()
72 struct iommu_table_group *table_group; in iommu_pseries_alloc_group()
91 static void iommu_pseries_free_group(struct iommu_table_group *table_group, in iommu_pseries_free_group()

Completed in 36 milliseconds