Lines Matching refs:bat
132 struct kvmppc_bat *bat; in kvmppc_mmu_book3s_32_xlate_bat() local
137 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()
142 if (!bat->vp) in kvmppc_mmu_book3s_32_xlate_bat()
145 if (!bat->vs) in kvmppc_mmu_book3s_32_xlate_bat()
152 data ? 'd' : 'i', i, eaddr, bat->bepi, in kvmppc_mmu_book3s_32_xlate_bat()
153 bat->bepi_mask); in kvmppc_mmu_book3s_32_xlate_bat()
155 if ((eaddr & bat->bepi_mask) == bat->bepi) { in kvmppc_mmu_book3s_32_xlate_bat()
162 pte->raddr = bat->brpn | (eaddr & ~bat->bepi_mask); in kvmppc_mmu_book3s_32_xlate_bat()
163 pte->may_read = bat->pp; in kvmppc_mmu_book3s_32_xlate_bat()
164 pte->may_write = bat->pp > 1; in kvmppc_mmu_book3s_32_xlate_bat()