Lines Matching refs:sprn
93 static int kvmppc_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, int rs) in kvmppc_emulate_mtspr() argument
98 switch (sprn) { in kvmppc_emulate_mtspr()
133 emulated = vcpu->kvm->arch.kvm_ops->emulate_mtspr(vcpu, sprn, in kvmppc_emulate_mtspr()
137 "0x%x\n", sprn); in kvmppc_emulate_mtspr()
146 static int kvmppc_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, int rt) in kvmppc_emulate_mfspr() argument
151 switch (sprn) { in kvmppc_emulate_mfspr()
194 emulated = vcpu->kvm->arch.kvm_ops->emulate_mfspr(vcpu, sprn, in kvmppc_emulate_mfspr()
198 "0x%x\n", sprn); in kvmppc_emulate_mfspr()
215 int rs, rt, sprn; in kvmppc_emulate_instruction() local
230 sprn = get_sprn(inst); in kvmppc_emulate_instruction()
261 emulated = kvmppc_emulate_mfspr(vcpu, sprn, rt); in kvmppc_emulate_instruction()
269 emulated = kvmppc_emulate_mtspr(vcpu, sprn, rs); in kvmppc_emulate_instruction()