Searched refs:it_size (Results 1 – 14 of 14) sorted by relevance
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | iommu.c | 45 *val = bitmap_weight(tbl->it_map, tbl->it_size); in iommu_debugfs_weight_get() 384 if (((free_entry + npages) > tbl->it_size) || in iommu_free_check() 651 for (index = 0; index < tbl->it_size; index++) { in iommu_table_clear() 666 for (index = tbl->it_size - KDUMP_MIN_TCE_ENTRIES; in iommu_table_clear() 667 index < tbl->it_size; index++) in iommu_table_clear() 691 if (res_end > (tbl->it_offset + tbl->it_size)) in iommu_table_reserve_pages() 692 res_end = tbl->it_offset + tbl->it_size; in iommu_table_reserve_pages() 754 p->end = tbl->it_size; in iommu_init_table() 779 return find_next_bit(tbl->it_map, tbl->it_size, start) != tbl->it_size; in iommu_table_in_use() 786 end = tbl->it_size; in iommu_table_in_use() [all …]
|
A D | dma-iommu.c | 199 mask = 1ULL << (fls_long(tbl->it_offset + tbl->it_size) + in dma_iommu_get_required_mask()
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A 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.3-rc2/arch/powerpc/platforms/powernv/ |
A 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()
|
A 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() 2735 pnv_pci_p7ioc_tce_invalidate(tbl, tbl->it_offset, tbl->it_size); in pnv_pci_ioda1_release_pe_dma() 2741 free_pages(tbl->it_base, get_order(tbl->it_size << 3)); in pnv_pci_ioda1_release_pe_dma()
|
/linux-6.3-rc2/arch/powerpc/sysdev/ |
A 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.3-rc2/arch/parisc/kernel/ |
A 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.3-rc2/drivers/vfio/ |
A D | vfio_iommu_spapr_tce.c | 214 unsigned long end = start + tbl->it_size; in tce_iommu_find_table() 367 tce_iommu_clear(container, tbl, tbl->it_offset, tbl->it_size); in tce_iommu_release() 721 BUG_ON(!tbl->it_size); in tce_iommu_remove_window() 741 tce_iommu_clear(container, tbl, tbl->it_offset, tbl->it_size); in tce_iommu_remove_window() 1201 tce_iommu_clear(container, tbl, tbl->it_offset, tbl->it_size); in tce_iommu_release_ownership()
|
/linux-6.3-rc2/arch/powerpc/platforms/pasemi/ |
A D | iommu.c | 139 iommu_table_iobmap.it_size = in iommu_table_iobmap_setup()
|
/linux-6.3-rc2/arch/parisc/include/uapi/asm/ |
A D | pdc.h | 522 unsigned long it_size; /* number of entries in I-TLB */ member
|
/linux-6.3-rc2/arch/powerpc/platforms/cell/ |
A 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.3-rc2/arch/powerpc/kvm/ |
A D | book3s_64_vio.c | 150 (tbltmp->it_size << tbltmp->it_page_shift >= in kvm_spapr_tce_attach_iommu_group()
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | iommu.c | 513 tbl->it_size = window_size >> page_shift; in iommu_table_setparms_common()
|
A D | vio.c | 1192 tbl->it_size = size >> tbl->it_page_shift; in vio_build_iommu_table()
|
Completed in 39 milliseconds