Searched refs:it_size (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/arch/powerpc/kernel/ |
D | iommu.c | 45 *val = bitmap_weight(tbl->it_map, tbl->it_size); in iommu_debugfs_weight_get() 59 debugfs_create_ulong("it_size", 0400, liobn_entry, &tbl->it_size); in iommu_debugfs_add() 386 if (((free_entry + npages) > tbl->it_size) || in iommu_free_check() 394 printk(KERN_INFO "\tsize = 0x%llx\n", (u64)tbl->it_size); in iommu_free_check() 644 tbl->it_ops->clear(tbl, tbl->it_offset, tbl->it_size); in iommu_table_clear() 653 for (index = 0; index < tbl->it_size; index++) { in iommu_table_clear() 664 if ((tbl->it_size - tcecount) < KDUMP_MIN_TCE_ENTRIES) { in iommu_table_clear() 668 for (index = tbl->it_size - KDUMP_MIN_TCE_ENTRIES; in iommu_table_clear() 669 index < tbl->it_size; index++) in iommu_table_clear() 693 if (res_end > (tbl->it_offset + tbl->it_size)) in iommu_table_reserve_pages() [all …]
|
D | dma-iommu.c | 199 mask = 1ULL << (fls_long(tbl->it_offset + tbl->it_size) + in dma_iommu_get_required_mask()
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | iommu.h | 93 unsigned long it_size; /* Size of iommu table in entries */ member 297 (tbl)->it_offset, (tbl)->it_size, \ 301 (tbl)->it_offset, (tbl)->it_size, \
|
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | pci-ioda-tce.c | 57 tbl->it_size = tce_size >> 3; in pnv_pci_setup_iommu_table() 243 tbl->it_level_size : tbl->it_size; in pnv_pci_ioda2_table_free_pages() 245 if (!tbl->it_size) in pnv_pci_ioda2_table_free_pages()
|
D | pci-ioda.c | 1611 pe->table_group.tce32_size = tbl->it_size << tbl->it_page_shift; in pnv_pci_ioda1_setup_dma_pe() 1636 tbl->it_level_size : tbl->it_size; in pnv_pci_ioda2_set_window() 1638 const __u64 win_size = tbl->it_size << tbl->it_page_shift; in pnv_pci_ioda2_set_window() 2734 pnv_pci_p7ioc_tce_invalidate(tbl, tbl->it_offset, tbl->it_size); in pnv_pci_ioda1_release_pe_dma() 2740 free_pages(tbl->it_base, get_order(tbl->it_size << 3)); in pnv_pci_ioda1_release_pe_dma()
|
/linux-6.1.9/arch/powerpc/sysdev/ |
D | dart_iommu.c | 339 iommu_table_dart.it_size = dart_tablesize / sizeof(u32); in iommu_table_dart_setup() 353 set_bit(iommu_table_dart.it_size - 1, iommu_table_dart.it_map); in iommu_table_dart_setup()
|
/linux-6.1.9/arch/parisc/kernel/ |
D | cache.c | 133 cache_info.it_size, in show_cache_info() 170 cache_info.it_size); in parisc_cache_init() 513 threshold = max(cache_info.it_size, cache_info.dt_size); in parisc_setup_cache_timing()
|
/linux-6.1.9/drivers/vfio/ |
D | vfio_iommu_spapr_tce.c | 213 unsigned long end = start + tbl->it_size; in tce_iommu_find_table() 366 tce_iommu_clear(container, tbl, tbl->it_offset, tbl->it_size); in tce_iommu_release() 720 BUG_ON(!tbl->it_size); in tce_iommu_remove_window() 740 tce_iommu_clear(container, tbl, tbl->it_offset, tbl->it_size); in tce_iommu_remove_window() 1152 tce_iommu_clear(container, tbl, tbl->it_offset, tbl->it_size); in tce_iommu_release_ownership()
|
/linux-6.1.9/arch/powerpc/platforms/pasemi/ |
D | iommu.c | 139 iommu_table_iobmap.it_size = in iommu_table_iobmap_setup()
|
/linux-6.1.9/arch/parisc/include/uapi/asm/ |
D | pdc.h | 522 unsigned long it_size; /* number of entries in I-TLB */ member
|
/linux-6.1.9/arch/powerpc/platforms/cell/ |
D | iommu.c | 488 window->table.it_size = size >> window->table.it_page_shift; in cell_iommu_setup_window() 498 pr_debug("\tsize %ld\n", window->table.it_size); in cell_iommu_setup_window()
|
/linux-6.1.9/arch/powerpc/kvm/ |
D | book3s_64_vio.c | 150 (tbltmp->it_size << tbltmp->it_page_shift >= in kvm_spapr_tce_attach_iommu_group()
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | iommu.c | 513 tbl->it_size = window_size >> page_shift; in iommu_table_setparms_common()
|
D | vio.c | 1192 tbl->it_size = size >> tbl->it_page_shift; in vio_build_iommu_table()
|