Searched refs:vcpu_book3s (Results 1 – 4 of 4) sorted by relevance
97 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in kvmppc_mmu_book3s_32_get_pteg() local102 htabmask = ((vcpu_book3s->sdr1 & 0x1FF) << 16) | 0xFFC0; in kvmppc_mmu_book3s_32_get_pteg()109 pteg = (vcpu_book3s->sdr1 & 0xffff0000) | hash; in kvmppc_mmu_book3s_32_get_pteg()112 kvmppc_get_pc(vcpu), eaddr, vcpu_book3s->sdr1, pteg, in kvmppc_mmu_book3s_32_get_pteg()131 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in kvmppc_mmu_book3s_32_xlate_bat() local137 bat = &vcpu_book3s->dbat[i]; in kvmppc_mmu_book3s_32_xlate_bat()139 bat = &vcpu_book3s->ibat[i]; in kvmppc_mmu_book3s_32_xlate_bat()
120 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in kvmppc_mmu_book3s_64_get_pteg() local126 htabsize = ((1 << ((vcpu_book3s->sdr1 & 0x1f) + 11)) - 1); in kvmppc_mmu_book3s_64_get_pteg()137 pteg = vcpu_book3s->sdr1 & 0xfffffffffffc0000ULL; in kvmppc_mmu_book3s_64_get_pteg()141 page, vcpu_book3s->sdr1, pteg, slbe->vsid); in kvmppc_mmu_book3s_64_get_pteg()
25 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in get_pteg_addr() local29 pte_index &= ((1 << ((vcpu_book3s->sdr1 & 0x1f) + 11)) - 1) << 7 | 0x70; in get_pteg_addr()30 pteg_addr = vcpu_book3s->sdr1 & 0xfffffffffffc0000ULL; in get_pteg_addr()
655 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in kvmppc_find_bat() local660 bat = &vcpu_book3s->ibat[(sprn - SPRN_IBAT0U) / 2]; in kvmppc_find_bat()663 bat = &vcpu_book3s->ibat[4 + ((sprn - SPRN_IBAT4U) / 2)]; in kvmppc_find_bat()666 bat = &vcpu_book3s->dbat[(sprn - SPRN_DBAT0U) / 2]; in kvmppc_find_bat()669 bat = &vcpu_book3s->dbat[4 + ((sprn - SPRN_DBAT4U) / 2)]; in kvmppc_find_bat()