Lines Matching refs:coresight_device

200 	struct coresight_device *dest_dev;
202 struct coresight_device *src_dev;
215 struct coresight_device *orig;
217 struct coresight_device *target;
278 struct coresight_device { struct
291 struct coresight_device *def_sink; argument
325 #define to_coresight_device(d) container_of(d, struct coresight_device, dev)
349 int (*enable)(struct coresight_device *csdev, enum cs_mode mode,
351 int (*disable)(struct coresight_device *csdev);
352 void *(*alloc_buffer)(struct coresight_device *csdev,
356 unsigned long (*update_buffer)(struct coresight_device *csdev,
368 int (*enable)(struct coresight_device *csdev,
371 void (*disable)(struct coresight_device *csdev,
385 int (*cpu_id)(struct coresight_device *csdev);
386 int (*enable)(struct coresight_device *csdev, struct perf_event *event,
388 void (*disable)(struct coresight_device *csdev,
402 int (*enable)(struct coresight_device *csdev, enum cs_mode mode,
404 int (*disable)(struct coresight_device *csdev, void *data);
591 static inline bool coresight_is_percpu_source(struct coresight_device *csdev) in coresight_is_percpu_source()
597 static inline bool coresight_is_percpu_sink(struct coresight_device *csdev) in coresight_is_percpu_sink()
607 static inline bool coresight_take_mode(struct coresight_device *csdev, in coresight_take_mode()
614 static inline enum cs_mode coresight_get_mode(struct coresight_device *csdev) in coresight_get_mode()
619 static inline void coresight_set_mode(struct coresight_device *csdev, in coresight_set_mode()
635 extern struct coresight_device *
637 extern void coresight_unregister(struct coresight_device *csdev);
638 extern int coresight_enable_sysfs(struct coresight_device *csdev);
639 extern void coresight_disable_sysfs(struct coresight_device *csdev);
643 extern int coresight_claim_device(struct coresight_device *csdev);
644 extern int coresight_claim_device_unlocked(struct coresight_device *csdev);
646 extern void coresight_disclaim_device(struct coresight_device *csdev);
647 extern void coresight_disclaim_device_unlocked(struct coresight_device *csdev);
653 u32 coresight_relaxed_read32(struct coresight_device *csdev, u32 offset);
654 u32 coresight_read32(struct coresight_device *csdev, u32 offset);
655 void coresight_write32(struct coresight_device *csdev, u32 val, u32 offset);
656 void coresight_relaxed_write32(struct coresight_device *csdev,
658 u64 coresight_relaxed_read64(struct coresight_device *csdev, u32 offset);
659 u64 coresight_read64(struct coresight_device *csdev, u32 offset);
660 void coresight_relaxed_write64(struct coresight_device *csdev,
662 void coresight_write64(struct coresight_device *csdev, u64 val, u32 offset);
672 struct coresight_device *
676 struct coresight_device *