Searched refs:VPN_SHIFT (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/include/asm/ |
D | mmu-hash64.h | 182 #define VPN_SHIFT 12 macro 245 v = (vpn >> (23 - VPN_SHIFT)) & ~(mmu_psize_defs[psize].avpnm); in hpte_encode_avpn() 292 mask = (1ul << (s_shift - VPN_SHIFT)) - 1; in hpt_vpn() 293 return (vsid << (s_shift - VPN_SHIFT)) | ((ea >> VPN_SHIFT) & mask); in hpt_vpn() 307 mask = (1ul << (SID_SHIFT - VPN_SHIFT)) - 1; in hpt_hash() 308 hash = (vpn >> (SID_SHIFT - VPN_SHIFT)) ^ in hpt_hash() 309 ((vpn & mask) >> (shift - VPN_SHIFT)); in hpt_hash() 311 mask = (1ul << (SID_SHIFT_1T - VPN_SHIFT)) - 1; in hpt_hash() 312 vsid = vpn >> (SID_SHIFT_1T - VPN_SHIFT); in hpt_hash() 314 ((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 | 115 sldi r29,r5,SID_SHIFT - VPN_SHIFT 116 rldicl r28,r3,64 - VPN_SHIFT,64 - (SID_SHIFT - VPN_SHIFT) 128 sldi r29,r5,SID_SHIFT_1T - VPN_SHIFT 129 rldicl r28,r3,64 - VPN_SHIFT,64 - (SID_SHIFT_1T - VPN_SHIFT) 416 sldi r29,r5,SID_SHIFT - VPN_SHIFT 421 rldicl r28,r3,64 - VPN_SHIFT,64 - (SID_SHIFT - VPN_SHIFT) 433 sldi r29,r5,SID_SHIFT_1T - VPN_SHIFT 438 rldicl r28,r3,64 - VPN_SHIFT,64 - (SID_SHIFT_1T - VPN_SHIFT) 777 sldi r29,r5,SID_SHIFT - VPN_SHIFT 778 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() 548 *vpn = vsid << (SID_SHIFT - VPN_SHIFT) | seg_off >> VPN_SHIFT; in hpte_decode() 558 *vpn = vsid << (SID_SHIFT_1T - VPN_SHIFT) | seg_off >> VPN_SHIFT; in hpte_decode()
|
/arch/powerpc/kvm/ |
D | book3s_32_mmu_host.c | 178 vpn = (vsid << (SID_SHIFT - VPN_SHIFT)) | in kvmppc_mmu_map_page() 179 ((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()
|