Lines Matching defs:pmu_dev
141 struct xgene_pmu_dev *pmu_dev; member
607 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(dev_get_drvdata(dev)); in cpumask_show() local
692 static int get_next_avail_cntr(struct xgene_pmu_dev *pmu_dev) in get_next_avail_cntr()
705 static void clear_avail_cntr(struct xgene_pmu_dev *pmu_dev, int cntr) in clear_avail_cntr()
731 static inline u64 xgene_pmu_read_counter32(struct xgene_pmu_dev *pmu_dev, in xgene_pmu_read_counter32()
737 static inline u64 xgene_pmu_read_counter64(struct xgene_pmu_dev *pmu_dev, in xgene_pmu_read_counter64()
757 xgene_pmu_write_counter32(struct xgene_pmu_dev *pmu_dev, int idx, u64 val) in xgene_pmu_write_counter32()
763 xgene_pmu_write_counter64(struct xgene_pmu_dev *pmu_dev, int idx, u64 val) in xgene_pmu_write_counter64()
776 xgene_pmu_write_evttype(struct xgene_pmu_dev *pmu_dev, int idx, u32 val) in xgene_pmu_write_evttype()
782 xgene_pmu_write_agentmsk(struct xgene_pmu_dev *pmu_dev, u32 val) in xgene_pmu_write_agentmsk()
788 xgene_pmu_v3_write_agentmsk(struct xgene_pmu_dev *pmu_dev, u32 val) { } in xgene_pmu_v3_write_agentmsk()
791 xgene_pmu_write_agent1msk(struct xgene_pmu_dev *pmu_dev, u32 val) in xgene_pmu_write_agent1msk()
797 xgene_pmu_v3_write_agent1msk(struct xgene_pmu_dev *pmu_dev, u32 val) { } in xgene_pmu_v3_write_agent1msk()
800 xgene_pmu_enable_counter(struct xgene_pmu_dev *pmu_dev, int idx) in xgene_pmu_enable_counter()
810 xgene_pmu_disable_counter(struct xgene_pmu_dev *pmu_dev, int idx) in xgene_pmu_disable_counter()
820 xgene_pmu_enable_counter_int(struct xgene_pmu_dev *pmu_dev, int idx) in xgene_pmu_enable_counter_int()
830 xgene_pmu_disable_counter_int(struct xgene_pmu_dev *pmu_dev, int idx) in xgene_pmu_disable_counter_int()
839 static inline void xgene_pmu_reset_counters(struct xgene_pmu_dev *pmu_dev) in xgene_pmu_reset_counters()
848 static inline void xgene_pmu_start_counters(struct xgene_pmu_dev *pmu_dev) in xgene_pmu_start_counters()
857 static inline void xgene_pmu_stop_counters(struct xgene_pmu_dev *pmu_dev) in xgene_pmu_stop_counters()
868 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(pmu); in xgene_perf_pmu_enable() local
881 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(pmu); in xgene_perf_pmu_disable() local
889 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_event_init() local
946 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_enable_event() local
962 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_disable_event() local
971 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_event_set_period() local
989 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_event_update() local
1014 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_start() local
1057 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_add() local
1078 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_del() local
1090 static int xgene_init_perf(struct xgene_pmu_dev *pmu_dev, char *name) in xgene_init_perf()
1189 static void _xgene_pmu_isr(int irq, struct xgene_pmu_dev *pmu_dev) in _xgene_pmu_isr()