Lines Matching refs:coresight_device
177 struct coresight_device *child_dev;
189 struct coresight_device *orig;
191 struct coresight_device *target;
223 struct coresight_device { struct
236 struct coresight_device *def_sink; argument
238 struct coresight_device *ect_dev; argument
272 #define to_coresight_device(d) container_of(d, struct coresight_device, dev)
290 int (*enable)(struct coresight_device *csdev, u32 mode, void *data);
291 int (*disable)(struct coresight_device *csdev);
292 void *(*alloc_buffer)(struct coresight_device *csdev,
296 unsigned long (*update_buffer)(struct coresight_device *csdev,
308 int (*enable)(struct coresight_device *csdev, int iport, int oport);
309 void (*disable)(struct coresight_device *csdev, int iport, int oport);
323 int (*cpu_id)(struct coresight_device *csdev);
324 int (*trace_id)(struct coresight_device *csdev);
325 int (*enable)(struct coresight_device *csdev,
327 void (*disable)(struct coresight_device *csdev,
341 int (*enable)(struct coresight_device *csdev, void *data);
342 int (*disable)(struct coresight_device *csdev, void *data);
352 int (*enable)(struct coresight_device *csdev);
353 int (*disable)(struct coresight_device *csdev);
463 static inline bool coresight_is_percpu_source(struct coresight_device *csdev) in coresight_is_percpu_source()
469 static inline bool coresight_is_percpu_sink(struct coresight_device *csdev) in coresight_is_percpu_sink()
475 extern struct coresight_device *
477 extern void coresight_unregister(struct coresight_device *csdev);
478 extern int coresight_enable(struct coresight_device *csdev);
479 extern void coresight_disable(struct coresight_device *csdev);
483 extern int coresight_claim_device(struct coresight_device *csdev);
484 extern int coresight_claim_device_unlocked(struct coresight_device *csdev);
486 extern void coresight_disclaim_device(struct coresight_device *csdev);
487 extern void coresight_disclaim_device_unlocked(struct coresight_device *csdev);
493 u32 coresight_relaxed_read32(struct coresight_device *csdev, u32 offset);
494 u32 coresight_read32(struct coresight_device *csdev, u32 offset);
495 void coresight_write32(struct coresight_device *csdev, u32 val, u32 offset);
496 void coresight_relaxed_write32(struct coresight_device *csdev,
498 u64 coresight_relaxed_read64(struct coresight_device *csdev, u32 offset);
499 u64 coresight_read64(struct coresight_device *csdev, u32 offset);
500 void coresight_relaxed_write64(struct coresight_device *csdev,
502 void coresight_write64(struct coresight_device *csdev, u64 val, u32 offset);
505 static inline struct coresight_device *
507 static inline void coresight_unregister(struct coresight_device *csdev) {} in coresight_unregister()
509 coresight_enable(struct coresight_device *csdev) { return -ENOSYS; } in coresight_enable()
510 static inline void coresight_disable(struct coresight_device *csdev) {} in coresight_disable()
518 static inline int coresight_claim_device_unlocked(struct coresight_device *csdev) in coresight_claim_device_unlocked()
523 static inline int coresight_claim_device(struct coresight_device *csdev) in coresight_claim_device()
528 static inline void coresight_disclaim_device(struct coresight_device *csdev) {} in coresight_disclaim_device()
529 static inline void coresight_disclaim_device_unlocked(struct coresight_device *csdev) {} in coresight_disclaim_device_unlocked()
536 static inline u32 coresight_relaxed_read32(struct coresight_device *csdev, u32 offset) in coresight_relaxed_read32()
542 static inline u32 coresight_read32(struct coresight_device *csdev, u32 offset) in coresight_read32()
548 static inline void coresight_write32(struct coresight_device *csdev, u32 val, u32 offset) in coresight_write32()
552 static inline void coresight_relaxed_write32(struct coresight_device *csdev, in coresight_relaxed_write32()
557 static inline u64 coresight_relaxed_read64(struct coresight_device *csdev, in coresight_relaxed_read64()
564 static inline u64 coresight_read64(struct coresight_device *csdev, u32 offset) in coresight_read64()
570 static inline void coresight_relaxed_write64(struct coresight_device *csdev, in coresight_relaxed_write64()
575 static inline void coresight_write64(struct coresight_device *csdev, u64 val, u32 offset) in coresight_write64()