Home
last modified time | relevance | path

Searched defs:tbl (Results 1 – 25 of 29) sorted by relevance

12

/arch/x86/kernel/
Dtce_64.c36 void tce_build(struct iommu_table *tbl, unsigned long index, in tce_build()
62 void tce_free(struct iommu_table *tbl, long index, unsigned int npages) in tce_free()
85 static int tce_table_setparms(struct pci_dev *dev, struct iommu_table *tbl) in tce_table_setparms()
124 struct iommu_table *tbl; in build_tce_table() local
166 void __init free_tce_table(void *tbl) in free_tce_table()
Dpci-calgary_64.c184 static inline int translation_enabled(struct iommu_table *tbl) in translation_enabled()
190 static void iommu_range_reserve(struct iommu_table *tbl, in iommu_range_reserve()
215 struct iommu_table *tbl, in iommu_range_alloc()
254 static dma_addr_t iommu_alloc(struct device *dev, struct iommu_table *tbl, in iommu_alloc()
276 static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, in iommu_free()
306 struct iommu_table *tbl; in find_iommu_table() local
329 struct iommu_table *tbl = find_iommu_table(dev); in calgary_unmap_sg() local
353 struct iommu_table *tbl = find_iommu_table(dev); in calgary_map_sg() local
399 struct iommu_table *tbl = find_iommu_table(dev); in calgary_map_page() local
411 struct iommu_table *tbl = find_iommu_table(dev); in calgary_unmap_page() local
[all …]
/arch/powerpc/kernel/
Diommu.c175 struct iommu_table *tbl, in iommu_range_alloc()
304 static dma_addr_t iommu_alloc(struct device *dev, struct iommu_table *tbl, in iommu_alloc()
347 static bool iommu_free_check(struct iommu_table *tbl, dma_addr_t dma_addr, in iommu_free_check()
375 static struct iommu_pool *get_pool(struct iommu_table *tbl, in get_pool()
394 static void __iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, in __iommu_free()
416 static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, in iommu_free()
429 int ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl, in ppc_iommu_map_sg()
574 void ppc_iommu_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist, in ppc_iommu_unmap_sg()
606 static void iommu_table_clear(struct iommu_table *tbl) in iommu_table_clear()
647 static void iommu_table_reserve_pages(struct iommu_table *tbl, in iommu_table_reserve_pages()
[all …]
Ddma-iommu.c123 struct iommu_table *tbl = get_iommu_table_base(dev); in dma_iommu_dma_supported() local
150 struct iommu_table *tbl = get_iommu_table_base(dev); in dma_iommu_get_required_mask() local
/arch/powerpc/platforms/powernv/
Dpci-ioda-tce.c20 void pnv_pci_setup_iommu_table(struct iommu_table *tbl, in pnv_pci_setup_iommu_table()
55 static __be64 *pnv_tce(struct iommu_table *tbl, bool user, long idx, bool alloc) in pnv_tce()
96 int pnv_tce_build(struct iommu_table *tbl, long index, long npages, in pnv_tce_build()
119 int pnv_tce_xchg(struct iommu_table *tbl, long index, in pnv_tce_xchg()
154 __be64 *pnv_tce_useraddrptr(struct iommu_table *tbl, long index, bool alloc) in pnv_tce_useraddrptr()
163 void pnv_tce_free(struct iommu_table *tbl, long index, long npages) in pnv_tce_free()
179 unsigned long pnv_tce_get(struct iommu_table *tbl, long index) in pnv_tce_get()
213 void pnv_pci_ioda2_table_free_pages(struct iommu_table *tbl) in pnv_pci_ioda2_table_free_pages()
265 bool alloc_userspace_copy, struct iommu_table *tbl) in pnv_pci_ioda2_table_alloc_pages()
351 void pnv_pci_unlink_table_and_group(struct iommu_table *tbl, in pnv_pci_unlink_table_and_group()
[all …]
Dpci-ioda.c1444 struct iommu_table *tbl; in pnv_pci_ioda2_release_dma_pe() local
1901 static void pnv_pci_p7ioc_tce_invalidate(struct iommu_table *tbl, in pnv_pci_p7ioc_tce_invalidate()
1938 static int pnv_ioda1_tce_build(struct iommu_table *tbl, long index, in pnv_ioda1_tce_build()
1954 static int pnv_ioda_tce_xchg_no_kill(struct iommu_table *tbl, long index, in pnv_ioda_tce_xchg_no_kill()
1962 static void pnv_ioda1_tce_free(struct iommu_table *tbl, long index, in pnv_ioda1_tce_free()
2045 static void pnv_pci_ioda2_tce_invalidate(struct iommu_table *tbl, in pnv_pci_ioda2_tce_invalidate()
2089 static int pnv_ioda2_tce_build(struct iommu_table *tbl, long index, in pnv_ioda2_tce_build()
2103 static void pnv_ioda2_tce_free(struct iommu_table *tbl, long index, in pnv_ioda2_tce_free()
2176 struct iommu_table *tbl; in pnv_pci_ioda1_setup_dma_pe() local
2296 int num, struct iommu_table *tbl) in pnv_pci_ioda2_set_window()
[all …]
Dnpu-dma.c128 struct iommu_table *tbl) in pnv_npu_set_window()
293 int num, struct iommu_table *tbl) in pnv_npu_peers_set_window()
/arch/powerpc/kvm/
Dbook3s_64_vio_hv.c175 u64 *tbl; in kvmppc_rm_tce_put() local
225 struct iommu_table *tbl, in iommu_tce_xchg_no_kill_rm()
247 extern void iommu_tce_kill_rm(struct iommu_table *tbl, in iommu_tce_kill_rm()
255 struct iommu_table *tbl, unsigned long entry) in kvmppc_rm_clear_tce()
270 struct iommu_table *tbl, unsigned long entry) in kvmppc_rm_tce_iommu_mapped_dec()
292 struct iommu_table *tbl, unsigned long entry) in kvmppc_rm_tce_iommu_do_unmap()
316 struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl, in kvmppc_rm_tce_iommu_unmap()
334 static long kvmppc_rm_tce_iommu_do_map(struct kvm *kvm, struct iommu_table *tbl, in kvmppc_rm_tce_iommu_do_map()
377 struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl, in kvmppc_rm_tce_iommu_map()
663 u64 *tbl; in kvmppc_h_get_tce() local
Dbook3s_64_vio.c102 struct iommu_table *tbl = NULL; in kvm_spapr_tce_attach_iommu_group() local
402 u64 *tbl; in kvmppc_tce_put() local
424 struct iommu_table *tbl, unsigned long entry) in kvmppc_clear_tce()
439 struct iommu_table *tbl, unsigned long entry) in kvmppc_tce_iommu_mapped_dec()
460 struct iommu_table *tbl, unsigned long entry) in kvmppc_tce_iommu_do_unmap()
481 struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl, in kvmppc_tce_iommu_unmap()
499 long kvmppc_tce_iommu_do_map(struct kvm *kvm, struct iommu_table *tbl, in kvmppc_tce_iommu_do_map()
538 struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl, in kvmppc_tce_iommu_map()
/arch/powerpc/platforms/pseries/
Diommu.c45 struct iommu_table *tbl; in iommu_pseries_alloc_group() local
71 struct iommu_table *tbl; in iommu_pseries_free_group() local
88 static int tce_build_pSeries(struct iommu_table *tbl, long index, in tce_build_pSeries()
116 static void tce_free_pSeries(struct iommu_table *tbl, long index, long npages) in tce_free_pSeries()
126 static unsigned long tce_get_pseries(struct iommu_table *tbl, long index) in tce_get_pseries()
181 static int tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum, in tce_buildmulti_pSeriesLP()
285 static void tce_freemulti_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages) in tce_freemulti_pSeriesLP()
303 static unsigned long tce_get_pSeriesLP(struct iommu_table *tbl, long tcenum) in tce_get_pSeriesLP()
482 struct iommu_table *tbl) in iommu_table_setparms()
532 struct iommu_table *tbl, in iommu_table_setparms_lpar()
[all …]
Dvio.c518 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_map_page() local
542 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_unmap_page() local
553 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_map_sg() local
587 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dma_iommu_unmap_sg() local
699 struct iommu_table *tbl; in vio_cmo_bus_probe() local
1167 struct iommu_table *tbl; in vio_build_iommu_table() local
1312 struct iommu_table *tbl = get_iommu_table_base(dev); in vio_dev_release() local
/arch/nds32/kernel/
Dex-scall.S33 #define tbl $r8 macro
/arch/powerpc/sysdev/
Ddart_iommu.c163 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()
/arch/powerpc/include/asm/
Diommu.h119 #define IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, entry) \ argument
121 #define IOMMU_TABLE_USERSPACE_ENTRY(tbl, entry) \ argument
126 int get_iommu_order(unsigned long size, struct iommu_table *tbl) in get_iommu_order()
302 #define iommu_tce_clear_param_check(tbl, ioba, tce_value, npages) \ argument
306 #define iommu_tce_put_param_check(tbl, ioba, gpa) \ argument
Dtime.h56 unsigned long tbl; in get_tbl() local
/arch/powerpc/platforms/pasemi/
Diommu.c76 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()
/arch/x86/boot/compressed/
Dacpi.c42 efi_config_table_64_t *tbl = (efi_config_table_64_t *)config_tables + i; in __efi_get_rsdp_addr() local
52 efi_config_table_32_t *tbl = (efi_config_table_32_t *)config_tables + i; in __efi_get_rsdp_addr() local
/arch/arm/kernel/
Dentry-header.S415 tbl .req r8 @ syscall table pointer label
/arch/sparc/kernel/
Dpci_sun4v.c187 struct iommu_map_table *tbl; in dma_4v_alloc_coherent() local
327 struct iommu_map_table *tbl; in dma_4v_free_coherent() local
360 struct iommu_map_table *tbl; in dma_4v_map_page() local
434 struct iommu_map_table *tbl; in dma_4v_unmap_page() local
479 struct iommu_map_table *tbl; in dma_4v_map_sg() local
651 struct iommu_map_table *tbl; in dma_4v_unmap_sg() local
Diommu.c597 struct iommu_map_table *tbl = &iommu->tbl; in fetch_sg_ctx() local
685 struct iommu_map_table *tbl = &iommu->tbl; in dma_4u_sync_single_for_cpu() local
721 struct iommu_map_table *tbl = &iommu->tbl; in dma_4u_sync_sg_for_cpu() local
Diommu-common.c227 static struct iommu_pool *get_pool(struct iommu_map_table *tbl, in get_pool()
/arch/sparc/include/asm/
Diommu_64.h49 struct iommu_map_table tbl; member
56 struct iommu_map_table tbl; member
/arch/unicore32/kernel/
Dentry.S134 tbl .req r22 @ syscall table pointer label
/arch/arc/kernel/
Dsetup.c116 const struct id_to_str *tbl; in decode_arc_core() local
/arch/powerpc/platforms/cell/
Diommu.c154 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()

12