Searched refs:it_size (Results 1 – 17 of 17) sorted by relevance
/arch/powerpc/kernel/ |
D | iommu.c | 356 if (((free_entry + npages) > tbl->it_size) || in iommu_free_check() 364 printk(KERN_INFO "\tsize = 0x%llx\n", (u64)tbl->it_size); in iommu_free_check() 616 tbl->it_ops->clear(tbl, tbl->it_offset, tbl->it_size); in iommu_table_clear() 625 for (index = 0; index < tbl->it_size; index++) { in iommu_table_clear() 636 if ((tbl->it_size - tcecount) < KDUMP_MIN_TCE_ENTRIES) { in iommu_table_clear() 640 for (index = tbl->it_size - KDUMP_MIN_TCE_ENTRIES; in iommu_table_clear() 641 index < tbl->it_size; index++) in iommu_table_clear() 663 sz = BITS_TO_LONGS(tbl->it_size) * sizeof(unsigned long); in iommu_init_table() 680 if ((tbl->it_size << tbl->it_page_shift) >= (1UL * 1024 * 1024 * 1024)) in iommu_init_table() 686 tbl->poolsize = (tbl->it_size * 3 / 4) / tbl->nr_pools; in iommu_init_table() [all …]
|
D | dma-iommu.c | 103 mask = 1ULL < (fls_long(tbl->it_offset + tbl->it_size) - 1); in dma_iommu_get_required_mask()
|
/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 | 215 if (index >= tbl->it_size) in iommu_range_reserve() 219 if (end > tbl->it_size) /* don't go off the table */ in iommu_range_reserve() 220 end = tbl->it_size; in iommu_range_reserve() 244 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, tbl->it_hint, in iommu_range_alloc() 249 offset = iommu_area_alloc(tbl->it_map, tbl->it_size, 0, in iommu_range_alloc() 262 BUG_ON(tbl->it_hint > tbl->it_size); in iommu_range_alloc() 309 BUG_ON(entry + npages > tbl->it_size); in iommu_free() 781 tce_free(tbl, 0, tbl->it_size); in calgary_setup_tar() 826 bitmapsz = tbl->it_size / BITS_PER_BYTE; in calgary_free_bus() 1320 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 | 104 unsigned long it_size; /* Size of iommu table in entries */ member 311 (tbl)->it_offset, (tbl)->it_size, \ 315 (tbl)->it_offset, (tbl)->it_size, \
|
/arch/powerpc/sysdev/ |
D | dart_iommu.c | 346 iommu_table_dart.it_size = dart_tablesize / sizeof(u32); in iommu_table_dart_setup() 359 set_bit(iommu_table_dart.it_size - 1, iommu_table_dart.it_map); in iommu_table_dart_setup()
|
/arch/parisc/kernel/ |
D | cache.c | 113 cache_info.it_size, in show_cache_info() 150 cache_info.it_size); in parisc_cache_init() 400 threshold = max(cache_info.it_size, cache_info.dt_size); in parisc_setup_cache_timing()
|
/arch/powerpc/platforms/pasemi/ |
D | iommu.c | 150 iommu_table_iobmap.it_size = in iommu_table_iobmap_setup()
|
/arch/parisc/include/asm/ |
D | pdc.h | 90 unsigned long it_size; /* number of entries in I-TLB */ member
|
/arch/powerpc/platforms/powernv/ |
D | npu-dma.c | 195 tbl->it_level_size : tbl->it_size; in pnv_npu_set_window() 197 const __u64 win_size = tbl->it_size << tbl->it_page_shift; in pnv_npu_set_window()
|
D | pci-ioda.c | 2351 pe->table_group.tce32_size = tbl->it_size << tbl->it_page_shift; in pnv_pci_ioda1_setup_dma_pe() 2384 tbl->it_level_size : tbl->it_size; in pnv_pci_ioda2_set_window() 2386 const __u64 win_size = tbl->it_size << tbl->it_page_shift; in pnv_pci_ioda2_set_window() 2863 tbl->it_level_size : tbl->it_size; in pnv_pci_ioda2_table_free_pages() 2865 if (!tbl->it_size) in pnv_pci_ioda2_table_free_pages() 3609 pnv_pci_p7ioc_tce_invalidate(tbl, tbl->it_offset, tbl->it_size, false); in pnv_pci_ioda1_release_pe_dma() 3615 free_pages(tbl->it_base, get_order(tbl->it_size << 3)); in pnv_pci_ioda1_release_pe_dma()
|
D | pci.c | 970 tbl->it_size = tce_size >> 3; in pnv_pci_setup_iommu_table()
|
/arch/powerpc/platforms/cell/ |
D | iommu.c | 499 window->table.it_size = size >> window->table.it_page_shift; in cell_iommu_setup_window() 508 pr_debug("\tsize %ld\n", window->table.it_size); in cell_iommu_setup_window()
|
/arch/powerpc/kvm/ |
D | book3s_64_vio.c | 185 (tbltmp->it_size == stt->size)) { in kvm_spapr_tce_attach_iommu_group()
|
/arch/powerpc/platforms/pseries/ |
D | iommu.c | 554 tbl->it_size = phb->dma_window_size >> tbl->it_page_shift; in iommu_table_setparms() 582 tbl->it_size = size >> tbl->it_page_shift; in iommu_table_setparms_lpar()
|
D | vio.c | 1205 tbl->it_size = size >> tbl->it_page_shift; in vio_build_iommu_table()
|