xgene_pmu_dev
struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu);
u64 (*read_counter)(struct xgene_pmu_dev *pmu, int idx);
struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu);
void (*write_counter)(struct xgene_pmu_dev *pmu, int idx, u64 val);
void (*write_evttype)(struct xgene_pmu_dev *pmu_dev, int idx, u32 val);
struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu);
void (*write_agentmsk)(struct xgene_pmu_dev *pmu_dev, u32 val);
static int xgene_init_perf(struct xgene_pmu_dev *pmu_dev, char *name)
void (*write_agent1msk)(struct xgene_pmu_dev *pmu_dev, u32 val);
void (*enable_counter)(struct xgene_pmu_dev *pmu_dev, int idx);
void (*disable_counter)(struct xgene_pmu_dev *pmu_dev, int idx);
void (*enable_counter_int)(struct xgene_pmu_dev *pmu_dev, int idx);
void (*disable_counter_int)(struct xgene_pmu_dev *pmu_dev, int idx);
struct xgene_pmu_dev *pmu;
void (*reset_counters)(struct xgene_pmu_dev *pmu_dev);
void (*start_counters)(struct xgene_pmu_dev *pmu_dev);
void (*stop_counters)(struct xgene_pmu_dev *pmu_dev);
static void _xgene_pmu_isr(int irq, struct xgene_pmu_dev *pmu_dev)
struct xgene_pmu_dev *pmu_dev;
struct xgene_pmu_dev *pmu_dev = to_pmu_dev(dev_get_drvdata(dev));
static int get_next_avail_cntr(struct xgene_pmu_dev *pmu_dev)
static void clear_avail_cntr(struct xgene_pmu_dev *pmu_dev, int cntr)
static inline u64 xgene_pmu_read_counter32(struct xgene_pmu_dev *pmu_dev,
static inline u64 xgene_pmu_read_counter64(struct xgene_pmu_dev *pmu_dev,
xgene_pmu_write_counter32(struct xgene_pmu_dev *pmu_dev, int idx, u64 val)
xgene_pmu_write_counter64(struct xgene_pmu_dev *pmu_dev, int idx, u64 val)
xgene_pmu_write_evttype(struct xgene_pmu_dev *pmu_dev, int idx, u32 val)
xgene_pmu_write_agentmsk(struct xgene_pmu_dev *pmu_dev, u32 val)
xgene_pmu_v3_write_agentmsk(struct xgene_pmu_dev *pmu_dev, u32 val) { }
#define to_pmu_dev(p) container_of(p, struct xgene_pmu_dev, pmu)
xgene_pmu_write_agent1msk(struct xgene_pmu_dev *pmu_dev, u32 val)
xgene_pmu_v3_write_agent1msk(struct xgene_pmu_dev *pmu_dev, u32 val) { }
xgene_pmu_enable_counter(struct xgene_pmu_dev *pmu_dev, int idx)
xgene_pmu_disable_counter(struct xgene_pmu_dev *pmu_dev, int idx)
xgene_pmu_enable_counter_int(struct xgene_pmu_dev *pmu_dev, int idx)
xgene_pmu_disable_counter_int(struct xgene_pmu_dev *pmu_dev, int idx)
static inline void xgene_pmu_reset_counters(struct xgene_pmu_dev *pmu_dev)
static inline void xgene_pmu_start_counters(struct xgene_pmu_dev *pmu_dev)
static inline void xgene_pmu_stop_counters(struct xgene_pmu_dev *pmu_dev)
struct xgene_pmu_dev *pmu_dev = to_pmu_dev(pmu);
struct xgene_pmu_dev *pmu_dev = to_pmu_dev(pmu);
struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu);
struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu);
struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu);
struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu);
struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu);