Home
last modified time | relevance | path

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

/linux-4.4.14/lib/
Diommu-common.c53 u32 table_shift, in iommu_tbl_pool_init() argument
68 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()
256 unsigned long shift = iommu->table_shift; in iommu_tbl_range_free()
/linux-4.4.14/include/linux/
Diommu-common.h21 unsigned long table_shift; member
36 u32 table_shift,
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dpci-ioda.c2137 unsigned table_shift = entries_shift + 3; in pnv_pci_ioda2_get_table_size() local
2138 unsigned long tce_table_size = max(0x1000UL, 1UL << table_shift); in pnv_pci_ioda2_get_table_size()
2148 table_shift = entries_shift + 3; in pnv_pci_ioda2_get_table_size()
2149 table_shift = max_t(unsigned, table_shift, PAGE_SHIFT); in pnv_pci_ioda2_get_table_size()
2150 direct_table_size = 1UL << table_shift; in pnv_pci_ioda2_get_table_size()
2259 unsigned table_shift = max_t(unsigned, entries_shift + 3, PAGE_SHIFT); in pnv_pci_ioda2_table_alloc_pages() local
2260 const unsigned long tce_table_size = 1UL << table_shift; in pnv_pci_ioda2_table_alloc_pages()