Searched refs:riscv_pmu (Results 1 – 6 of 6) sorted by relevance
148 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_ctr_get_width_mask()162 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_event_update()190 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_stop()243 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_start()259 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_add()283 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_del()307 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_event_init()355 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_event_idx()368 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_event_mapped()378 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_event_unmapped()[all …]
562 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_get_idx()628 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_clear_idx()684 static void pmu_sbi_snapshot_free(struct riscv_pmu *pmu) in pmu_sbi_snapshot_free()700 static int pmu_sbi_snapshot_alloc(struct riscv_pmu *pmu) in pmu_sbi_snapshot_alloc()734 static int pmu_sbi_snapshot_setup(struct riscv_pmu *pmu, int cpu) in pmu_sbi_snapshot_setup()773 struct riscv_pmu *pmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_read()854 struct riscv_pmu *pmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_stop()928 static inline void pmu_sbi_stop_all(struct riscv_pmu *pmu) in pmu_sbi_stop_all()945 static inline void pmu_sbi_stop_hw_ctrs(struct riscv_pmu *pmu) in pmu_sbi_stop_hw_ctrs()1065 static void pmu_sbi_start_overflow_mask(struct riscv_pmu *pmu, in pmu_sbi_start_overflow_mask()[all …]
109 static void pmu_legacy_init(struct riscv_pmu *pmu) in pmu_legacy_init()134 struct riscv_pmu *pmu = NULL; in pmu_legacy_device_probe()
52 struct riscv_pmu { struct76 #define to_riscv_pmu(p) (container_of(p, struct riscv_pmu, pmu)) argument89 struct riscv_pmu *riscv_pmu_alloc(void);
302 struct riscv_pmu *rpmu = to_riscv_pmu(perf_event->pmu); in kvm_riscv_pmu_overflow()
23559 F: drivers/perf/riscv_pmu.c