Home
last modified time | relevance | path

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

/openbmc/linux/drivers/perf/hisilicon/
H A Dhisi_uncore_pa_pmu.c151 static u32 hisi_pa_pmu_get_counter_offset(int idx) in hisi_pa_pmu_get_counter_offset() function
159 return readq(pa_pmu->base + hisi_pa_pmu_get_counter_offset(hwc->idx)); in hisi_pa_pmu_read_counter()
165 writeq(val, pa_pmu->base + hisi_pa_pmu_get_counter_offset(hwc->idx)); in hisi_pa_pmu_write_counter()