Home
last modified time | relevance | path

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

/openbmc/qemu/target/riscv/
H A Dpmu.c585 if (cpu->cfg.pmu_mask & (COUNTEREN_CY | COUNTEREN_TM | COUNTEREN_IR)) { in riscv_pmu_init()
H A Dcpu_bits.h612 #define COUNTEREN_CY (1 << 0) macro
H A Dcsr.c2216 uint32_t present_ctrs = cpu->pmu_avail_ctrs | COUNTEREN_CY | COUNTEREN_IR; in write_mcountinhibit()
2290 env->mcounteren = val & (cpu->pmu_avail_ctrs | COUNTEREN_CY | COUNTEREN_TM | in write_mcounteren()
3184 env->scounteren = val & (cpu->pmu_avail_ctrs | COUNTEREN_CY | COUNTEREN_TM | in write_scounteren()
3847 env->hcounteren = val & (cpu->pmu_avail_ctrs | COUNTEREN_CY | COUNTEREN_TM | in write_hcounteren()