Searched refs:tce_table_size (Results 1 – 3 of 3) sorted by relevance
/linux/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda-tce.c | 301 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()
|
H A D | pci-ioda.c | 1488 unsigned long tce_table_size = max(0x1000UL, 1UL << table_shift); in pnv_pci_ioda2_get_table_size() local 1502 bytes += ALIGN(tce_table_size, direct_table_size); in pnv_pci_ioda2_get_table_size() 1504 tce_table_size /= direct_table_size; in pnv_pci_ioda2_get_table_size() 1505 tce_table_size <<= 3; in pnv_pci_ioda2_get_table_size() 1506 tce_table_size = max_t(unsigned long, in pnv_pci_ioda2_get_table_size() 1507 tce_table_size, direct_table_size); in pnv_pci_ioda2_get_table_size()
|
/linux/arch/powerpc/include/asm/ |
H A D | opal.h | 135 uint64_t tce_table_size, uint64_t tce_page_size);
|