Searched refs:to_riscv_pmu (Results 1 – 3 of 3) sorted by relevance
49 userpg->pmc_width = to_riscv_pmu(event->pmu)->ctr_get_width(event->hw.idx) + 1; in arch_perf_update_userpage()150 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_ctr_get_width_mask()164 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_event_update()192 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_stop()247 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_start()263 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_add()287 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_del()311 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_event_init()359 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_event_idx()372 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in riscv_pmu_event_mapped()[all …]
344 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_get_idx()403 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_clear_idx()701 pmu = to_riscv_pmu(event->pmu); in pmu_sbi_ovf_handler()
68 #define to_riscv_pmu(p) (container_of(p, struct riscv_pmu, pmu)) macro