Lines Matching defs:pmu_dev

141 	struct xgene_pmu_dev *pmu_dev;  member
610 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(dev_get_drvdata(dev)); in xgene_pmu_cpumask_show() local
695 static int get_next_avail_cntr(struct xgene_pmu_dev *pmu_dev) in get_next_avail_cntr()
708 static void clear_avail_cntr(struct xgene_pmu_dev *pmu_dev, int cntr) in clear_avail_cntr()
734 static inline u64 xgene_pmu_read_counter32(struct xgene_pmu_dev *pmu_dev, in xgene_pmu_read_counter32()
740 static inline u64 xgene_pmu_read_counter64(struct xgene_pmu_dev *pmu_dev, in xgene_pmu_read_counter64()
760 xgene_pmu_write_counter32(struct xgene_pmu_dev *pmu_dev, int idx, u64 val) in xgene_pmu_write_counter32()
766 xgene_pmu_write_counter64(struct xgene_pmu_dev *pmu_dev, int idx, u64 val) in xgene_pmu_write_counter64()
779 xgene_pmu_write_evttype(struct xgene_pmu_dev *pmu_dev, int idx, u32 val) in xgene_pmu_write_evttype()
785 xgene_pmu_write_agentmsk(struct xgene_pmu_dev *pmu_dev, u32 val) in xgene_pmu_write_agentmsk()
791 xgene_pmu_v3_write_agentmsk(struct xgene_pmu_dev *pmu_dev, u32 val) { } in xgene_pmu_v3_write_agentmsk()
794 xgene_pmu_write_agent1msk(struct xgene_pmu_dev *pmu_dev, u32 val) in xgene_pmu_write_agent1msk()
800 xgene_pmu_v3_write_agent1msk(struct xgene_pmu_dev *pmu_dev, u32 val) { } in xgene_pmu_v3_write_agent1msk()
803 xgene_pmu_enable_counter(struct xgene_pmu_dev *pmu_dev, int idx) in xgene_pmu_enable_counter()
813 xgene_pmu_disable_counter(struct xgene_pmu_dev *pmu_dev, int idx) in xgene_pmu_disable_counter()
823 xgene_pmu_enable_counter_int(struct xgene_pmu_dev *pmu_dev, int idx) in xgene_pmu_enable_counter_int()
833 xgene_pmu_disable_counter_int(struct xgene_pmu_dev *pmu_dev, int idx) in xgene_pmu_disable_counter_int()
842 static inline void xgene_pmu_reset_counters(struct xgene_pmu_dev *pmu_dev) in xgene_pmu_reset_counters()
851 static inline void xgene_pmu_start_counters(struct xgene_pmu_dev *pmu_dev) in xgene_pmu_start_counters()
860 static inline void xgene_pmu_stop_counters(struct xgene_pmu_dev *pmu_dev) in xgene_pmu_stop_counters()
871 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(pmu); in xgene_perf_pmu_enable() local
884 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(pmu); in xgene_perf_pmu_disable() local
892 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_event_init() local
949 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_enable_event() local
965 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_disable_event() local
974 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_event_set_period() local
992 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_event_update() local
1017 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_start() local
1060 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_add() local
1081 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_del() local
1093 static int xgene_init_perf(struct xgene_pmu_dev *pmu_dev, char *name) in xgene_init_perf()
1192 static void _xgene_pmu_isr(int irq, struct xgene_pmu_dev *pmu_dev) in _xgene_pmu_isr()