Home
last modified time | relevance | path

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

/linux-5.19.10/arch/sparc/kernel/
Diommu-common.c54 u32 table_shift, in iommu_tbl_pool_init() argument
69 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()
/linux-5.19.10/arch/sparc/include/asm/
Diommu-common.h22 unsigned long table_shift; member
37 u32 table_shift,
/linux-5.19.10/arch/powerpc/platforms/powernv/
Dpci-ioda-tce.c299 unsigned int table_shift = max_t(unsigned int, entries_shift + 3, in pnv_pci_ioda2_table_alloc_pages() local
301 const unsigned long tce_table_size = 1UL << table_shift; in pnv_pci_ioda2_table_alloc_pages()
Dpci-ioda.c1838 unsigned table_shift = entries_shift + 3; in pnv_pci_ioda2_get_table_size() local
1839 unsigned long tce_table_size = max(0x1000UL, 1UL << table_shift); in pnv_pci_ioda2_get_table_size()
1848 table_shift = entries_shift + 3; in pnv_pci_ioda2_get_table_size()
1849 table_shift = max_t(unsigned, table_shift, PAGE_SHIFT); in pnv_pci_ioda2_get_table_size()
1850 direct_table_size = 1UL << table_shift; in pnv_pci_ioda2_get_table_size()