Lines Matching refs:sre
110 u32 sre, gva_t eaddr, in kvmppc_mmu_book3s_32_get_pteg() argument
120 hash = ((sr_vsid(sre) ^ page) << 6); in kvmppc_mmu_book3s_32_get_pteg()
129 sr_vsid(sre)); in kvmppc_mmu_book3s_32_get_pteg()
137 static u32 kvmppc_mmu_book3s_32_get_ptem(u32 sre, gva_t eaddr, bool primary) in kvmppc_mmu_book3s_32_get_ptem() argument
139 return ((eaddr & 0x0fffffff) >> 22) | (sr_vsid(sre) << 7) | in kvmppc_mmu_book3s_32_get_ptem()
202 u32 sre; in kvmppc_mmu_book3s_32_xlate_pte() local
210 sre = find_sr(vcpu, eaddr); in kvmppc_mmu_book3s_32_xlate_pte()
213 sr_vsid(sre), sre); in kvmppc_mmu_book3s_32_xlate_pte()
217 ptegp = kvmppc_mmu_book3s_32_get_pteg(vcpu, sre, eaddr, primary); in kvmppc_mmu_book3s_32_xlate_pte()
223 ptem = kvmppc_mmu_book3s_32_get_ptem(sre, eaddr, primary); in kvmppc_mmu_book3s_32_xlate_pte()
240 if ((sr_kp(sre) && (kvmppc_get_msr(vcpu) & MSR_PR)) || in kvmppc_mmu_book3s_32_xlate_pte()
241 (sr_ks(sre) && !(kvmppc_get_msr(vcpu) & MSR_PR))) in kvmppc_mmu_book3s_32_xlate_pte()