Home
last modified time | relevance | path

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

/openbmc/linux/drivers/perf/hisilicon/
H A Dhisi_pcie_pmu.c25 #define HISI_PCIE_EVENT_CTRL 0x010 macro
259 hisi_pcie_pmu_writeq(pcie_pmu, HISI_PCIE_EVENT_CTRL, hwc->idx, reg); in hisi_pcie_pmu_config_filter()
267 hisi_pcie_pmu_writeq(pcie_pmu, HISI_PCIE_EVENT_CTRL, hwc->idx, HISI_PCIE_INIT_SET); in hisi_pcie_pmu_clear_filter()
472 val = hisi_pcie_pmu_readq(pcie_pmu, HISI_PCIE_EVENT_CTRL, idx); in hisi_pcie_pmu_enable_counter()
474 hisi_pcie_pmu_writeq(pcie_pmu, HISI_PCIE_EVENT_CTRL, idx, val); in hisi_pcie_pmu_enable_counter()
482 val = hisi_pcie_pmu_readq(pcie_pmu, HISI_PCIE_EVENT_CTRL, idx); in hisi_pcie_pmu_disable_counter()
484 hisi_pcie_pmu_writeq(pcie_pmu, HISI_PCIE_EVENT_CTRL, idx, val); in hisi_pcie_pmu_disable_counter()
503 hisi_pcie_pmu_writeq(pcie_pmu, HISI_PCIE_EVENT_CTRL, idx, HISI_PCIE_RESET_CNT); in hisi_pcie_pmu_reset_counter()
504 hisi_pcie_pmu_writeq(pcie_pmu, HISI_PCIE_EVENT_CTRL, idx, HISI_PCIE_INIT_SET); in hisi_pcie_pmu_reset_counter()