Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sparc/kernel/
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()
171 1 << iommu->table_shift); in iommu_tbl_range_alloc()
173 boundary_size = ALIGN(1ULL << 32, 1 << iommu->table_shift); in iommu_tbl_range_alloc()
175 boundary_size = boundary_size >> iommu->table_shift; in iommu_tbl_range_alloc()
255 unsigned long shift = iommu->table_shift; in iommu_tbl_range_free()
/Linux-v4.19/arch/sparc/include/asm/
Diommu-common.h22 unsigned long table_shift; member
37 u32 table_shift,
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dpci-ioda-tce.c260 unsigned int table_shift = max_t(unsigned int, entries_shift + 3, in pnv_pci_ioda2_table_alloc_pages() local
262 const unsigned long tce_table_size = 1UL << table_shift; in pnv_pci_ioda2_table_alloc_pages()
Dpci-ioda.c2575 unsigned table_shift = entries_shift + 3; in pnv_pci_ioda2_get_table_size() local
2576 unsigned long tce_table_size = max(0x1000UL, 1UL << table_shift); in pnv_pci_ioda2_get_table_size()
2585 table_shift = entries_shift + 3; in pnv_pci_ioda2_get_table_size()
2586 table_shift = max_t(unsigned, table_shift, PAGE_SHIFT); in pnv_pci_ioda2_get_table_size()
2587 direct_table_size = 1UL << table_shift; in pnv_pci_ioda2_get_table_size()