Home
last modified time | relevance | path

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

/openbmc/qemu/target/riscv/
H A Dmachine.c327 VMSTATE_UINTTL(mhpmcounter_val, PMUCTRState),
328 VMSTATE_UINTTL(mhpmcounterh_val, PMUCTRState),
329 VMSTATE_UINTTL(mhpmcounter_prev, PMUCTRState),
330 VMSTATE_UINTTL(mhpmcounterh_prev, PMUCTRState),
439 vmstate_pmu_ctr_state, PMUCTRState),
H A Dpmu.c108 PMUCTRState *counter = &env->pmu_ctrs[ctr_idx]; in riscv_pmu_incr_ctr_rv32()
148 PMUCTRState *counter = &env->pmu_ctrs[ctr_idx]; in riscv_pmu_incr_ctr_rv64()
465 PMUCTRState *counter; in pmu_timer_trigger_irq()
537 PMUCTRState *counter = &env->pmu_ctrs[ctr_idx]; in riscv_pmu_setup_timer()
H A Dcpu.h175 typedef struct PMUCTRState { struct
186 } PMUCTRState; argument
397 PMUCTRState pmu_ctrs[RV_MAX_MHPMCOUNTERS];
H A Dcsr.c1111 PMUCTRState *counter = &env->pmu_ctrs[ctr_idx]; in write_mhpmcounter()
1139 PMUCTRState *counter = &env->pmu_ctrs[ctr_idx]; in write_mhpmcounterh()
1163 PMUCTRState *counter = &env->pmu_ctrs[ctr_idx]; in riscv_pmu_read_ctr()
2214 PMUCTRState *counter; in write_mcountinhibit()