Home
last modified time | relevance | path

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

/linux-6.15/drivers/perf/
H A Driscv_pmu.c193 if (rvpmu->ctr_stop) { in riscv_pmu_stop()
194 rvpmu->ctr_stop(event, 0); in riscv_pmu_stop()
264 idx = rvpmu->ctr_get_idx(event); in riscv_pmu_add()
290 if (rvpmu->ctr_stop) in riscv_pmu_del()
293 if (rvpmu->ctr_clear_idx) in riscv_pmu_del()
294 rvpmu->ctr_clear_idx(event); in riscv_pmu_del()
334 if (rvpmu->event_init) in riscv_pmu_event_init()
335 rvpmu->event_init(event); in riscv_pmu_event_init()
360 if (rvpmu->csr_index) in riscv_pmu_event_idx()
370 if (rvpmu->event_mapped) { in riscv_pmu_event_mapped()
[all …]
H A Driscv_pmu_sbi.c405 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_get_idx() local
406 struct cpu_hw_events *cpuc = this_cpu_ptr(rvpmu->hw_events); in pmu_sbi_ctr_get_idx()
409 uint64_t cbase = 0, cmask = rvpmu->cmask; in pmu_sbi_ctr_get_idx()
445 if (!test_bit(idx, &rvpmu->cmask) || !pmu_ctr_list[idx].value) in pmu_sbi_ctr_get_idx()
464 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_clear_idx() local
465 struct cpu_hw_events *cpuc = this_cpu_ptr(rvpmu->hw_events); in pmu_sbi_ctr_clear_idx()
1155 struct riscv_pmu *rvpmu = container_of(b, struct riscv_pmu, riscv_pm_nb); in riscv_pm_pmu_notify() local
1156 struct cpu_hw_events *cpuc = this_cpu_ptr(rvpmu->hw_events); in riscv_pm_pmu_notify()