Searched refs:it_size (Results 1 – 14 of 14) sorted by relevance
/linux/arch/powerpc/kernel/ |
A D | iommu.c | 46 *val = bitmap_weight(tbl->it_map, tbl->it_size); in iommu_debugfs_weight_get() 387 if (((free_entry + npages) > tbl->it_size) || in iommu_free_check() 654 for (index = 0; index < tbl->it_size; index++) { in iommu_table_clear() 669 for (index = tbl->it_size - KDUMP_MIN_TCE_ENTRIES; in iommu_table_clear() 670 index < tbl->it_size; index++) in iommu_table_clear() 694 if (res_end > (tbl->it_offset + tbl->it_size)) in iommu_table_reserve_pages() 695 res_end = tbl->it_offset + tbl->it_size; in iommu_table_reserve_pages() 757 p->end = tbl->it_size; in iommu_init_table() 784 end = tbl->it_size; in iommu_table_in_use() 1089 unsigned long flags, i, sz = (tbl->it_size + 7) >> 3; in iommu_take_ownership() [all …]
|
A D | dma-iommu.c | 199 mask = 1ULL << (fls_long(tbl->it_offset + tbl->it_size) + in dma_iommu_get_required_mask()
|
/linux/arch/powerpc/include/asm/ |
A D | iommu.h | 95 unsigned long it_size; /* Size of iommu table in entries */ member 299 (tbl)->it_offset, (tbl)->it_size, \ 303 (tbl)->it_offset, (tbl)->it_size, \
|
/linux/arch/powerpc/platforms/powernv/ |
A D | pci-ioda-tce.c | 57 tbl->it_size = tce_size >> 3; in pnv_pci_setup_iommu_table() 244 tbl->it_level_size : tbl->it_size; in pnv_pci_ioda2_table_free_pages() 246 if (!tbl->it_size) in pnv_pci_ioda2_table_free_pages()
|
A D | pci-ioda.c | 1620 pe->table_group.tce32_size = tbl->it_size << tbl->it_page_shift; in pnv_pci_ioda1_setup_dma_pe() 1644 tbl->it_level_size : tbl->it_size; in pnv_pci_ioda2_set_window() 1646 const __u64 win_size = tbl->it_size << tbl->it_page_shift; in pnv_pci_ioda2_set_window() 2741 pnv_pci_p7ioc_tce_invalidate(tbl, tbl->it_offset, tbl->it_size, false); in pnv_pci_ioda1_release_pe_dma() 2747 free_pages(tbl->it_base, get_order(tbl->it_size << 3)); in pnv_pci_ioda1_release_pe_dma()
|
/linux/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/arch/parisc/kernel/ |
A D | cache.c | 121 cache_info.it_size, in show_cache_info() 158 cache_info.it_size); in parisc_cache_init() 418 threshold = max(cache_info.it_size, cache_info.dt_size); in parisc_setup_cache_timing()
|
/linux/drivers/vfio/ |
A 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() 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() 1153 tce_iommu_clear(container, tbl, tbl->it_offset, tbl->it_size); in tce_iommu_release_ownership()
|
/linux/arch/powerpc/platforms/pasemi/ |
A D | iommu.c | 138 iommu_table_iobmap.it_size = in iommu_table_iobmap_setup()
|
/linux/arch/parisc/include/uapi/asm/ |
A D | pdc.h | 517 unsigned long it_size; /* number of entries in I-TLB */ member
|
/linux/arch/powerpc/platforms/cell/ |
A D | iommu.c | 486 window->table.it_size = size >> window->table.it_page_shift; in cell_iommu_setup_window() 496 pr_debug("\tsize %ld\n", window->table.it_size); in cell_iommu_setup_window()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | iommu.c | 513 tbl->it_size = window_size >> page_shift; in iommu_table_setparms_common() 1435 tbl->it_size = 0; in enable_ddw()
|
A D | vio.c | 1191 tbl->it_size = size >> tbl->it_page_shift; in vio_build_iommu_table()
|
/linux/arch/powerpc/kvm/ |
A D | book3s_64_vio.c | 138 (tbltmp->it_size << tbltmp->it_page_shift >= in kvm_spapr_tce_attach_iommu_group()
|
Completed in 34 milliseconds