Lines Matching refs:bat
151 struct kvmppc_bat *bat; in kvmppc_mmu_book3s_32_xlate_bat() local
156 bat = &vcpu_book3s->dbat[i]; in kvmppc_mmu_book3s_32_xlate_bat()
158 bat = &vcpu_book3s->ibat[i]; in kvmppc_mmu_book3s_32_xlate_bat()
161 if (!bat->vp) in kvmppc_mmu_book3s_32_xlate_bat()
164 if (!bat->vs) in kvmppc_mmu_book3s_32_xlate_bat()
171 data ? 'd' : 'i', i, eaddr, bat->bepi, in kvmppc_mmu_book3s_32_xlate_bat()
172 bat->bepi_mask); in kvmppc_mmu_book3s_32_xlate_bat()
174 if ((eaddr & bat->bepi_mask) == bat->bepi) { in kvmppc_mmu_book3s_32_xlate_bat()
181 pte->raddr = bat->brpn | (eaddr & ~bat->bepi_mask); in kvmppc_mmu_book3s_32_xlate_bat()
182 pte->may_read = bat->pp; in kvmppc_mmu_book3s_32_xlate_bat()
183 pte->may_write = bat->pp > 1; in kvmppc_mmu_book3s_32_xlate_bat()