Home
last modified time | relevance | path

Searched refs:tce_table_size (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/arch/powerpc/platforms/powernv/
Dpci-ioda-tce.c301 const unsigned long tce_table_size = 1UL << table_shift; in pnv_pci_ioda2_table_alloc_pages() local
319 1, tce_table_size, &offset, &total_allocated); in pnv_pci_ioda2_table_alloc_pages()
330 if (levels == 1 && offset < tce_table_size) in pnv_pci_ioda2_table_alloc_pages()
337 1, tce_table_size, &offset, in pnv_pci_ioda2_table_alloc_pages()
341 if (levels == 1 && (offset < tce_table_size || in pnv_pci_ioda2_table_alloc_pages()
347 pnv_pci_setup_iommu_table(tbl, addr, tce_table_size, bus_offset, in pnv_pci_ioda2_table_alloc_pages()
355 window_size, tce_table_size, bus_offset, tbl->it_base, in pnv_pci_ioda2_table_alloc_pages()
Dpci-ioda.c1839 unsigned long tce_table_size = max(0x1000UL, 1UL << table_shift); in pnv_pci_ioda2_get_table_size() local
1853 bytes += ALIGN(tce_table_size, direct_table_size); in pnv_pci_ioda2_get_table_size()
1855 tce_table_size /= direct_table_size; in pnv_pci_ioda2_get_table_size()
1856 tce_table_size <<= 3; in pnv_pci_ioda2_get_table_size()
1857 tce_table_size = max_t(unsigned long, in pnv_pci_ioda2_get_table_size()
1858 tce_table_size, direct_table_size); in pnv_pci_ioda2_get_table_size()
/linux-5.19.10/arch/powerpc/include/asm/
Dopal.h138 uint64_t tce_table_size, uint64_t tce_page_size);