/openbmc/qemu/target/ppc/ |
H A D | power8-pmu.c | 25 static bool pmc_has_overflow_enabled(CPUPPCState *env, int sprn) in pmc_has_overflow_enabled() 205 int sprn, cyc_cnt = env->pmc_cyc_cnt; in pmu_update_cycles() local 225 static QEMUTimer *get_cyc_overflow_timer(CPUPPCState *env, int sprn) in get_cyc_overflow_timer() 230 static void pmc_update_overflow_timer(CPUPPCState *env, int sprn) in pmc_update_overflow_timer() 265 int sprn; in pmu_update_overflow_timers() local 279 int sprn; in pmu_delete_timers() local 318 target_ulong helper_read_pmc(CPUPPCState *env, uint32_t sprn) in helper_read_pmc() 325 void helper_store_pmc(CPUPPCState *env, uint32_t sprn, uint64_t value) in helper_store_pmc() 391 int i, sprn; in cpu_ppc_pmu_init() local
|
H A D | translate.c | 407 void spr_noaccess(DisasContext *ctx, int gprn, int sprn) in spr_noaccess() 421 static void spr_load_dump_spr(int sprn) in spr_load_dump_spr() 429 void spr_read_generic(DisasContext *ctx, int gprn, int sprn) in spr_read_generic() 435 static void spr_store_dump_spr(int sprn) in spr_store_dump_spr() 443 void spr_write_generic(DisasContext *ctx, int sprn, int gprn) in spr_write_generic() 449 void spr_write_generic32(DisasContext *ctx, int sprn, int gprn) in spr_write_generic32() 461 void spr_core_write_generic(DisasContext *ctx, int sprn, int gprn) in spr_core_write_generic() 477 void spr_core_write_generic32(DisasContext *ctx, int sprn, int gprn) in spr_core_write_generic32() 496 void spr_core_lpar_write_generic(DisasContext *ctx, int sprn, int gprn) in spr_core_lpar_write_generic() 505 static void spr_write_CTRL_ST(DisasContext *ctx, int sprn, int gprn) in spr_write_CTRL_ST() [all …]
|
H A D | misc_helper.c | 34 void helper_load_dump_spr(CPUPPCState *env, uint32_t sprn) in helper_load_dump_spr() 40 void helper_store_dump_spr(CPUPPCState *env, uint32_t sprn) in helper_store_dump_spr() 46 void helper_spr_core_write_generic(CPUPPCState *env, uint32_t sprn, in helper_spr_core_write_generic() 63 void helper_spr_write_CTRL(CPUPPCState *env, uint32_t sprn, in helper_spr_write_CTRL() 102 uint32_t sprn, uint32_t cause, in raise_fu_exception() 127 uint32_t sprn, uint32_t cause) in helper_fscr_facility_check() 139 uint32_t sprn, uint32_t cause) in helper_msr_facility_check() 154 uint32_t sprn, uint32_t cause) in helper_mmcr0_facility_check()
|
H A D | internal.h | 130 uint32_t sprn = _SPR(opcode); in SPR() local
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | emulate.c | 75 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 D | booke_emulate.c | 120 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 D | e500_emulate.c | 204 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 D | book3s_emulate.c | 653 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 D | book3s_hv.c | 5607 static int kvmppc_core_emulate_mtspr_hv(struct kvm_vcpu *vcpu, int sprn, in kvmppc_core_emulate_mtspr_hv() 5613 static int kvmppc_core_emulate_mfspr_hv(struct kvm_vcpu *vcpu, int sprn, in kvmppc_core_emulate_mfspr_hv()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | kvm.c | 47 #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
|
/openbmc/linux/drivers/cpufreq/ |
H A D | powernv-cpufreq.c | 437 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()
|