Home
last modified time | relevance | path

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

/openbmc/linux/arch/sparc/mm/
H A Diommu.c38 #define IOMMU_NPTES (IOMMU_WINSIZE/PAGE_SIZE) /* 64K PTEs, 256KB */ macro
99 IOMMU_NPTES * sizeof(iopte_t)); in sbus_iommu_init()
105 memset(iommu->page_table, 0, IOMMU_NPTES*sizeof(iopte_t)); in sbus_iommu_init()
113 bitmap = kmalloc(IOMMU_NPTES>>3, GFP_KERNEL); in sbus_iommu_init()
116 (int)(IOMMU_NPTES>>3)); in sbus_iommu_init()
119 bit_map_init(&iommu->usemap, bitmap, IOMMU_NPTES); in sbus_iommu_init()
130 (int)(IOMMU_NPTES*sizeof(iopte_t)), (int)IOMMU_NPTES); in sbus_iommu_init()