Home
last modified time | relevance | path

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

/arch/powerpc/mm/book3s64/
Dhash_utils.c149 .penc = {[MMU_PAGE_4K] = 0, [1 ... MMU_PAGE_COUNT - 1] = -1},
164 .penc = {[MMU_PAGE_4K] = 0, [1 ... MMU_PAGE_COUNT - 1] = -1},
171 .penc = {[0 ... MMU_PAGE_16M - 1] = -1, [MMU_PAGE_16M] = 0,
497 int penc = be32_to_cpu(prop[1]); in htab_dt_scan_page_sizes() local
506 if (penc == -1) in htab_dt_scan_page_sizes()
510 def->penc[idx] = penc; in htab_dt_scan_page_sizes()
514 def->avpnm, def->tlbiel, def->penc[idx]); in htab_dt_scan_page_sizes()
571 mmu_psize_defs[bpsize].penc[apsize] = -1; in mmu_psize_set_default_penc()
650 long int shift, penc; in init_hpte_page_sizes() local
656 penc = mmu_psize_defs[bp].penc[ap]; in init_hpte_page_sizes()
[all …]
Dhash_native.c154 unsigned int penc; in ___tlbie() local
186 penc = mmu_psize_defs[psize].penc[apsize]; in ___tlbie()
188 va |= penc << 12; in ___tlbie()
250 unsigned int penc; in __tlbiel() local
276 penc = mmu_psize_defs[psize].penc[apsize]; in __tlbiel()
278 va |= penc << 12; in __tlbiel()
Dhash_pgtable.c389 (mmu_psize_defs[MMU_PAGE_64K].penc[MMU_PAGE_16M] == -1)) in hash__has_transparent_hugepage()
394 if (mmu_psize_defs[MMU_PAGE_4K].penc[MMU_PAGE_16M] == -1) in hash__has_transparent_hugepage()
/arch/powerpc/mm/ptdump/
Dhashpagetable.c281 int penc = -2, idx = 0, shift; in decode_r() local
298 penc = entry.penc[idx]; in decode_r()
299 if ((penc != -1) && (mmu_psize_defs[idx].shift)) { in decode_r()
302 if ((lp & mask) == penc) { in decode_r()
/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h410 unsigned int penc = mmu_psize_defs[base_psize].penc[actual_psize]; in hpte_encode_r() local
412 return (pa & ~((1ul << shift) - 1)) | (penc << LP_SHIFT); in hpte_encode_r()
Dmmu.h19 int penc[MMU_PAGE_COUNT]; /* HPTE encoding */ member
/arch/powerpc/platforms/pseries/
Dlpar.c1417 if (def->penc[psize] == lp) { in check_lp_set_hblkrm()
/arch/powerpc/kvm/
Dbook3s_hv.c4741 int penc = kvmppc_pgsize_lp_encoding(shift, 24); in kvmppc_add_seg_page_size() local
4742 if (penc != -1) { in kvmppc_add_seg_page_size()
4744 (*sps)->enc[1].pte_enc = penc; in kvmppc_add_seg_page_size()