Home
last modified time | relevance | path

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

/openbmc/linux/drivers/perf/hisilicon/
H A Dhisi_pcie_pmu.c58 #define HISI_PCIE_MAX_COUNTERS 8 macro
66 struct perf_event *hw_events[HISI_PCIE_MAX_COUNTERS];
319 struct perf_event *event_group[HISI_PCIE_MAX_COUNTERS]; in hisi_pcie_pmu_validate_event_group()
353 if (num == HISI_PCIE_MAX_COUNTERS) in hisi_pcie_pmu_validate_event_group()
406 for (idx = 0; idx < HISI_PCIE_MAX_COUNTERS; idx++) { in hisi_pcie_pmu_find_related_event()
428 for (idx = 0; idx < HISI_PCIE_MAX_COUNTERS; idx++) { in hisi_pcie_pmu_get_event_idx()
565 if (idx < HISI_PCIE_MAX_COUNTERS) { in hisi_pcie_pmu_add()
601 for (num = 0; num < HISI_PCIE_MAX_COUNTERS; num++) { in hisi_pcie_pmu_enable()
606 if (num == HISI_PCIE_MAX_COUNTERS) in hisi_pcie_pmu_enable()
627 for (idx = 0; idx < HISI_PCIE_MAX_COUNTERS; idx++) { in hisi_pcie_pmu_irq()