Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/include/asm/book3s/64/
H A Dmmu-hash.h242 #define VPN_SHIFT 12 macro
337 v = (vpn >> (23 - VPN_SHIFT)) & ~(mmu_psize_defs[psize].avpnm); in hpte_encode_avpn()
426 mask = (1ul << (s_shift - VPN_SHIFT)) - 1; in hpt_vpn()
427 return (vsid << (s_shift - VPN_SHIFT)) | ((ea >> VPN_SHIFT) & mask); in hpt_vpn()
441 mask = (1ul << (SID_SHIFT - VPN_SHIFT)) - 1; in hpt_hash()
442 hash = (vpn >> (SID_SHIFT - VPN_SHIFT)) ^ in hpt_hash()
443 ((vpn & mask) >> (shift - VPN_SHIFT)); in hpt_hash()
445 mask = (1ul << (SID_SHIFT_1T - VPN_SHIFT)) - 1; in hpt_hash()
446 vsid = vpn >> (SID_SHIFT_1T - VPN_SHIFT); in hpt_hash()
448 ((vpn & mask) >> (shift - VPN_SHIFT)) ; in hpt_hash()
H A Dhash-64k.h160 unsigned long __end = vpn + (1UL << (PAGE_SHIFT - VPN_SHIFT)); \
165 vpn += (1L << (shift - VPN_SHIFT))) { \
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dhash_native.c83 va = vpn << VPN_SHIFT; in ___tlbie()
173 va = vpn << VPN_SHIFT; in __tlbiel()
705 *vpn = vsid << (SID_SHIFT - VPN_SHIFT) | seg_off >> VPN_SHIFT; in hpte_decode()
715 *vpn = vsid << (SID_SHIFT_1T - VPN_SHIFT) | seg_off >> VPN_SHIFT; in hpte_decode()
/openbmc/linux/arch/powerpc/include/asm/
H A Dkvm_book3s_32.h34 #define VPN_SHIFT 12 macro
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_32_mmu_host.c167 vpn = (vsid << (SID_SHIFT - VPN_SHIFT)) | in kvmppc_mmu_map_page()
168 ((eaddr & ~ESID_MASK) >> VPN_SHIFT); in kvmppc_mmu_map_page()
H A Dbook3s_64_mmu.c77 return (eaddr >> VPN_SHIFT) | in kvmppc_slb_calc_vpn()
78 ((slb->vsid) << (kvmppc_slb_sid_shift(slb) - VPN_SHIFT)); in kvmppc_slb_calc_vpn()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dlpar.c1161 vpgb = (vpn[i] >> (shift - VPN_SHIFT + 3)); in hugepage_block_invalidate()
1369 vpgb = (vpn >> (shift - VPN_SHIFT + 3)); in do_block_remove()