Searched refs:table_shift (Results 1 – 3 of 3) sorted by relevance
53 u32 table_shift, in iommu_tbl_pool_init() argument68 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()
21 unsigned long table_shift; member36 u32 table_shift,
2137 unsigned table_shift = entries_shift + 3; in pnv_pci_ioda2_get_table_size() local2138 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() local2260 const unsigned long tce_table_size = 1UL << table_shift; in pnv_pci_ioda2_table_alloc_pages()