Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/mm/book3s32/
Dmmu.c345 unsigned int n_hpteg, lg_n_hpteg; in MMU_init_hw() local
353 #define SDR1_LOW_BITS ((n_hpteg - 1) >> 10) in MMU_init_hw()
361 n_hpteg = total_memory / (PAGE_SIZE * 8); in MMU_init_hw()
362 if (n_hpteg < MIN_N_HPTEG) in MMU_init_hw()
363 n_hpteg = MIN_N_HPTEG; in MMU_init_hw()
364 lg_n_hpteg = __ilog2(n_hpteg); in MMU_init_hw()
365 if (n_hpteg & (n_hpteg - 1)) { in MMU_init_hw()
367 n_hpteg = 1 << lg_n_hpteg; in MMU_init_hw()
369 Hash_size = n_hpteg << LG_HPTEG_SIZE; in MMU_init_hw()
385 Hash_mask = n_hpteg - 1; in MMU_init_hw()