Searched refs:mhpmcounter_val (Results 1 – 4 of 4) sorted by relevance
126 if (counter->mhpmcounter_val == max_val) { in riscv_pmu_incr_ctr_rv32()128 counter->mhpmcounter_val = 0; in riscv_pmu_incr_ctr_rv32()139 counter->mhpmcounter_val++; in riscv_pmu_incr_ctr_rv32()167 if (counter->mhpmcounter_val == max_val) { in riscv_pmu_incr_ctr_rv64()168 counter->mhpmcounter_val = 0; in riscv_pmu_incr_ctr_rv64()175 counter->mhpmcounter_val++; in riscv_pmu_incr_ctr_rv64()496 ctr_val = counter->mhpmcounter_val; in pmu_timer_trigger_irq()
327 VMSTATE_UINTTL(mhpmcounter_val, PMUCTRState),
177 target_ulong mhpmcounter_val; member
1114 counter->mhpmcounter_val = val; in write_mhpmcounter()1140 uint64_t mhpmctr_val = counter->mhpmcounter_val; in write_mhpmcounterh()1167 counter->mhpmcounter_val; in riscv_pmu_read_ctr()2242 mhpmctr_val = counter->mhpmcounter_val; in write_mcountinhibit()2252 mhpmctr_val = counter->mhpmcounter_val; in write_mcountinhibit()2267 counter->mhpmcounter_val = mhpmctr_val; in write_mcountinhibit()