Searched refs:hha_pmu (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/perf/hisilicon/ |
D | hisi_uncore_hha_pmu.c | 53 static u64 hisi_hha_pmu_read_counter(struct hisi_pmu *hha_pmu, in hisi_hha_pmu_read_counter() argument 58 if (!hisi_uncore_pmu_counter_valid(hha_pmu, idx)) { in hisi_hha_pmu_read_counter() 59 dev_err(hha_pmu->dev, "Unsupported event index:%d!\n", idx); in hisi_hha_pmu_read_counter() 64 return readq(hha_pmu->base + hisi_hha_pmu_get_counter_offset(idx)); in hisi_hha_pmu_read_counter() 67 static void hisi_hha_pmu_write_counter(struct hisi_pmu *hha_pmu, in hisi_hha_pmu_write_counter() argument 72 if (!hisi_uncore_pmu_counter_valid(hha_pmu, idx)) { in hisi_hha_pmu_write_counter() 73 dev_err(hha_pmu->dev, "Unsupported event index:%d!\n", idx); in hisi_hha_pmu_write_counter() 78 writeq(val, hha_pmu->base + hisi_hha_pmu_get_counter_offset(idx)); in hisi_hha_pmu_write_counter() 81 static void hisi_hha_pmu_write_evtype(struct hisi_pmu *hha_pmu, int idx, in hisi_hha_pmu_write_evtype() argument 98 val = readl(hha_pmu->base + reg); in hisi_hha_pmu_write_evtype() [all …]
|
D | hisi_uncore_ddrc_pmu.c | 99 static void hisi_ddrc_pmu_write_evtype(struct hisi_pmu *hha_pmu, int idx, in hisi_ddrc_pmu_write_evtype() argument
|