Home
last modified time | relevance | path

Searched refs:SPR_POWER_PMC1 (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/target/ppc/
H A Dpower8-pmu.c27 if (sprn == SPR_POWER_PMC1) { in pmc_has_overflow_enabled()
145 tmp = env->spr[SPR_POWER_PMC1]; in pmu_increment_insns()
151 env->spr[SPR_POWER_PMC1] = tmp; in pmu_increment_insns()
207 for (sprn = SPR_POWER_PMC1; sprn <= SPR_POWER_PMC6; sprn++) { in pmu_update_cycles()
208 if (cyc_cnt & (1 << (sprn - SPR_POWER_PMC1 + 1))) { in pmu_update_cycles()
227 return env->pmu_cyc_overflow_timers[sprn - SPR_POWER_PMC1]; in get_cyc_overflow_timer()
243 if (!(env->pmc_cyc_cnt & (1 << (sprn - SPR_POWER_PMC1 + 1))) || in pmc_update_overflow_timer()
271 for (sprn = SPR_POWER_PMC1; sprn <= SPR_POWER_PMC6; sprn++) { in pmu_update_overflow_timers()
281 for (sprn = SPR_POWER_PMC1; sprn <= SPR_POWER_PMC6; sprn++) { in pmu_delete_timers()
393 for (sprn = SPR_POWER_PMC1; sprn <= SPR_POWER_PMC6; sprn++) { in cpu_ppc_pmu_init()
[all …]
H A Dcpu.h2042 #define SPR_POWER_PMC1 (0X313) macro
H A Dcpu_init.c5197 spr_register_kvm(env, SPR_POWER_PMC1, "PMC1", in register_book3s_pmu_sup_sprs()
/openbmc/qemu/hw/ppc/
H A Dspapr_nested.c200 save->pmc1 = env->spr[SPR_POWER_PMC1]; in nested_save_state()
299 env->spr[SPR_POWER_PMC1] = load->pmc1; in nested_load_state()