Searched refs:RISCV_MAX_COUNTERS (Results 1 – 3 of 3) sorted by relevance
22 #define RISCV_MAX_COUNTERS 64 macro35 struct perf_event *events[RISCV_MAX_COUNTERS];37 DECLARE_BITMAP(used_hw_ctrs, RISCV_MAX_COUNTERS);39 DECLARE_BITMAP(used_fw_ctrs, RISCV_MAX_COUNTERS);
580 fidx = find_first_bit(cpu_hw_evt->used_hw_ctrs, RISCV_MAX_COUNTERS); in pmu_sbi_ovf_handler()605 for_each_set_bit(lidx, cpu_hw_evt->used_hw_ctrs, RISCV_MAX_COUNTERS) { in pmu_sbi_ovf_handler()737 int enabled = bitmap_weight(cpuc->used_hw_ctrs, RISCV_MAX_COUNTERS); in riscv_pm_pmu_notify()744 for (idx = 0; idx < RISCV_MAX_COUNTERS; idx++) { in riscv_pm_pmu_notify()
305 for (i = 0; i < RISCV_MAX_COUNTERS; i++) in riscv_pmu_alloc()