Home
last modified time | relevance | path

Searched refs:riscv_pmu_read_ctr (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/target/riscv/
H A Dpmu.h39 RISCVException riscv_pmu_read_ctr(CPURISCVState *env, target_ulong *val,
H A Dpmu.c495 riscv_pmu_read_ctr(env, (target_ulong *)&curr_ctr_val, false, ctr_idx); in pmu_timer_trigger_irq()
498 riscv_pmu_read_ctr(env, (target_ulong *)&curr_ctrh_val, true, ctr_idx); in pmu_timer_trigger_irq()
H A Dcsr.c1128 RISCVException riscv_pmu_read_ctr(CPURISCVState *env, target_ulong *val, in riscv_pmu_read_ctr() function
1174 return riscv_pmu_read_ctr(env, val, false, ctr_index); in read_hpmcounter()
1190 return riscv_pmu_read_ctr(env, val, true, ctr_index); in read_hpmcounterh()