arch/powerpc/include/asm/device.h
11
struct iommu_table;
arch/powerpc/include/asm/device.h
29
struct iommu_table *iommu_table_base;
arch/powerpc/include/asm/iommu.h
129
int get_iommu_order(unsigned long size, struct iommu_table *tbl)
arch/powerpc/include/asm/iommu.h
140
struct iommu_table *base)
arch/powerpc/include/asm/iommu.h
152
extern struct iommu_table *iommu_tce_table_get(struct iommu_table *tbl);
arch/powerpc/include/asm/iommu.h
153
extern int iommu_tce_table_put(struct iommu_table *tbl);
arch/powerpc/include/asm/iommu.h
158
extern struct iommu_table *iommu_init_table(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
160
bool iommu_table_in_use(struct iommu_table *tbl);
arch/powerpc/include/asm/iommu.h
161
extern void iommu_table_reserve_pages(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
163
extern void iommu_table_clear(struct iommu_table *tbl);
arch/powerpc/include/asm/iommu.h
179
struct iommu_table **ptbl);
arch/powerpc/include/asm/iommu.h
182
struct iommu_table *tblnew);
arch/powerpc/include/asm/iommu.h
206
struct iommu_table *tables[IOMMU_TABLE_GROUP_MAX_TABLES];
arch/powerpc/include/asm/iommu.h
216
extern long iommu_tce_xchg(struct mm_struct *mm, struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
220
struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
223
extern void iommu_tce_kill(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
261
extern int ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
266
extern void ppc_iommu_unmap_sg(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
272
extern void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
275
extern void iommu_free_coherent(struct iommu_table *tbl, size_t size,
arch/powerpc/include/asm/iommu.h
277
extern dma_addr_t iommu_map_phys(struct device *dev, struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
282
extern void iommu_unmap_phys(struct iommu_table *tbl, dma_addr_t dma_handle,
arch/powerpc/include/asm/iommu.h
315
extern void iommu_flush_tce(struct iommu_table *tbl);
arch/powerpc/include/asm/iommu.h
45
int (*set)(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
56
int (*xchg_no_kill)(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
61
void (*tce_kill)(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
65
__be64 *(*useraddrptr)(struct iommu_table *tbl, long index, bool alloc);
arch/powerpc/include/asm/iommu.h
67
void (*clear)(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
70
unsigned long (*get)(struct iommu_table *tbl, long index);
arch/powerpc/include/asm/iommu.h
71
void (*flush)(struct iommu_table *tbl);
arch/powerpc/include/asm/iommu.h
72
void (*free)(struct iommu_table *tbl);
arch/powerpc/include/asm/kvm_host.h
183
struct iommu_table *tbl;
arch/powerpc/include/asm/machdep.h
17
struct iommu_table;
arch/powerpc/include/asm/pci-bridge.h
196
struct iommu_table;
arch/powerpc/include/asm/vio.h
44
struct iommu_table;
arch/powerpc/kernel/dma-iommu.c
160
struct iommu_table *tbl;
arch/powerpc/kernel/dma-iommu.c
194
struct iommu_table *tbl = get_iommu_table_base(dev);
arch/powerpc/kernel/iommu.c
1054
void iommu_flush_tce(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
1097
struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
1115
void iommu_tce_kill(struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
216
struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
347
static dma_addr_t iommu_alloc(struct device *dev, struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
390
static bool iommu_free_check(struct iommu_table *tbl, dma_addr_t dma_addr,
arch/powerpc/kernel/iommu.c
418
static struct iommu_pool *get_pool(struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
437
static void __iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr,
arch/powerpc/kernel/iommu.c
459
static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr,
arch/powerpc/kernel/iommu.c
47
struct iommu_table *tbl = data;
arch/powerpc/kernel/iommu.c
472
int ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
53
static void iommu_debugfs_add(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
615
void ppc_iommu_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist,
arch/powerpc/kernel/iommu.c
647
void iommu_table_clear(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
688
void iommu_table_reserve_pages(struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
70
static void iommu_debugfs_del(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
726
struct iommu_table *iommu_init_table(struct iommu_table *tbl, int nid,
arch/powerpc/kernel/iommu.c
78
static void iommu_debugfs_add(struct iommu_table *tbl){}
arch/powerpc/kernel/iommu.c
783
bool iommu_table_in_use(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
79
static void iommu_debugfs_del(struct iommu_table *tbl){}
arch/powerpc/kernel/iommu.c
806
struct iommu_table *tbl;
arch/powerpc/kernel/iommu.c
808
tbl = container_of(kref, struct iommu_table, it_kref);
arch/powerpc/kernel/iommu.c
831
struct iommu_table *iommu_tce_table_get(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
84
static void __iommu_free(struct iommu_table *, dma_addr_t, unsigned int);
arch/powerpc/kernel/iommu.c
840
int iommu_tce_table_put(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
854
dma_addr_t iommu_map_phys(struct device *dev, struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
893
void iommu_unmap_phys(struct iommu_table *tbl, dma_addr_t dma_handle,
arch/powerpc/kernel/iommu.c
912
void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
962
void iommu_free_coherent(struct iommu_table *tbl, size_t size,
arch/powerpc/kvm/book3s_64_vio.c
114
struct iommu_table *tbl = NULL;
arch/powerpc/kvm/book3s_64_vio.c
140
struct iommu_table *tbltmp = table_group->tables[i];
arch/powerpc/kvm/book3s_64_vio.c
434
struct iommu_table *tbl, unsigned long entry)
arch/powerpc/kvm/book3s_64_vio.c
449
struct iommu_table *tbl, unsigned long entry)
arch/powerpc/kvm/book3s_64_vio.c
470
struct iommu_table *tbl, unsigned long entry)
arch/powerpc/kvm/book3s_64_vio.c
491
struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl,
arch/powerpc/kvm/book3s_64_vio.c
509
static long kvmppc_tce_iommu_do_map(struct kvm *kvm, struct iommu_table *tbl,
arch/powerpc/kvm/book3s_64_vio.c
548
struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl,
arch/powerpc/platforms/pasemi/iommu.c
106
static void iobmap_free(struct iommu_table *tbl, long index,
arch/powerpc/platforms/pasemi/iommu.c
74
static struct iommu_table iommu_table_iobmap;
arch/powerpc/platforms/pasemi/iommu.c
77
static int iobmap_build(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci-ioda-tce.c
124
int pnv_tce_build(struct iommu_table *tbl, long index, long npages,
arch/powerpc/platforms/powernv/pci-ioda-tce.c
147
int pnv_tce_xchg(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci-ioda-tce.c
181
__be64 *pnv_tce_useraddrptr(struct iommu_table *tbl, long index, bool alloc)
arch/powerpc/platforms/powernv/pci-ioda-tce.c
190
void pnv_tce_free(struct iommu_table *tbl, long index, long npages)
arch/powerpc/platforms/powernv/pci-ioda-tce.c
206
unsigned long pnv_tce_get(struct iommu_table *tbl, long index)
arch/powerpc/platforms/powernv/pci-ioda-tce.c
240
void pnv_pci_ioda2_table_free_pages(struct iommu_table *tbl)
arch/powerpc/platforms/powernv/pci-ioda-tce.c
292
bool alloc_userspace_copy, struct iommu_table *tbl)
arch/powerpc/platforms/powernv/pci-ioda-tce.c
370
void pnv_pci_unlink_table_and_group(struct iommu_table *tbl,
arch/powerpc/platforms/powernv/pci-ioda-tce.c
411
struct iommu_table *tbl,
arch/powerpc/platforms/powernv/pci-ioda-tce.c
48
void pnv_pci_setup_iommu_table(struct iommu_table *tbl,
arch/powerpc/platforms/powernv/pci-ioda-tce.c
83
static __be64 *pnv_tce(struct iommu_table *tbl, bool user, long idx, bool alloc)
arch/powerpc/platforms/powernv/pci-ioda.c
1163
static int pnv_ioda_tce_xchg_no_kill(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci-ioda.c
1219
static void pnv_pci_ioda2_tce_invalidate(struct iommu_table *tbl,
arch/powerpc/platforms/powernv/pci-ioda.c
1241
static int pnv_ioda2_tce_build(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci-ioda.c
1255
static void pnv_ioda2_tce_free(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci-ioda.c
1276
int num, struct iommu_table *tbl)
arch/powerpc/platforms/powernv/pci-ioda.c
1344
bool alloc_userspace_copy, struct iommu_table **ptbl)
arch/powerpc/platforms/powernv/pci-ioda.c
1351
struct iommu_table *tbl;
arch/powerpc/platforms/powernv/pci-ioda.c
1374
struct iommu_table *tbl = NULL;
arch/powerpc/platforms/powernv/pci-ioda.c
1514
struct iommu_table **ptbl)
arch/powerpc/platforms/powernv/pci-ioda.c
1544
struct iommu_table *tbl = pe->table_group.tables[0];
arch/powerpc/platforms/powernv/pci-ioda.c
2290
struct iommu_table *tbl = pe->table_group.tables[0];
arch/powerpc/platforms/powernv/pci.c
730
struct iommu_table *pnv_pci_table_alloc(int nid)
arch/powerpc/platforms/powernv/pci.c
732
struct iommu_table *tbl;
arch/powerpc/platforms/powernv/pci.c
734
tbl = kzalloc_node(sizeof(struct iommu_table), GFP_KERNEL, nid);
arch/powerpc/platforms/powernv/pci.h
274
extern struct iommu_table *pnv_pci_table_alloc(int nid);
arch/powerpc/platforms/powernv/pci.h
301
extern int pnv_tce_build(struct iommu_table *tbl, long index, long npages,
arch/powerpc/platforms/powernv/pci.h
304
extern void pnv_tce_free(struct iommu_table *tbl, long index, long npages);
arch/powerpc/platforms/powernv/pci.h
305
extern int pnv_tce_xchg(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci.h
307
extern __be64 *pnv_tce_useraddrptr(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci.h
309
extern unsigned long pnv_tce_get(struct iommu_table *tbl, long index);
arch/powerpc/platforms/powernv/pci.h
313
bool alloc_userspace_copy, struct iommu_table *tbl);
arch/powerpc/platforms/powernv/pci.h
314
extern void pnv_pci_ioda2_table_free_pages(struct iommu_table *tbl);
arch/powerpc/platforms/powernv/pci.h
317
struct iommu_table *tbl,
arch/powerpc/platforms/powernv/pci.h
319
extern void pnv_pci_unlink_table_and_group(struct iommu_table *tbl,
arch/powerpc/platforms/powernv/pci.h
321
extern void pnv_pci_setup_iommu_table(struct iommu_table *tbl,
arch/powerpc/platforms/pseries/iommu.c
122
static int tce_build_pSeries(struct iommu_table *tbl, long index,
arch/powerpc/platforms/pseries/iommu.c
152
static void tce_clear_pSeries(struct iommu_table *tbl, long index, long npages)
arch/powerpc/platforms/pseries/iommu.c
162
static unsigned long tce_get_pseries(struct iommu_table *tbl, long index)
arch/powerpc/platforms/pseries/iommu.c
1689
struct iommu_table *newtbl;
arch/powerpc/platforms/pseries/iommu.c
172
static long pseries_tce_iommu_userspace_view_alloc(struct iommu_table *tbl)
arch/powerpc/platforms/pseries/iommu.c
1851
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/iommu.c
192
static void tce_iommu_userspace_view_free(struct iommu_table *tbl)
arch/powerpc/platforms/pseries/iommu.c
198
static void tce_free_pSeries(struct iommu_table *tbl)
arch/powerpc/platforms/pseries/iommu.c
2009
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/iommu.c
205
static void tce_freemulti_pSeriesLP(struct iommu_table*, long, long);
arch/powerpc/platforms/pseries/iommu.c
2058
struct iommu_table **ptbl)
arch/powerpc/platforms/pseries/iommu.c
2070
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/iommu.c
2258
static bool is_default_window_table(struct iommu_table_group *table_group, struct iommu_table *tbl)
arch/powerpc/platforms/pseries/iommu.c
2268
int num, struct iommu_table *tbl)
arch/powerpc/platforms/pseries/iommu.c
2277
struct iommu_table *tbl = table_group->tables[num];
arch/powerpc/platforms/pseries/iommu.c
2339
struct iommu_table *tbl = table_group->tables[0];
arch/powerpc/platforms/pseries/iommu.c
2391
struct iommu_table *tbl = table_group->tables[0];
arch/powerpc/platforms/pseries/iommu.c
250
static int tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum,
arch/powerpc/platforms/pseries/iommu.c
356
static void tce_freemulti_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages)
arch/powerpc/platforms/pseries/iommu.c
385
static unsigned long tce_get_pSeriesLP(struct iommu_table *tbl, long tcenum)
arch/powerpc/platforms/pseries/iommu.c
563
static void iommu_table_setparms_common(struct iommu_table *tbl, unsigned long busno,
arch/powerpc/platforms/pseries/iommu.c
583
struct iommu_table *tbl)
arch/powerpc/platforms/pseries/iommu.c
59
static struct iommu_table *iommu_pseries_alloc_table(int node)
arch/powerpc/platforms/pseries/iommu.c
61
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/iommu.c
625
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/iommu.c
63
tbl = kzalloc_node(sizeof(struct iommu_table), GFP_KERNEL, node);
arch/powerpc/platforms/pseries/iommu.c
703
static int tce_exchange_pseries(struct iommu_table *tbl, long index, unsigned
arch/powerpc/platforms/pseries/iommu.c
728
static __be64 *tce_useraddr_pSeriesLP(struct iommu_table *tbl, long index,
arch/powerpc/platforms/pseries/iommu.c
842
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/iommu.c
897
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/vio.c
1156
static struct iommu_table *vio_build_iommu_table(struct vio_dev *dev)
arch/powerpc/platforms/pseries/vio.c
1159
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/vio.c
1320
struct iommu_table *tbl = get_iommu_table_base(dev);
arch/powerpc/platforms/pseries/vio.c
521
struct iommu_table *tbl = get_iommu_table_base(dev);
arch/powerpc/platforms/pseries/vio.c
548
struct iommu_table *tbl = get_iommu_table_base(dev);
arch/powerpc/platforms/pseries/vio.c
559
struct iommu_table *tbl = get_iommu_table_base(dev);
arch/powerpc/platforms/pseries/vio.c
594
struct iommu_table *tbl = get_iommu_table_base(dev);
arch/powerpc/platforms/pseries/vio.c
708
struct iommu_table *tbl;
arch/powerpc/sysdev/dart_iommu.c
162
static void dart_flush(struct iommu_table *tbl)
arch/powerpc/sysdev/dart_iommu.c
171
static int dart_build(struct iommu_table *tbl, long index,
arch/powerpc/sysdev/dart_iommu.c
208
static void dart_free(struct iommu_table *tbl, long index, long npages)
arch/powerpc/sysdev/dart_iommu.c
47
static struct iommu_table iommu_table_dart;
drivers/iommu/amd/iommu.c
2585
static void amd_iommu_change_top(struct pt_iommu *iommu_table,
drivers/iommu/amd/iommu.c
2589
container_of(iommu_table, struct protection_domain, iommu);
drivers/iommu/amd/iommu.c
81
static void amd_iommu_change_top(struct pt_iommu *iommu_table,
drivers/iommu/generic_pt/fmt/amdv1.h
329
static inline struct pt_common *common_from_iommu(struct pt_iommu *iommu_table)
drivers/iommu/generic_pt/fmt/amdv1.h
331
return &container_of(iommu_table, struct pt_iommu_amdv1, iommu)
drivers/iommu/generic_pt/fmt/amdv1.h
366
static inline int amdv1pt_iommu_fmt_init(struct pt_iommu_amdv1 *iommu_table,
drivers/iommu/generic_pt/fmt/amdv1.h
369
struct pt_amdv1 *table = &iommu_table->amdpt;
drivers/iommu/generic_pt/fmt/vtdss.h
203
static inline struct pt_common *common_from_iommu(struct pt_iommu *iommu_table)
drivers/iommu/generic_pt/fmt/vtdss.h
205
return &container_of(iommu_table, struct pt_iommu_table, iommu)
drivers/iommu/generic_pt/fmt/vtdss.h
247
static inline int vtdss_pt_iommu_fmt_init(struct pt_iommu_vtdss *iommu_table,
drivers/iommu/generic_pt/fmt/vtdss.h
250
struct pt_vtdss *table = &iommu_table->vtdss_pt;
drivers/iommu/generic_pt/fmt/x86_64.h
204
static inline struct pt_common *common_from_iommu(struct pt_iommu *iommu_table)
drivers/iommu/generic_pt/fmt/x86_64.h
206
return &container_of(iommu_table, struct pt_iommu_table, iommu)
drivers/iommu/generic_pt/fmt/x86_64.h
240
x86_64_pt_iommu_fmt_init(struct pt_iommu_x86_64 *iommu_table,
drivers/iommu/generic_pt/fmt/x86_64.h
243
struct pt_x86_64 *table = &iommu_table->x86_64_pt;
drivers/iommu/generic_pt/iommu_pt.h
1046
struct pt_iommu *iommu_table =
drivers/iommu/generic_pt/iommu_pt.h
1054
ret = make_range(common_from_iommu(iommu_table), &range, iova, len);
drivers/iommu/generic_pt/iommu_pt.h
1060
gather_range_pages(iotlb_gather, iommu_table, iova, unmap.unmapped,
drivers/iommu/generic_pt/iommu_pt.h
1067
static void NS(get_info)(struct pt_iommu *iommu_table,
drivers/iommu/generic_pt/iommu_pt.h
1070
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
1091
static void NS(deinit)(struct pt_iommu *iommu_table)
drivers/iommu/generic_pt/iommu_pt.h
1093
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
1108
iommu_table->iommu_device);
drivers/iommu/generic_pt/iommu_pt.h
1164
static int pt_iommu_init_domain(struct pt_iommu *iommu_table,
drivers/iommu/generic_pt/iommu_pt.h
1167
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
1171
NS(get_info)(iommu_table, &info);
drivers/iommu/generic_pt/iommu_pt.h
1206
struct pt_iommu *iommu_table = &fmt_table->iommu;
drivers/iommu/generic_pt/iommu_pt.h
1207
struct pt_iommu cfg = *iommu_table;
drivers/iommu/generic_pt/iommu_pt.h
1213
iommu_table->iommu_device = cfg.iommu_device;
drivers/iommu/generic_pt/iommu_pt.h
1214
iommu_table->driver_ops = cfg.driver_ops;
drivers/iommu/generic_pt/iommu_pt.h
1215
iommu_table->nid = cfg.nid;
drivers/iommu/generic_pt/iommu_pt.h
1224
struct pt_iommu *iommu_table = &fmt_table->iommu;
drivers/iommu/generic_pt/iommu_pt.h
1225
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
123
struct pt_iommu *iommu_table = iommu_from_common(pts->range->common);
drivers/iommu/generic_pt/iommu_pt.h
1249
WARN_ON(!iommu_table->driver_ops ||
drivers/iommu/generic_pt/iommu_pt.h
1250
!iommu_table->driver_ops->change_top ||
drivers/iommu/generic_pt/iommu_pt.h
1251
!iommu_table->driver_ops->get_top_lock))
drivers/iommu/generic_pt/iommu_pt.h
1260
WARN_ON(!iommu_table->iommu_device))
drivers/iommu/generic_pt/iommu_pt.h
1263
ret = pt_iommu_init_domain(iommu_table, &iommu_table->domain);
drivers/iommu/generic_pt/iommu_pt.h
1274
iommu_table->ops = &NS(ops);
drivers/iommu/generic_pt/iommu_pt.h
1285
struct pt_iommu *iommu_table = &fmt_table->iommu;
drivers/iommu/generic_pt/iommu_pt.h
1286
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
133
iommu_table->domain.pgsize_bitmap,
drivers/iommu/generic_pt/iommu_pt.h
173
struct pt_iommu *iommu_table =
drivers/iommu/generic_pt/iommu_pt.h
179
ret = make_range(common_from_iommu(iommu_table), &range, iova, 1);
drivers/iommu/generic_pt/iommu_pt.h
274
struct pt_iommu *iommu_table =
drivers/iommu/generic_pt/iommu_pt.h
287
ret = make_range(common_from_iommu(iommu_table), &range, iova, size);
drivers/iommu/generic_pt/iommu_pt.h
315
static int __maybe_unused NS(set_dirty)(struct pt_iommu *iommu_table,
drivers/iommu/generic_pt/iommu_pt.h
321
ret = make_range(common_from_iommu(iommu_table), &range, iova, 1);
drivers/iommu/generic_pt/iommu_pt.h
369
struct pt_iommu *iommu_table = iommu_from_common(common);
drivers/iommu/generic_pt/iommu_pt.h
372
table_mem = iommu_alloc_pages_node_sz(iommu_table->nid, gfp,
drivers/iommu/generic_pt/iommu_pt.h
380
table_mem, iommu_table->iommu_device);
drivers/iommu/generic_pt/iommu_pt.h
44
struct pt_iommu *iommu_table, pt_vaddr_t iova,
drivers/iommu/generic_pt/iommu_pt.h
479
struct pt_iommu *iommu_table =
drivers/iommu/generic_pt/iommu_pt.h
48
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
508
iotlb_gather, iommu_table, range.va,
drivers/iommu/generic_pt/iommu_pt.h
52
iommu_table->iommu_device);
drivers/iommu/generic_pt/iommu_pt.h
56
iommu_iotlb_sync(&iommu_table->domain, iotlb_gather);
drivers/iommu/generic_pt/iommu_pt.h
667
static int increase_top(struct pt_iommu *iommu_table, struct pt_range *range,
drivers/iommu/generic_pt/iommu_pt.h
671
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
727
&free_list, iommu_table->iommu_device);
drivers/iommu/generic_pt/iommu_pt.h
742
domain_lock = iommu_table->driver_ops->get_top_lock(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
758
iommu_table->driver_ops->change_top(
drivers/iommu/generic_pt/iommu_pt.h
759
iommu_table, virt_to_phys(table_mem), new_level);
drivers/iommu/generic_pt/iommu_pt.h
767
iommu_table->iommu_device);
drivers/iommu/generic_pt/iommu_pt.h
772
static int check_map_range(struct pt_iommu *iommu_table, struct pt_range *range,
drivers/iommu/generic_pt/iommu_pt.h
775
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
786
ret = increase_top(iommu_table, range, map);
drivers/iommu/generic_pt/iommu_pt.h
847
struct pt_iommu *iommu_table =
drivers/iommu/generic_pt/iommu_pt.h
849
pt_vaddr_t pgsize_bitmap = iommu_table->domain.pgsize_bitmap;
drivers/iommu/generic_pt/iommu_pt.h
850
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
901
ret = check_map_range(iommu_table, &range, &map);
drivers/iommu/generic_pt/iommu_pt.h
914
iommu_iotlb_sync(&iommu_table->domain, &iotlb_gather);
drivers/iommu/generic_pt/kunit_iommu.h
91
static void pt_kunit_change_top(struct pt_iommu *iommu_table,
drivers/iommu/generic_pt/kunit_iommu.h
96
static spinlock_t *pt_kunit_get_top_lock(struct pt_iommu *iommu_table)
drivers/iommu/generic_pt/kunit_iommu.h
99
iommu_table, struct kunit_iommu_priv, fmt_table.iommu);
drivers/net/ethernet/ibm/ibmveth.c
1703
struct iommu_table *tbl;
drivers/net/ethernet/ibm/ibmvnic.c
6700
struct iommu_table *tbl;
drivers/vfio/vfio_iommu_spapr_tce.c
1217
struct iommu_table *tbl = container->tables[i];
drivers/vfio/vfio_iommu_spapr_tce.c
204
phys_addr_t ioba, struct iommu_table **ptbl)
drivers/vfio/vfio_iommu_spapr_tce.c
209
struct iommu_table *tbl = container->tables[i];
drivers/vfio/vfio_iommu_spapr_tce.c
339
struct iommu_table *tbl,
drivers/vfio/vfio_iommu_spapr_tce.c
342
struct iommu_table *tbl);
drivers/vfio/vfio_iommu_spapr_tce.c
362
struct iommu_table *tbl = container->tables[i];
drivers/vfio/vfio_iommu_spapr_tce.c
410
struct iommu_table *tbl, unsigned long entry)
drivers/vfio/vfio_iommu_spapr_tce.c
432
struct iommu_table *tbl,
drivers/vfio/vfio_iommu_spapr_tce.c
500
struct iommu_table *tbl,
drivers/vfio/vfio_iommu_spapr_tce.c
548
struct iommu_table *tbl,
drivers/vfio/vfio_iommu_spapr_tce.c
612
struct iommu_table **ptbl)
drivers/vfio/vfio_iommu_spapr_tce.c
635
struct iommu_table *tbl)
drivers/vfio/vfio_iommu_spapr_tce.c
649
struct iommu_table *tbl = NULL;
drivers/vfio/vfio_iommu_spapr_tce.c
70
struct iommu_table *tables[IOMMU_TABLE_GROUP_MAX_TABLES];
drivers/vfio/vfio_iommu_spapr_tce.c
712
struct iommu_table *tbl;
drivers/vfio/vfio_iommu_spapr_tce.c
907
struct iommu_table *tbl = NULL;
drivers/vfio/vfio_iommu_spapr_tce.c
974
struct iommu_table *tbl = NULL;
include/linux/generic_pt/iommu.h
101
void (*get_info)(struct pt_iommu *iommu_table,
include/linux/generic_pt/iommu.h
111
void (*deinit)(struct pt_iommu *iommu_table);
include/linux/generic_pt/iommu.h
141
void (*change_top)(struct pt_iommu *iommu_table, phys_addr_t top_paddr,
include/linux/generic_pt/iommu.h
158
spinlock_t *(*get_top_lock)(struct pt_iommu *iommu_table);
include/linux/generic_pt/iommu.h
161
static inline void pt_iommu_deinit(struct pt_iommu *iommu_table)
include/linux/generic_pt/iommu.h
168
if (iommu_table->ops)
include/linux/generic_pt/iommu.h
169
iommu_table->ops->deinit(iommu_table);
include/linux/generic_pt/iommu.h
93
int (*set_dirty)(struct pt_iommu *iommu_table, dma_addr_t iova);