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()179 iommu->table_shift); in iommu_tbl_range_alloc()251 unsigned long shift = iommu->table_shift; in iommu_tbl_range_free()
22 unsigned long table_shift; member37 u32 table_shift,
299 unsigned int table_shift = max_t(unsigned int, entries_shift + 3, in pnv_pci_ioda2_table_alloc_pages() local301 const unsigned long tce_table_size = 1UL << table_shift; in pnv_pci_ioda2_table_alloc_pages()
1487 unsigned table_shift = entries_shift + 3; in pnv_pci_ioda2_get_table_size() local1488 unsigned long tce_table_size = max(0x1000UL, 1UL << table_shift); in pnv_pci_ioda2_get_table_size()1497 table_shift = entries_shift + 3; in pnv_pci_ioda2_get_table_size()1498 table_shift = max_t(unsigned, table_shift, PAGE_SHIFT); in pnv_pci_ioda2_get_table_size()1499 direct_table_size = 1UL << table_shift; in pnv_pci_ioda2_get_table_size()