Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
Dmmu-hash64.h184 #define VPN_SHIFT 12 macro
247 v = (vpn >> (23 - VPN_SHIFT)) & ~(mmu_psize_defs[psize].avpnm); in hpte_encode_avpn()
294 mask = (1ul << (s_shift - VPN_SHIFT)) - 1; in hpt_vpn()
295 return (vsid << (s_shift - VPN_SHIFT)) | ((ea >> VPN_SHIFT) & mask); in hpt_vpn()
309 mask = (1ul << (SID_SHIFT - VPN_SHIFT)) - 1; in hpt_hash()
310 hash = (vpn >> (SID_SHIFT - VPN_SHIFT)) ^ in hpt_hash()
311 ((vpn & mask) >> (shift - VPN_SHIFT)); in hpt_hash()
313 mask = (1ul << (SID_SHIFT_1T - VPN_SHIFT)) - 1; in hpt_hash()
314 vsid = vpn >> (SID_SHIFT_1T - VPN_SHIFT); in hpt_hash()
316 ((vpn & mask) >> (shift - VPN_SHIFT)) ; in hpt_hash()
Dpte-hash64-64k.h83 unsigned long __end = vpn + (1UL << (PAGE_SHIFT - VPN_SHIFT)); \
88 vpn += (1L << (shift - VPN_SHIFT))) { \
Dkvm_book3s_32.h45 #define VPN_SHIFT 12 macro
/arch/powerpc/mm/
Dhash_low_64.S116 sldi r29,r5,SID_SHIFT - VPN_SHIFT
117 rldicl r28,r3,64 - VPN_SHIFT,64 - (SID_SHIFT - VPN_SHIFT)
129 sldi r29,r5,SID_SHIFT_1T - VPN_SHIFT
130 rldicl r28,r3,64 - VPN_SHIFT,64 - (SID_SHIFT_1T - VPN_SHIFT)
417 sldi r29,r5,SID_SHIFT - VPN_SHIFT
422 rldicl r28,r3,64 - VPN_SHIFT,64 - (SID_SHIFT - VPN_SHIFT)
434 sldi r29,r5,SID_SHIFT_1T - VPN_SHIFT
439 rldicl r28,r3,64 - VPN_SHIFT,64 - (SID_SHIFT_1T - VPN_SHIFT)
778 sldi r29,r5,SID_SHIFT - VPN_SHIFT
779 rldicl r28,r3,64 - VPN_SHIFT,64 - (SID_SHIFT - VPN_SHIFT)
[all …]
Dhash_native_64.c61 va = vpn << VPN_SHIFT; in __tlbie()
110 va = vpn << VPN_SHIFT; in __tlbiel()
561 *vpn = vsid << (SID_SHIFT - VPN_SHIFT) | seg_off >> VPN_SHIFT; in hpte_decode()
571 *vpn = vsid << (SID_SHIFT_1T - VPN_SHIFT) | seg_off >> VPN_SHIFT; in hpte_decode()
/arch/powerpc/kvm/
Dbook3s_32_mmu_host.c179 vpn = (vsid << (SID_SHIFT - VPN_SHIFT)) | in kvmppc_mmu_map_page()
180 ((eaddr & ~ESID_MASK) >> VPN_SHIFT); in kvmppc_mmu_map_page()
Dbook3s_64_mmu.c94 return (eaddr >> VPN_SHIFT) | in kvmppc_slb_calc_vpn()
95 ((slb->vsid) << (kvmppc_slb_sid_shift(slb) - VPN_SHIFT)); in kvmppc_slb_calc_vpn()