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()
161 #define RV_MAX_MHPMCOUNTERS 32 macro380 PMUCTRState pmu_ctrs[RV_MAX_MHPMCOUNTERS];
402 VMSTATE_STRUCT_ARRAY(env.pmu_ctrs, RISCVCPU, RV_MAX_MHPMCOUNTERS, 0,
1654 if (pmu_num > (RV_MAX_MHPMCOUNTERS - 3)) { in prop_pmu_num_set()1703 if (pmu_num > (RV_MAX_MHPMCOUNTERS - 3)) { in prop_pmu_mask_set()
2186 for (cidx = 0; cidx < RV_MAX_MHPMCOUNTERS; cidx++) { in write_mcountinhibit()