Searched refs:pages_per_segment (Results 1 – 1 of 1) sorted by relevance
335 unsigned long reg, segments, pages_per_segment, ptab_size, in cell_iommu_alloc_ptab() local340 pages_per_segment = 1ull << IO_PAGENO_BITS(page_shift); in cell_iommu_alloc_ptab()342 pages_per_segment = max(pages_per_segment, in cell_iommu_alloc_ptab()345 ptab_size = segments * pages_per_segment * sizeof(unsigned long); in cell_iommu_alloc_ptab()355 n_pte_pages = (pages_per_segment * sizeof(unsigned long)) >> 12; in cell_iommu_alloc_ptab()