xgene_pmu_dev 80 drivers/perf/xgene_pmu.c #define to_pmu_dev(p) container_of(p, struct xgene_pmu_dev, pmu) xgene_pmu_dev 106 drivers/perf/xgene_pmu.c u64 (*read_counter)(struct xgene_pmu_dev *pmu, int idx); xgene_pmu_dev 107 drivers/perf/xgene_pmu.c void (*write_counter)(struct xgene_pmu_dev *pmu, int idx, u64 val); xgene_pmu_dev 108 drivers/perf/xgene_pmu.c void (*write_evttype)(struct xgene_pmu_dev *pmu_dev, int idx, u32 val); xgene_pmu_dev 109 drivers/perf/xgene_pmu.c void (*write_agentmsk)(struct xgene_pmu_dev *pmu_dev, u32 val); xgene_pmu_dev 110 drivers/perf/xgene_pmu.c void (*write_agent1msk)(struct xgene_pmu_dev *pmu_dev, u32 val); xgene_pmu_dev 111 drivers/perf/xgene_pmu.c void (*enable_counter)(struct xgene_pmu_dev *pmu_dev, int idx); xgene_pmu_dev 112 drivers/perf/xgene_pmu.c void (*disable_counter)(struct xgene_pmu_dev *pmu_dev, int idx); xgene_pmu_dev 113 drivers/perf/xgene_pmu.c void (*enable_counter_int)(struct xgene_pmu_dev *pmu_dev, int idx); xgene_pmu_dev 114 drivers/perf/xgene_pmu.c void (*disable_counter_int)(struct xgene_pmu_dev *pmu_dev, int idx); xgene_pmu_dev 115 drivers/perf/xgene_pmu.c void (*reset_counters)(struct xgene_pmu_dev *pmu_dev); xgene_pmu_dev 116 drivers/perf/xgene_pmu.c void (*start_counters)(struct xgene_pmu_dev *pmu_dev); xgene_pmu_dev 117 drivers/perf/xgene_pmu.c void (*stop_counters)(struct xgene_pmu_dev *pmu_dev); xgene_pmu_dev 141 drivers/perf/xgene_pmu.c struct xgene_pmu_dev *pmu_dev; xgene_pmu_dev 610 drivers/perf/xgene_pmu.c struct xgene_pmu_dev *pmu_dev = to_pmu_dev(dev_get_drvdata(dev)); xgene_pmu_dev 695 drivers/perf/xgene_pmu.c static int get_next_avail_cntr(struct xgene_pmu_dev *pmu_dev) xgene_pmu_dev 708 drivers/perf/xgene_pmu.c static void clear_avail_cntr(struct xgene_pmu_dev *pmu_dev, int cntr) xgene_pmu_dev 734 drivers/perf/xgene_pmu.c static inline u64 xgene_pmu_read_counter32(struct xgene_pmu_dev *pmu_dev, xgene_pmu_dev 740 drivers/perf/xgene_pmu.c static inline u64 xgene_pmu_read_counter64(struct xgene_pmu_dev *pmu_dev, xgene_pmu_dev 760 drivers/perf/xgene_pmu.c xgene_pmu_write_counter32(struct xgene_pmu_dev *pmu_dev, int idx, u64 val) xgene_pmu_dev 766 drivers/perf/xgene_pmu.c xgene_pmu_write_counter64(struct xgene_pmu_dev *pmu_dev, int idx, u64 val) xgene_pmu_dev 779 drivers/perf/xgene_pmu.c xgene_pmu_write_evttype(struct xgene_pmu_dev *pmu_dev, int idx, u32 val) xgene_pmu_dev 785 drivers/perf/xgene_pmu.c xgene_pmu_write_agentmsk(struct xgene_pmu_dev *pmu_dev, u32 val) xgene_pmu_dev 791 drivers/perf/xgene_pmu.c xgene_pmu_v3_write_agentmsk(struct xgene_pmu_dev *pmu_dev, u32 val) { } xgene_pmu_dev 794 drivers/perf/xgene_pmu.c xgene_pmu_write_agent1msk(struct xgene_pmu_dev *pmu_dev, u32 val) xgene_pmu_dev 800 drivers/perf/xgene_pmu.c xgene_pmu_v3_write_agent1msk(struct xgene_pmu_dev *pmu_dev, u32 val) { } xgene_pmu_dev 803 drivers/perf/xgene_pmu.c xgene_pmu_enable_counter(struct xgene_pmu_dev *pmu_dev, int idx) xgene_pmu_dev 813 drivers/perf/xgene_pmu.c xgene_pmu_disable_counter(struct xgene_pmu_dev *pmu_dev, int idx) xgene_pmu_dev 823 drivers/perf/xgene_pmu.c xgene_pmu_enable_counter_int(struct xgene_pmu_dev *pmu_dev, int idx) xgene_pmu_dev 833 drivers/perf/xgene_pmu.c xgene_pmu_disable_counter_int(struct xgene_pmu_dev *pmu_dev, int idx) xgene_pmu_dev 842 drivers/perf/xgene_pmu.c static inline void xgene_pmu_reset_counters(struct xgene_pmu_dev *pmu_dev) xgene_pmu_dev 851 drivers/perf/xgene_pmu.c static inline void xgene_pmu_start_counters(struct xgene_pmu_dev *pmu_dev) xgene_pmu_dev 860 drivers/perf/xgene_pmu.c static inline void xgene_pmu_stop_counters(struct xgene_pmu_dev *pmu_dev) xgene_pmu_dev 871 drivers/perf/xgene_pmu.c struct xgene_pmu_dev *pmu_dev = to_pmu_dev(pmu); xgene_pmu_dev 884 drivers/perf/xgene_pmu.c struct xgene_pmu_dev *pmu_dev = to_pmu_dev(pmu); xgene_pmu_dev 892 drivers/perf/xgene_pmu.c struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); xgene_pmu_dev 949 drivers/perf/xgene_pmu.c struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); xgene_pmu_dev 965 drivers/perf/xgene_pmu.c struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); xgene_pmu_dev 974 drivers/perf/xgene_pmu.c struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); xgene_pmu_dev 992 drivers/perf/xgene_pmu.c struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); xgene_pmu_dev 1017 drivers/perf/xgene_pmu.c struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); xgene_pmu_dev 1060 drivers/perf/xgene_pmu.c struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); xgene_pmu_dev 1081 drivers/perf/xgene_pmu.c struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); xgene_pmu_dev 1093 drivers/perf/xgene_pmu.c static int xgene_init_perf(struct xgene_pmu_dev *pmu_dev, char *name) xgene_pmu_dev 1134 drivers/perf/xgene_pmu.c struct xgene_pmu_dev *pmu; xgene_pmu_dev 1192 drivers/perf/xgene_pmu.c static void _xgene_pmu_isr(int irq, struct xgene_pmu_dev *pmu_dev)