Searched refs:table_shift (Results 1 – 4 of 4) sorted by relevance
54 u32 table_shift, in iommu_tbl_pool_init() argument69 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()
22 unsigned long table_shift; member37 u32 table_shift,
272 unsigned int table_shift = max_t(unsigned int, entries_shift + 3, in pnv_pci_ioda2_table_alloc_pages() local274 const unsigned long tce_table_size = 1UL << table_shift; in pnv_pci_ioda2_table_alloc_pages()
2495 unsigned table_shift = entries_shift + 3; in pnv_pci_ioda2_get_table_size() local2496 unsigned long tce_table_size = max(0x1000UL, 1UL << table_shift); in pnv_pci_ioda2_get_table_size()2505 table_shift = entries_shift + 3; in pnv_pci_ioda2_get_table_size()2506 table_shift = max_t(unsigned, table_shift, PAGE_SHIFT); in pnv_pci_ioda2_get_table_size()2507 direct_table_size = 1UL << table_shift; in pnv_pci_ioda2_get_table_size()