Searched refs:RV_MAX_MHPMCOUNTERS (Results 1 – 5 of 5) sorted by relevance
84 if (ctr_idx < 3 || ctr_idx >= RV_MAX_MHPMCOUNTERS || in riscv_pmu_counter_valid()590 if (ctpop32(cpu->cfg.pmu_mask) > (RV_MAX_MHPMCOUNTERS - 3)) { in riscv_pmu_init()
166 #define RV_MAX_MHPMCOUNTERS 32 macro397 PMUCTRState pmu_ctrs[RV_MAX_MHPMCOUNTERS];
438 VMSTATE_STRUCT_ARRAY(env.pmu_ctrs, RISCVCPU, RV_MAX_MHPMCOUNTERS, 0,
1657 if (pmu_num > (RV_MAX_MHPMCOUNTERS - 3)) { in prop_pmu_num_set()1706 if (pmu_num > (RV_MAX_MHPMCOUNTERS - 3)) { in prop_pmu_mask_set()
2224 for (cidx = 0; cidx < RV_MAX_MHPMCOUNTERS; cidx++) { in write_mcountinhibit()