Home
last modified time | relevance | path

Searched refs:it_size (Results 1 – 15 of 15) sorted by relevance

/arch/powerpc/kernel/
Diommu.c92 limit = largealloc ? tbl->it_size : tbl->it_halfpoint; in iommu_range_alloc()
134 limit = pass ? tbl->it_size : limit; in iommu_range_alloc()
221 if (((free_entry + npages) > tbl->it_size) || in __iommu_free()
229 printk(KERN_INFO "\tsize = 0x%llx\n", (u64)tbl->it_size); in __iommu_free()
456 ppc_md.tce_free(tbl, tbl->it_offset, tbl->it_size); in iommu_table_clear()
465 for (index = 0; index < tbl->it_size; index++) { in iommu_table_clear()
476 if ((tbl->it_size - tcecount) < KDUMP_MIN_TCE_ENTRIES) { in iommu_table_clear()
480 for (index = tbl->it_size - KDUMP_MIN_TCE_ENTRIES; in iommu_table_clear()
481 index < tbl->it_size; index++) in iommu_table_clear()
499 tbl->it_halfpoint = tbl->it_size * 3 / 4; in iommu_init_table()
[all …]
Ddma-iommu.c86 if ((tbl->it_offset + tbl->it_size) > (mask >> IOMMU_PAGE_SHIFT)) { in dma_iommu_dma_supported()
89 mask, (tbl->it_offset + tbl->it_size) << in dma_iommu_dma_supported()
103 mask = 1ULL < (fls_long(tbl->it_offset + tbl->it_size) - 1); in dma_iommu_get_required_mask()
Dvio.c1072 tbl->it_size = size >> IOMMU_PAGE_SHIFT; in vio_build_iommu_table()
/arch/x86/include/asm/
Dcalgary.h42 unsigned int it_size; /* Size of iommu table in entries */ member
/arch/x86/kernel/
Dtce_64.c107 tbl->it_size = table_size_to_number_of_entries(specified_table_size); in tce_table_setparms()
113 bitmapsz = tbl->it_size / BITS_PER_BYTE; in tce_table_setparms()
Dpci-calgary_64.c211 if (index >= tbl->it_size) in iommu_range_reserve()
215 if (end > tbl->it_size) /* don't go off the table */ in iommu_range_reserve()
216 end = tbl->it_size; in iommu_range_reserve()
240 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, tbl->it_hint, in iommu_range_alloc()
245 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, 0, in iommu_range_alloc()
258 BUG_ON(tbl->it_hint > tbl->it_size); in iommu_range_alloc()
305 BUG_ON(entry + npages > tbl->it_size); in iommu_free()
773 tce_free(tbl, 0, tbl->it_size); in calgary_setup_tar()
818 bitmapsz = tbl->it_size / BITS_PER_BYTE; in calgary_free_bus()
1306 for (index = 0 ; index < tbl->it_size; index++) { in calgary_init_bitmap_from_tce_table()
/arch/powerpc/include/asm/
Diommu.h58 unsigned long it_size; /* Size of iommu table in entries */ member
/arch/powerpc/sysdev/
Ddart_iommu.c283 iommu_table_dart.it_size = dart_tablesize / sizeof(u32); in iommu_table_dart_setup()
294 set_bit(iommu_table_dart.it_size - 1, iommu_table_dart.it_map); in iommu_table_dart_setup()
/arch/powerpc/platforms/pasemi/
Diommu.c142 iommu_table_iobmap.it_size = 0x80000000 >> IOBMAP_PAGE_SHIFT; in iommu_table_iobmap_setup()
/arch/parisc/kernel/
Dcache.c103 cache_info.it_size, in show_cache_info()
140 cache_info.it_size); in parisc_cache_init()
/arch/parisc/include/asm/
Dpdc.h423 unsigned long it_size; /* number of entries in I-TLB */ member
/arch/powerpc/platforms/cell/
Diommu.c491 window->table.it_size = size >> IOMMU_PAGE_SHIFT; in cell_iommu_setup_window()
499 pr_debug("\tsize %ld\n", window->table.it_size); in cell_iommu_setup_window()
/arch/powerpc/platforms/pseries/
Diommu.c495 tbl->it_size = phb->dma_window_size >> IOMMU_PAGE_SHIFT; in iommu_table_setparms()
537 tbl->it_size = size >> IOMMU_PAGE_SHIFT; in iommu_table_setparms_lpar()
/arch/powerpc/platforms/powernv/
Dpci.c458 tbl->it_size = tce_size >> 3; in pnv_pci_setup_iommu_table()
/arch/powerpc/platforms/wsp/
Dwsp_pci.c385 tbl->table.it_size = size >> IOMMU_PAGE_SHIFT; in wsp_pci_create_dma32_table()