Searched refs:riscv_pmu (Results 1 – 7 of 7) 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 …]
541 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_get_idx()600 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_clear_idx()656 static void pmu_sbi_snapshot_free(struct riscv_pmu *pmu) in pmu_sbi_snapshot_free()672 static int pmu_sbi_snapshot_alloc(struct riscv_pmu *pmu) in pmu_sbi_snapshot_alloc()706 static int pmu_sbi_snapshot_setup(struct riscv_pmu *pmu, int cpu) in pmu_sbi_snapshot_setup()745 struct riscv_pmu *pmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_read()826 struct riscv_pmu *pmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_stop()900 static inline void pmu_sbi_stop_all(struct riscv_pmu *pmu) in pmu_sbi_stop_all()910 static inline void pmu_sbi_stop_hw_ctrs(struct riscv_pmu *pmu) in pmu_sbi_stop_hw_ctrs()1030 static void pmu_sbi_start_overflow_mask(struct riscv_pmu *pmu, in pmu_sbi_start_overflow_mask()[all …]
110 static void pmu_legacy_init(struct riscv_pmu *pmu) in pmu_legacy_init()134 struct riscv_pmu *pmu = NULL; in pmu_legacy_device_probe()
20 obj-$(CONFIG_RISCV_PMU) += riscv_pmu.o
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);
283 struct riscv_pmu *rpmu = to_riscv_pmu(perf_event->pmu); in kvm_riscv_pmu_overflow()
22804 F: drivers/perf/riscv_pmu.c