Home
last modified time | relevance | path

Searched refs:table_shift (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/sparc/kernel/
H A Diommu-common.c54 u32 table_shift, in iommu_tbl_pool_init() argument
69 iommu->table_shift = table_shift; in iommu_tbl_pool_init()
152 shift = iommu->table_map_base >> iommu->table_shift; in iommu_tbl_range_alloc()
179 iommu->table_shift); in iommu_tbl_range_alloc()
251 unsigned long shift = iommu->table_shift; in iommu_tbl_range_free()
/openbmc/linux/arch/sparc/include/asm/
H A Diommu-common.h22 unsigned long table_shift; member
37 u32 table_shift,
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dpci-ioda-tce.c299 unsigned int table_shift = max_t(unsigned int, entries_shift + 3, in pnv_pci_ioda2_table_alloc_pages() local
301 const unsigned long tce_table_size = 1UL << table_shift; in pnv_pci_ioda2_table_alloc_pages()
H A Dpci-ioda.c1487 unsigned table_shift = entries_shift + 3; in pnv_pci_ioda2_get_table_size() local
1488 unsigned long tce_table_size = max(0x1000UL, 1UL << table_shift); in pnv_pci_ioda2_get_table_size()
1497 table_shift = entries_shift + 3; in pnv_pci_ioda2_get_table_size()
1498 table_shift = max_t(unsigned, table_shift, PAGE_SHIFT); in pnv_pci_ioda2_get_table_size()
1499 direct_table_size = 1UL << table_shift; in pnv_pci_ioda2_get_table_size()