Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/perf/
Driscv_pmu.h22 #define RISCV_MAX_COUNTERS 64 macro
35 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);
/Linux-v6.1/drivers/perf/
Driscv_pmu_sbi.c580 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()
Driscv_pmu.c305 for (i = 0; i < RISCV_MAX_COUNTERS; i++) in riscv_pmu_alloc()