Searched refs:HISI_PCIE_EVENT_CTRL (Results 1 – 1 of 1) sorted by relevance
| /Linux-v6.1/drivers/perf/hisilicon/ |
| D | hisi_pcie_pmu.c | 25 #define HISI_PCIE_EVENT_CTRL 0x010 macro 248 hisi_pcie_pmu_writeq(pcie_pmu, HISI_PCIE_EVENT_CTRL, hwc->idx, reg); in hisi_pcie_pmu_config_filter() 256 hisi_pcie_pmu_writeq(pcie_pmu, HISI_PCIE_EVENT_CTRL, hwc->idx, HISI_PCIE_INIT_SET); in hisi_pcie_pmu_clear_filter() 448 val = hisi_pcie_pmu_readq(pcie_pmu, HISI_PCIE_EVENT_CTRL, idx); in hisi_pcie_pmu_enable_counter() 450 hisi_pcie_pmu_writeq(pcie_pmu, HISI_PCIE_EVENT_CTRL, idx, val); in hisi_pcie_pmu_enable_counter() 458 val = hisi_pcie_pmu_readq(pcie_pmu, HISI_PCIE_EVENT_CTRL, idx); in hisi_pcie_pmu_disable_counter() 460 hisi_pcie_pmu_writeq(pcie_pmu, HISI_PCIE_EVENT_CTRL, idx, val); in hisi_pcie_pmu_disable_counter() 479 hisi_pcie_pmu_writeq(pcie_pmu, HISI_PCIE_EVENT_CTRL, idx, HISI_PCIE_RESET_CNT); in hisi_pcie_pmu_reset_counter() 480 hisi_pcie_pmu_writeq(pcie_pmu, HISI_PCIE_EVENT_CTRL, idx, HISI_PCIE_INIT_SET); in hisi_pcie_pmu_reset_counter()
|