Searched refs:tce_table_size (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/arch/powerpc/platforms/powernv/ |
D | pci-ioda-tce.c | 302 const unsigned long tce_table_size = 1UL << table_shift; in pnv_pci_ioda2_table_alloc_pages() local 320 1, tce_table_size, &offset, &total_allocated); in pnv_pci_ioda2_table_alloc_pages() 331 if (levels == 1 && offset < tce_table_size) in pnv_pci_ioda2_table_alloc_pages() 338 1, tce_table_size, &offset, in pnv_pci_ioda2_table_alloc_pages() 342 if (levels == 1 && (offset < tce_table_size || in pnv_pci_ioda2_table_alloc_pages() 348 pnv_pci_setup_iommu_table(tbl, addr, tce_table_size, bus_offset, in pnv_pci_ioda2_table_alloc_pages() 356 window_size, tce_table_size, bus_offset, tbl->it_base, in pnv_pci_ioda2_table_alloc_pages()
|
D | pci-ioda.c | 1989 unsigned long tce_table_size = max(0x1000UL, 1UL << table_shift); in pnv_pci_ioda2_get_table_size() local 2003 bytes += ALIGN(tce_table_size, direct_table_size); in pnv_pci_ioda2_get_table_size() 2005 tce_table_size /= direct_table_size; in pnv_pci_ioda2_get_table_size() 2006 tce_table_size <<= 3; in pnv_pci_ioda2_get_table_size() 2007 tce_table_size = max_t(unsigned long, in pnv_pci_ioda2_get_table_size() 2008 tce_table_size, direct_table_size); in pnv_pci_ioda2_get_table_size()
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | opal.h | 141 uint64_t tce_table_size, uint64_t tce_page_size);
|