Home
last modified time | relevance | path

Searched defs:sprn (Results 1 – 7 of 7) sorted by relevance

/linux/arch/powerpc/kvm/
H A Demulate.c75 static int kvmppc_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, int rs) in kvmppc_emulate_mtspr()
128 static int kvmppc_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, int rt) in kvmppc_emulate_mfspr()
198 int rs, rt, sprn; in kvmppc_emulate_instruction() local
H A Dbooke_emulate.c120 int kvmppc_booke_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val) in kvmppc_booke_emulate_mtspr()
379 int kvmppc_booke_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val) in kvmppc_booke_emulate_mfspr()
H A De500_emulate.c204 int kvmppc_core_emulate_mtspr_e500(struct kvm_vcpu *vcpu, int sprn, ulong spr_val) in kvmppc_core_emulate_mtspr_e500()
321 int kvmppc_core_emulate_mfspr_e500(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val) in kvmppc_core_emulate_mfspr_e500()
H A Dbook3s_emulate.c653 static struct kvmppc_bat *kvmppc_find_bat(struct kvm_vcpu *vcpu, int sprn) in kvmppc_find_bat()
678 int kvmppc_core_emulate_mtspr_pr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val) in kvmppc_core_emulate_mtspr_pr()
864 int kvmppc_core_emulate_mfspr_pr(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val) in kvmppc_core_emulate_mfspr_pr()
H A Dbook3s_hv.c5866 static int kvmppc_core_emulate_mtspr_hv(struct kvm_vcpu *vcpu, int sprn, in kvmppc_core_emulate_mtspr_hv()
5872 static int kvmppc_core_emulate_mfspr_hv(struct kvm_vcpu *vcpu, int sprn, in kvmppc_core_emulate_mfspr_hv()
/linux/arch/powerpc/kernel/
H A Dkvm.c47 #define KVM_INST_SPR(sprn, moveto) (0x7c0002a6 | \ argument
52 #define KVM_INST_MFSPR(sprn) KVM_INST_SPR(sprn, SPR_FROM) argument
53 #define KVM_INST_MTSPR(sprn) KVM_INST_SPR(sprn, SPR_TO) argument
/linux/drivers/cpufreq/
H A Dpowernv-cpufreq.c437 static inline unsigned long get_pmspr(unsigned long sprn) in get_pmspr()
452 static inline void set_pmspr(unsigned long sprn, unsigned long val) in set_pmspr()