Home
last modified time | relevance | path

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

/openbmc/qemu/target/riscv/
H A Dpmu.c83 if (ctr_idx < 3 || ctr_idx >= RV_MAX_MHPMCOUNTERS || in riscv_pmu_counter_valid()
439 if (ctpop32(cpu->cfg.pmu_mask) > (RV_MAX_MHPMCOUNTERS - 3)) { in riscv_pmu_init()
H A Dcpu.h116 #define RV_MAX_MHPMCOUNTERS 32 macro
323 PMUCTRState pmu_ctrs[RV_MAX_MHPMCOUNTERS];
H A Dmachine.c404 VMSTATE_STRUCT_ARRAY(env.pmu_ctrs, RISCVCPU, RV_MAX_MHPMCOUNTERS, 0,
H A Dcpu.c1437 if (pmu_num > (RV_MAX_MHPMCOUNTERS - 3)) { in prop_pmu_num_set()
H A Dcsr.c1925 for (cidx = 0; cidx < RV_MAX_MHPMCOUNTERS; cidx++) { in write_mcountinhibit()