Home
last modified time | relevance | path

Searched refs:iommu_table (Results 1 – 24 of 24) sorted by relevance

/linux/arch/powerpc/include/asm/
A Diommu.h40 int (*set)(struct iommu_table *tbl,
64 void (*clear)(struct iommu_table *tbl,
68 void (*flush)(struct iommu_table *tbl);
69 void (*free)(struct iommu_table *tbl);
93 struct iommu_table { struct
137 struct iommu_table *base) in set_iommu_table_base()
149 extern struct iommu_table *iommu_tce_table_get(struct iommu_table *tbl);
155 extern struct iommu_table *iommu_init_table(struct iommu_table *tbl,
173 struct iommu_table **ptbl);
176 struct iommu_table *tblnew);
[all …]
A Ddevice.h11 struct iommu_table;
29 struct iommu_table *iommu_table_base;
A Dvio.h44 struct iommu_table;
A Dmachdep.h21 struct iommu_table;
A Dpci-bridge.h185 struct iommu_table;
A Dkvm_host.h177 struct iommu_table *tbl;
/linux/arch/powerpc/kernel/
A Diommu.c45 struct iommu_table *tbl = data; in iommu_debugfs_weight_get()
51 static void iommu_debugfs_add(struct iommu_table *tbl) in iommu_debugfs_add()
205 struct iommu_table *tbl, in iommu_range_alloc()
715 struct iommu_table *iommu_init_table(struct iommu_table *tbl, int nid, in iommu_init_table()
772 bool iommu_table_in_use(struct iommu_table *tbl) in iommu_table_in_use()
790 struct iommu_table *tbl; in iommu_table_free()
815 struct iommu_table *iommu_tce_table_get(struct iommu_table *tbl) in iommu_tce_table_get()
824 int iommu_tce_table_put(struct iommu_table *tbl) in iommu_tce_table_put()
1018 void iommu_flush_tce(struct iommu_table *tbl) in iommu_flush_tce()
1061 struct iommu_table *tbl, in iommu_tce_xchg_no_kill()
[all …]
A Ddma-iommu.c147 struct iommu_table *tbl = get_iommu_table_base(dev); in dma_iommu_dma_supported()
184 struct iommu_table *tbl = get_iommu_table_base(dev); in dma_iommu_get_required_mask()
/linux/arch/powerpc/platforms/powernv/
A Dpci.h280 extern struct iommu_table *pnv_pci_table_alloc(int nid);
309 extern int pnv_tce_build(struct iommu_table *tbl, long index, long npages,
312 extern void pnv_tce_free(struct iommu_table *tbl, long index, long npages);
313 extern int pnv_tce_xchg(struct iommu_table *tbl, long index,
316 extern __be64 *pnv_tce_useraddrptr(struct iommu_table *tbl, long index,
318 extern unsigned long pnv_tce_get(struct iommu_table *tbl, long index);
322 bool alloc_userspace_copy, struct iommu_table *tbl);
323 extern void pnv_pci_ioda2_table_free_pages(struct iommu_table *tbl);
326 struct iommu_table *tbl,
328 extern void pnv_pci_unlink_table_and_group(struct iommu_table *tbl,
[all …]
A Dpci-ioda-tce.c48 void pnv_pci_setup_iommu_table(struct iommu_table *tbl, in pnv_pci_setup_iommu_table()
83 static __be64 *pnv_tce(struct iommu_table *tbl, bool user, long idx, bool alloc) in pnv_tce()
124 int pnv_tce_build(struct iommu_table *tbl, long index, long npages, in pnv_tce_build()
147 int pnv_tce_xchg(struct iommu_table *tbl, long index, in pnv_tce_xchg()
182 __be64 *pnv_tce_useraddrptr(struct iommu_table *tbl, long index, bool alloc) in pnv_tce_useraddrptr()
191 void pnv_tce_free(struct iommu_table *tbl, long index, long npages) in pnv_tce_free()
207 unsigned long pnv_tce_get(struct iommu_table *tbl, long index) in pnv_tce_get()
241 void pnv_pci_ioda2_table_free_pages(struct iommu_table *tbl) in pnv_pci_ioda2_table_free_pages()
293 bool alloc_userspace_copy, struct iommu_table *tbl) in pnv_pci_ioda2_table_alloc_pages()
371 void pnv_pci_unlink_table_and_group(struct iommu_table *tbl, in pnv_pci_unlink_table_and_group()
[all …]
A Dpci-ioda.c1277 static void pnv_pci_p7ioc_tce_invalidate(struct iommu_table *tbl, in pnv_pci_p7ioc_tce_invalidate()
1409 static void pnv_pci_ioda2_tce_invalidate(struct iommu_table *tbl, in pnv_pci_ioda2_tce_invalidate()
1518 struct iommu_table *tbl; in pnv_pci_ioda1_setup_dma_pe()
1637 int num, struct iommu_table *tbl) in pnv_pci_ioda2_set_window()
1705 bool alloc_userspace_copy, struct iommu_table **ptbl) in pnv_pci_ioda2_create_table()
1712 struct iommu_table *tbl; in pnv_pci_ioda2_create_table()
1735 struct iommu_table *tbl = NULL; in pnv_pci_ioda2_setup_default_config()
1874 struct iommu_table **ptbl) in pnv_pci_ioda2_create_table_userspace()
1903 struct iommu_table *tbl = pe->table_group.tables[0]; in pnv_ioda2_take_ownership()
2731 struct iommu_table *tbl = pe->table_group.tables[0]; in pnv_pci_ioda1_release_pe_dma()
[all …]
A Dpci.c734 struct iommu_table *pnv_pci_table_alloc(int nid) in pnv_pci_table_alloc()
736 struct iommu_table *tbl; in pnv_pci_table_alloc()
738 tbl = kzalloc_node(sizeof(struct iommu_table), GFP_KERNEL, nid); in pnv_pci_table_alloc()
/linux/drivers/vfio/
A Dvfio_iommu_spapr_tce.c338 struct iommu_table *tbl,
341 struct iommu_table *tbl);
433 struct iommu_table *tbl, in tce_iommu_clear()
501 struct iommu_table *tbl, in tce_iommu_build()
549 struct iommu_table *tbl, in tce_iommu_build_v2()
613 struct iommu_table **ptbl) in tce_iommu_create_table()
636 struct iommu_table *tbl) in tce_iommu_free_table()
650 struct iommu_table *tbl = NULL; in tce_iommu_create_window()
713 struct iommu_table *tbl; in tce_iommu_remove_window()
858 struct iommu_table *tbl = NULL; in tce_iommu_ioctl()
[all …]
/linux/arch/powerpc/platforms/pseries/
A Diommu.c56 static struct iommu_table *iommu_pseries_alloc_table(int node) in iommu_pseries_alloc_table()
58 struct iommu_table *tbl; in iommu_pseries_alloc_table()
88 struct iommu_table *tbl; in iommu_pseries_free_group()
525 struct iommu_table *tbl) in iommu_table_setparms()
565 struct iommu_table *tbl, in iommu_table_setparms_lpar()
590 struct iommu_table *tbl; in pci_dma_bus_setup_pSeries()
706 struct iommu_table *tbl; in pci_dma_bus_setup_pSeriesLP()
754 struct iommu_table *tbl; in pci_dma_dev_setup_pSeries()
1236 struct iommu_table *tbl = pci->table_group->tables[0]; in enable_ddw()
1405 struct iommu_table *newtbl; in enable_ddw()
[all …]
A Dvio.c520 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_map_page()
544 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_unmap_page()
555 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_map_sg()
590 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_unmap_sg()
704 struct iommu_table *tbl; in vio_cmo_bus_probe()
1169 static struct iommu_table *vio_build_iommu_table(struct vio_dev *dev) in vio_build_iommu_table()
1172 struct iommu_table *tbl; in vio_build_iommu_table()
1333 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dev_release()
/linux/arch/powerpc/kvm/
A Dbook3s_64_vio_hv.c221 struct iommu_table *tbl, in iommu_tce_xchg_no_kill_rm()
243 static void iommu_tce_kill_rm(struct iommu_table *tbl, in iommu_tce_kill_rm()
250 static void kvmppc_rm_clear_tce(struct kvm *kvm, struct iommu_table *tbl, in kvmppc_rm_clear_tce()
260 struct iommu_table *tbl, unsigned long entry) in kvmppc_rm_tce_iommu_mapped_dec()
282 struct iommu_table *tbl, unsigned long entry) in kvmppc_rm_tce_iommu_do_unmap()
306 struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl, in kvmppc_rm_tce_iommu_unmap()
322 static long kvmppc_rm_tce_iommu_do_map(struct kvm *kvm, struct iommu_table *tbl, in kvmppc_rm_tce_iommu_do_map()
365 struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl, in kvmppc_rm_tce_iommu_map()
A Dbook3s_64_vio.c101 struct iommu_table *tbl = NULL; in kvm_spapr_tce_attach_iommu_group()
130 struct iommu_table *tbltmp = table_group->tables[i]; in kvm_spapr_tce_attach_iommu_group()
423 static void kvmppc_clear_tce(struct mm_struct *mm, struct iommu_table *tbl, in kvmppc_clear_tce()
433 struct iommu_table *tbl, unsigned long entry) in kvmppc_tce_iommu_mapped_dec()
454 struct iommu_table *tbl, unsigned long entry) in kvmppc_tce_iommu_do_unmap()
475 struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl, in kvmppc_tce_iommu_unmap()
491 static long kvmppc_tce_iommu_do_map(struct kvm *kvm, struct iommu_table *tbl, in kvmppc_tce_iommu_do_map()
530 struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl, in kvmppc_tce_iommu_map()
/linux/arch/powerpc/sysdev/
A Ddart_iommu.c48 static struct iommu_table iommu_table_dart;
163 static void dart_flush(struct iommu_table *tbl) in dart_flush()
172 static int dart_build(struct iommu_table *tbl, long index, in dart_build()
209 static void dart_free(struct iommu_table *tbl, long index, long npages) in dart_free()
/linux/arch/powerpc/platforms/pasemi/
A Diommu.c73 static struct iommu_table iommu_table_iobmap;
76 static int iobmap_build(struct iommu_table *tbl, long index, in iobmap_build()
105 static void iobmap_free(struct iommu_table *tbl, long index, in iobmap_free()
/linux/arch/x86/kernel/
A Dvmlinux.lds.S316 .iommu_table : AT(ADDR(.iommu_table) - LOAD_OFFSET) {
318 *(.iommu_table) argument
A DMakefile74 obj-y += pci-iommu_table.o
/linux/arch/powerpc/platforms/cell/
A Diommu.c106 struct iommu_table table;
154 static int tce_build_cell(struct iommu_table *tbl, long index, long npages, in tce_build_cell()
200 static void tce_free_cell(struct iommu_table *tbl, long index, long npages) in tce_free_cell()
540 static struct iommu_table *cell_get_iommu_table(struct device *dev) in cell_get_iommu_table()
/linux/drivers/net/ethernet/ibm/
A Dibmveth.c1556 struct iommu_table *tbl; in ibmveth_get_desired_dma()
A Dibmvnic.c5891 struct iommu_table *tbl; in ibmvnic_get_desired_dma()

Completed in 74 milliseconds