Home
last modified time | relevance | path

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

/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.h628 #define COUNTEREN_CY (1 << 0) macro
H A Dcsr.c3003 uint32_t present_ctrs = cpu->pmu_avail_ctrs | COUNTEREN_CY | COUNTEREN_IR; in write_mcountinhibit()
3091 env->mcounteren = val & (cpu->pmu_avail_ctrs | COUNTEREN_CY | COUNTEREN_TM | in write_mcounteren()
4078 env->scounteren = val & (cpu->pmu_avail_ctrs | COUNTEREN_CY | COUNTEREN_TM | in write_scounteren()
4832 env->hcounteren = val & (cpu->pmu_avail_ctrs | COUNTEREN_CY | COUNTEREN_TM | in write_hcounteren()