Lines Matching refs:coresight_device

204 	struct coresight_device *dest_dev;
206 struct coresight_device *src_dev;
208 struct coresight_device *filter_src_dev;
221 struct coresight_device *orig;
223 struct coresight_device *target;
284 struct coresight_device { struct
297 struct coresight_device *def_sink; argument
331 #define to_coresight_device(d) container_of(d, struct coresight_device, dev)
367 int (*enable)(struct coresight_device *csdev, enum cs_mode mode,
369 int (*disable)(struct coresight_device *csdev);
370 void *(*alloc_buffer)(struct coresight_device *csdev,
374 unsigned long (*update_buffer)(struct coresight_device *csdev,
386 int (*enable)(struct coresight_device *csdev,
389 void (*disable)(struct coresight_device *csdev,
403 int (*cpu_id)(struct coresight_device *csdev);
404 int (*enable)(struct coresight_device *csdev, struct perf_event *event,
406 void (*disable)(struct coresight_device *csdev,
420 int (*enable)(struct coresight_device *csdev, enum cs_mode mode,
422 int (*disable)(struct coresight_device *csdev, void *data);
432 int (*sync)(struct coresight_device *csdev);
436 int (*trace_id)(struct coresight_device *csdev, enum cs_mode mode,
437 struct coresight_device *sink);
625 static inline bool coresight_is_device_source(struct coresight_device *csdev) in coresight_is_device_source()
630 static inline bool coresight_is_percpu_source(struct coresight_device *csdev) in coresight_is_percpu_source()
636 static inline bool coresight_is_percpu_sink(struct coresight_device *csdev) in coresight_is_percpu_sink()
646 static inline bool coresight_take_mode(struct coresight_device *csdev, in coresight_take_mode()
653 static inline enum cs_mode coresight_get_mode(struct coresight_device *csdev) in coresight_get_mode()
658 static inline void coresight_set_mode(struct coresight_device *csdev, in coresight_set_mode()
674 extern struct coresight_device *
676 extern void coresight_unregister(struct coresight_device *csdev);
677 extern int coresight_enable_sysfs(struct coresight_device *csdev);
678 extern void coresight_disable_sysfs(struct coresight_device *csdev);
686 extern int coresight_claim_device(struct coresight_device *csdev);
687 extern int coresight_claim_device_unlocked(struct coresight_device *csdev);
689 extern void coresight_disclaim_device(struct coresight_device *csdev);
690 extern void coresight_disclaim_device_unlocked(struct coresight_device *csdev);
696 u32 coresight_relaxed_read32(struct coresight_device *csdev, u32 offset);
697 u32 coresight_read32(struct coresight_device *csdev, u32 offset);
698 void coresight_write32(struct coresight_device *csdev, u32 val, u32 offset);
699 void coresight_relaxed_write32(struct coresight_device *csdev,
701 u64 coresight_relaxed_read64(struct coresight_device *csdev, u32 offset);
702 u64 coresight_read64(struct coresight_device *csdev, u32 offset);
703 void coresight_relaxed_write64(struct coresight_device *csdev,
705 void coresight_write64(struct coresight_device *csdev, u64 val, u32 offset);
716 struct coresight_device *
720 struct coresight_device *
730 int coresight_etm_get_trace_id(struct coresight_device *csdev, enum cs_mode mode,
731 struct coresight_device *sink);