Searched refs:VPN_SHIFT (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/include/asm/ |
D | mmu-hash64.h | 184 #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()
|
D | pte-hash64-64k.h | 83 unsigned long __end = vpn + (1UL << (PAGE_SHIFT - VPN_SHIFT)); \ 88 vpn += (1L << (shift - VPN_SHIFT))) { \
|
D | kvm_book3s_32.h | 45 #define VPN_SHIFT 12 macro
|
/arch/powerpc/mm/ |
D | hash_low_64.S | 116 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 …]
|
D | hash_native_64.c | 61 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/ |
D | book3s_32_mmu_host.c | 179 vpn = (vsid << (SID_SHIFT - VPN_SHIFT)) | in kvmppc_mmu_map_page() 180 ((eaddr & ~ESID_MASK) >> VPN_SHIFT); in kvmppc_mmu_map_page()
|
D | book3s_64_mmu.c | 94 return (eaddr >> VPN_SHIFT) | in kvmppc_slb_calc_vpn() 95 ((slb->vsid) << (kvmppc_slb_sid_shift(slb) - VPN_SHIFT)); in kvmppc_slb_calc_vpn()
|