Home
last modified time | relevance | path

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

/openbmc/qemu/target/riscv/
H A Dpmu.c467 uint64_t curr_ctr_val, curr_ctrh_val; in pmu_timer_trigger_irq() local
495 riscv_pmu_read_ctr(env, (target_ulong *)&curr_ctr_val, false, ctr_idx); in pmu_timer_trigger_irq()
499 curr_ctr_val = curr_ctr_val | (curr_ctrh_val << 32); in pmu_timer_trigger_irq()
510 if (curr_ctr_val >= ctr_val) { in pmu_timer_trigger_irq()
511 riscv_pmu_setup_timer(env, curr_ctr_val, ctr_idx); in pmu_timer_trigger_irq()