Searched refs:tce_table_size (Results 1 – 3 of 3) sorted by relevance
/arch/powerpc/platforms/powernv/ |
D | pci-ioda-tce.c | 274 const unsigned long tce_table_size = 1UL << table_shift; in pnv_pci_ioda2_table_alloc_pages() local 292 1, tce_table_size, &offset, &total_allocated); in pnv_pci_ioda2_table_alloc_pages() 303 if (levels == 1 && offset < tce_table_size) in pnv_pci_ioda2_table_alloc_pages() 310 1, tce_table_size, &offset, in pnv_pci_ioda2_table_alloc_pages() 314 if (levels == 1 && (offset < tce_table_size || in pnv_pci_ioda2_table_alloc_pages() 320 pnv_pci_setup_iommu_table(tbl, addr, tce_table_size, bus_offset, in pnv_pci_ioda2_table_alloc_pages() 328 window_size, tce_table_size, bus_offset, tbl->it_base, in pnv_pci_ioda2_table_alloc_pages()
|
D | pci-ioda.c | 2507 unsigned long tce_table_size = max(0x1000UL, 1UL << table_shift); in pnv_pci_ioda2_get_table_size() local 2521 bytes += _ALIGN_UP(tce_table_size, direct_table_size); in pnv_pci_ioda2_get_table_size() 2523 tce_table_size /= direct_table_size; in pnv_pci_ioda2_get_table_size() 2524 tce_table_size <<= 3; in pnv_pci_ioda2_get_table_size() 2525 tce_table_size = max_t(unsigned long, in pnv_pci_ioda2_get_table_size() 2526 tce_table_size, direct_table_size); in pnv_pci_ioda2_get_table_size()
|
/arch/powerpc/include/asm/ |
D | opal.h | 141 uint64_t tce_table_size, uint64_t tce_page_size);
|