Searched refs:it_size (Results 1 – 15 of 15) sorted by relevance
/arch/powerpc/kernel/ |
D | iommu.c | 355 if (((free_entry + npages) > tbl->it_size) || in iommu_free_check() 363 printk(KERN_INFO "\tsize = 0x%llx\n", (u64)tbl->it_size); in iommu_free_check() 614 ppc_md.tce_free(tbl, tbl->it_offset, tbl->it_size); in iommu_table_clear() 623 for (index = 0; index < tbl->it_size; index++) { in iommu_table_clear() 634 if ((tbl->it_size - tcecount) < KDUMP_MIN_TCE_ENTRIES) { in iommu_table_clear() 638 for (index = tbl->it_size - KDUMP_MIN_TCE_ENTRIES; in iommu_table_clear() 639 index < tbl->it_size; index++) in iommu_table_clear() 659 sz = BITS_TO_LONGS(tbl->it_size) * sizeof(unsigned long); in iommu_init_table() 676 if ((tbl->it_size << IOMMU_PAGE_SHIFT) >= (1UL * 1024 * 1024 * 1024)) in iommu_init_table() 682 tbl->poolsize = (tbl->it_size * 3 / 4) / tbl->nr_pools; in iommu_init_table() [all …]
|
D | dma-iommu.c | 102 mask = 1ULL < (fls_long(tbl->it_offset + tbl->it_size) - 1); in dma_iommu_get_required_mask()
|
D | vio.c | 1173 tbl->it_size = size >> IOMMU_PAGE_SHIFT; in vio_build_iommu_table()
|
/arch/x86/kernel/ |
D | tce_64.c | 107 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()
|
D | pci-calgary_64.c | 213 if (index >= tbl->it_size) in iommu_range_reserve() 217 if (end > tbl->it_size) /* don't go off the table */ in iommu_range_reserve() 218 end = tbl->it_size; in iommu_range_reserve() 242 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, tbl->it_hint, in iommu_range_alloc() 247 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, 0, in iommu_range_alloc() 260 BUG_ON(tbl->it_hint > tbl->it_size); in iommu_range_alloc() 307 BUG_ON(entry + npages > tbl->it_size); in iommu_free() 772 tce_free(tbl, 0, tbl->it_size); in calgary_setup_tar() 817 bitmapsz = tbl->it_size / BITS_PER_BYTE; in calgary_free_bus() 1304 for (index = 0 ; index < tbl->it_size; index++) { in calgary_init_bitmap_from_tce_table()
|
/arch/x86/include/asm/ |
D | calgary.h | 42 unsigned int it_size; /* Size of iommu table in entries */ member
|
/arch/powerpc/include/asm/ |
D | iommu.h | 68 unsigned long it_size; /* Size of iommu table in entries */ member
|
/arch/powerpc/sysdev/ |
D | dart_iommu.c | 294 iommu_table_dart.it_size = dart_tablesize / sizeof(u32); in iommu_table_dart_setup() 305 set_bit(iommu_table_dart.it_size - 1, iommu_table_dart.it_map); in iommu_table_dart_setup()
|
/arch/powerpc/platforms/pasemi/ |
D | iommu.c | 142 iommu_table_iobmap.it_size = 0x80000000 >> IOBMAP_PAGE_SHIFT; in iommu_table_iobmap_setup()
|
/arch/parisc/include/asm/ |
D | pdc.h | 85 unsigned long it_size; /* number of entries in I-TLB */ member
|
/arch/parisc/kernel/ |
D | cache.c | 103 cache_info.it_size, in show_cache_info() 140 cache_info.it_size); in parisc_cache_init()
|
/arch/powerpc/platforms/cell/ |
D | iommu.c | 491 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/powernv/ |
D | pci.c | 391 tbl->it_size = tce_size >> 3; in pnv_pci_setup_iommu_table()
|
/arch/powerpc/platforms/pseries/ |
D | iommu.c | 502 tbl->it_size = phb->dma_window_size >> IOMMU_PAGE_SHIFT; in iommu_table_setparms() 544 tbl->it_size = size >> IOMMU_PAGE_SHIFT; in iommu_table_setparms_lpar()
|
/arch/powerpc/platforms/wsp/ |
D | wsp_pci.c | 385 tbl->table.it_size = size >> IOMMU_PAGE_SHIFT; in wsp_pci_create_dma32_table()
|