Searched refs:pages_per_segment (Results 1 – 1 of 1) sorted by relevance
324 unsigned long reg, segments, pages_per_segment, ptab_size, in cell_iommu_alloc_ptab() local329 pages_per_segment = 1ull << IO_PAGENO_BITS(page_shift); in cell_iommu_alloc_ptab()331 pages_per_segment = max(pages_per_segment, in cell_iommu_alloc_ptab()334 ptab_size = segments * pages_per_segment * sizeof(unsigned long); in cell_iommu_alloc_ptab()344 n_pte_pages = (pages_per_segment * sizeof(unsigned long)) >> 12; in cell_iommu_alloc_ptab()