Lines Matching refs:sprn
75 static int kvmppc_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, int rs) in kvmppc_emulate_mtspr() argument
80 switch (sprn) { in kvmppc_emulate_mtspr()
115 emulated = vcpu->kvm->arch.kvm_ops->emulate_mtspr(vcpu, sprn, in kvmppc_emulate_mtspr()
119 "0x%x\n", sprn); in kvmppc_emulate_mtspr()
128 static int kvmppc_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, int rt) in kvmppc_emulate_mfspr() argument
133 switch (sprn) { in kvmppc_emulate_mfspr()
176 emulated = vcpu->kvm->arch.kvm_ops->emulate_mfspr(vcpu, sprn, in kvmppc_emulate_mfspr()
180 "0x%x\n", sprn); in kvmppc_emulate_mfspr()
197 int rs, rt, sprn; in kvmppc_emulate_instruction() local
212 sprn = get_sprn(inst); in kvmppc_emulate_instruction()
243 emulated = kvmppc_emulate_mfspr(vcpu, sprn, rt); in kvmppc_emulate_instruction()
251 emulated = kvmppc_emulate_mtspr(vcpu, sprn, rs); in kvmppc_emulate_instruction()