Lines Matching refs:page_shift
264 if (!sps1->page_shift) { in ppc_store_slb()
604 if (sps->page_shift != 12) { in hpte_page_shift()
616 if (!ps->page_shift) { in hpte_page_shift()
620 if (ps->page_shift == 12) { in hpte_page_shift()
625 mask = ((1ULL << ps->page_shift) - 1) & HPTE64_R_RPN; in hpte_page_shift()
628 return ps->page_shift; in hpte_page_shift()
726 assert(sps->page_shift == 12); in ppc_hash64_htab_lookup()
729 epnmask = ~((1ULL << sps->page_shift) - 1); in ppc_hash64_htab_lookup()
735 hash = vsid ^ (vsid << 25) ^ (epn >> sps->page_shift); in ppc_hash64_htab_lookup()
740 hash = vsid ^ (epn >> sps->page_shift); in ppc_hash64_htab_lookup()
792 if (!sps->page_shift) { in ppc_hash64_hpte_page_shift_noslb()
965 if (!sps->page_shift) { in build_vrma_slbe()
1245 { .page_shift = 12, /* 4K */
1247 .enc = { { .page_shift = 12, .pte_enc = 0 } }
1249 { .page_shift = 24, /* 16M */
1251 .enc = { { .page_shift = 24, .pte_enc = 0 } }
1261 .page_shift = 12, /* 4K */
1263 .enc = { { .page_shift = 12, .pte_enc = 0 },
1264 { .page_shift = 16, .pte_enc = 0x7 },
1265 { .page_shift = 24, .pte_enc = 0x38 }, },
1268 .page_shift = 16, /* 64K */
1270 .enc = { { .page_shift = 16, .pte_enc = 0x1 },
1271 { .page_shift = 24, .pte_enc = 0x8 }, },
1274 .page_shift = 24, /* 16M */
1276 .enc = { { .page_shift = 24, .pte_enc = 0 }, },
1279 .page_shift = 34, /* 16G */
1281 .enc = { { .page_shift = 34, .pte_enc = 0x3 }, },