Home
last modified time | relevance | path

Searched refs:it_size (Results 1 – 14 of 14) sorted by relevance

/arch/powerpc/kernel/
Diommu.c348 if (((free_entry + npages) > tbl->it_size) || in iommu_free_check()
356 printk(KERN_INFO "\tsize = 0x%llx\n", (u64)tbl->it_size); in iommu_free_check()
608 tbl->it_ops->clear(tbl, tbl->it_offset, tbl->it_size); in iommu_table_clear()
617 for (index = 0; index < tbl->it_size; index++) { in iommu_table_clear()
628 if ((tbl->it_size - tcecount) < KDUMP_MIN_TCE_ENTRIES) { in iommu_table_clear()
632 for (index = tbl->it_size - KDUMP_MIN_TCE_ENTRIES; in iommu_table_clear()
633 index < tbl->it_size; index++) in iommu_table_clear()
659 (tbl->it_offset + tbl->it_size < res_start || in iommu_table_reserve_pages()
698 sz = BITS_TO_LONGS(tbl->it_size) * sizeof(unsigned long); in iommu_init_table()
709 if ((tbl->it_size << tbl->it_page_shift) >= (1UL * 1024 * 1024 * 1024)) in iommu_init_table()
[all …]
Ddma-iommu.c132 mask = 1ULL << (fls_long(tbl->it_offset + tbl->it_size) + in dma_iommu_get_required_mask()
/arch/powerpc/include/asm/
Diommu.h95 unsigned long it_size; /* Size of iommu table in entries */ member
304 (tbl)->it_offset, (tbl)->it_size, \
308 (tbl)->it_offset, (tbl)->it_size, \
/arch/powerpc/platforms/powernv/
Dpci-ioda-tce.c57 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()
Dnpu-dma.c136 tbl->it_level_size : tbl->it_size; in pnv_npu_set_window()
138 const __u64 win_size = tbl->it_size << tbl->it_page_shift; in pnv_npu_set_window()
Dpci-ioda.c1764 pe->table_group.tce32_size = tbl->it_size << tbl->it_page_shift; in pnv_pci_ioda1_setup_dma_pe()
1787 tbl->it_level_size : tbl->it_size; in pnv_pci_ioda2_set_window()
1789 const __u64 win_size = tbl->it_size << tbl->it_page_shift; in pnv_pci_ioda2_set_window()
2686 pnv_pci_p7ioc_tce_invalidate(tbl, tbl->it_offset, tbl->it_size, false); in pnv_pci_ioda1_release_pe_dma()
2692 free_pages(tbl->it_base, get_order(tbl->it_size << 3)); in pnv_pci_ioda1_release_pe_dma()
/arch/powerpc/sysdev/
Ddart_iommu.c339 iommu_table_dart.it_size = dart_tablesize / sizeof(u32); in iommu_table_dart_setup()
352 set_bit(iommu_table_dart.it_size - 1, iommu_table_dart.it_map); in iommu_table_dart_setup()
/arch/parisc/kernel/
Dcache.c121 cache_info.it_size, in show_cache_info()
158 cache_info.it_size); in parisc_cache_init()
420 threshold = max(cache_info.it_size, cache_info.dt_size); in parisc_setup_cache_timing()
/arch/powerpc/platforms/pasemi/
Diommu.c138 iommu_table_iobmap.it_size = in iommu_table_iobmap_setup()
/arch/parisc/include/uapi/asm/
Dpdc.h516 unsigned long it_size; /* number of entries in I-TLB */ member
/arch/powerpc/platforms/cell/
Diommu.c486 window->table.it_size = size >> window->table.it_page_shift; in cell_iommu_setup_window()
495 pr_debug("\tsize %ld\n", window->table.it_size); in cell_iommu_setup_window()
/arch/powerpc/platforms/pseries/
Diommu.c532 tbl->it_size = phb->dma_window_size >> tbl->it_page_shift; in iommu_table_setparms()
560 tbl->it_size = size >> tbl->it_page_shift; in iommu_table_setparms_lpar()
Dvio.c1189 tbl->it_size = size >> tbl->it_page_shift; in vio_build_iommu_table()
/arch/powerpc/kvm/
Dbook3s_64_vio.c138 (tbltmp->it_size << tbltmp->it_page_shift >= in kvm_spapr_tce_attach_iommu_group()