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

/linux-4.4.14/include/linux/
H A Diommu-common.h21 unsigned long table_shift; member in struct:iommu_map_table
36 u32 table_shift,
/linux-4.4.14/lib/
H A Diommu-common.c53 u32 table_shift, iommu_tbl_pool_init()
68 iommu->table_shift = table_shift; iommu_tbl_pool_init()
152 shift = iommu->table_map_base >> iommu->table_shift; iommu_tbl_range_alloc()
171 1 << iommu->table_shift); iommu_tbl_range_alloc()
173 boundary_size = ALIGN(1ULL << 32, 1 << iommu->table_shift); iommu_tbl_range_alloc()
175 boundary_size = boundary_size >> iommu->table_shift; iommu_tbl_range_alloc()
256 unsigned long shift = iommu->table_shift; iommu_tbl_range_free()
51 iommu_tbl_pool_init(struct iommu_map_table *iommu, unsigned long num_entries, u32 table_shift, void (*lazy_flush)(struct iommu_map_table *), bool large_pool, u32 npools, bool skip_span_boundary_check) iommu_tbl_pool_init() argument
/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Dpci-ioda.c2137 unsigned table_shift = entries_shift + 3; pnv_pci_ioda2_get_table_size() local
2138 unsigned long tce_table_size = max(0x1000UL, 1UL << table_shift); pnv_pci_ioda2_get_table_size()
2148 table_shift = entries_shift + 3; pnv_pci_ioda2_get_table_size()
2149 table_shift = max_t(unsigned, table_shift, PAGE_SHIFT); pnv_pci_ioda2_get_table_size()
2150 direct_table_size = 1UL << table_shift; pnv_pci_ioda2_get_table_size()
2259 unsigned table_shift = max_t(unsigned, entries_shift + 3, PAGE_SHIFT); pnv_pci_ioda2_table_alloc_pages() local
2260 const unsigned long tce_table_size = 1UL << table_shift; pnv_pci_ioda2_table_alloc_pages()

Completed in 221 milliseconds