Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/mm/
Dppc_mmu_32.c183 unsigned int n_hpteg, lg_n_hpteg; in MMU_init_hw() local
205 #define SDR1_LOW_BITS ((n_hpteg - 1) >> 10) in MMU_init_hw()
213 n_hpteg = total_memory / (PAGE_SIZE * 8); in MMU_init_hw()
214 if (n_hpteg < MIN_N_HPTEG) in MMU_init_hw()
215 n_hpteg = MIN_N_HPTEG; in MMU_init_hw()
216 lg_n_hpteg = __ilog2(n_hpteg); in MMU_init_hw()
217 if (n_hpteg & (n_hpteg - 1)) { in MMU_init_hw()
219 n_hpteg = 1 << lg_n_hpteg; in MMU_init_hw()
221 Hash_size = n_hpteg << LG_HPTEG_SIZE; in MMU_init_hw()
241 Hash_mask = n_hpteg - 1; in MMU_init_hw()