Lines Matching refs:coresight_device
182 struct coresight_device *child_dev;
194 struct coresight_device *orig;
196 struct coresight_device *target;
228 struct coresight_device { struct
241 struct coresight_device *def_sink; argument
243 struct coresight_device *ect_dev; argument
277 #define to_coresight_device(d) container_of(d, struct coresight_device, dev)
295 int (*enable)(struct coresight_device *csdev, u32 mode, void *data);
296 int (*disable)(struct coresight_device *csdev);
297 void *(*alloc_buffer)(struct coresight_device *csdev,
301 unsigned long (*update_buffer)(struct coresight_device *csdev,
313 int (*enable)(struct coresight_device *csdev, int iport, int oport);
314 void (*disable)(struct coresight_device *csdev, int iport, int oport);
328 int (*cpu_id)(struct coresight_device *csdev);
329 int (*trace_id)(struct coresight_device *csdev);
330 int (*enable)(struct coresight_device *csdev,
332 void (*disable)(struct coresight_device *csdev,
346 int (*enable)(struct coresight_device *csdev, void *data);
347 int (*disable)(struct coresight_device *csdev, void *data);
357 int (*enable)(struct coresight_device *csdev);
358 int (*disable)(struct coresight_device *csdev);
468 static inline bool coresight_is_percpu_source(struct coresight_device *csdev) in coresight_is_percpu_source()
474 static inline bool coresight_is_percpu_sink(struct coresight_device *csdev) in coresight_is_percpu_sink()
480 extern struct coresight_device *
482 extern void coresight_unregister(struct coresight_device *csdev);
483 extern int coresight_enable(struct coresight_device *csdev);
484 extern void coresight_disable(struct coresight_device *csdev);
488 extern int coresight_claim_device(struct coresight_device *csdev);
489 extern int coresight_claim_device_unlocked(struct coresight_device *csdev);
491 extern void coresight_disclaim_device(struct coresight_device *csdev);
492 extern void coresight_disclaim_device_unlocked(struct coresight_device *csdev);
498 u32 coresight_relaxed_read32(struct coresight_device *csdev, u32 offset);
499 u32 coresight_read32(struct coresight_device *csdev, u32 offset);
500 void coresight_write32(struct coresight_device *csdev, u32 val, u32 offset);
501 void coresight_relaxed_write32(struct coresight_device *csdev,
503 u64 coresight_relaxed_read64(struct coresight_device *csdev, u32 offset);
504 u64 coresight_read64(struct coresight_device *csdev, u32 offset);
505 void coresight_relaxed_write64(struct coresight_device *csdev,
507 void coresight_write64(struct coresight_device *csdev, u64 val, u32 offset);
510 static inline struct coresight_device *
512 static inline void coresight_unregister(struct coresight_device *csdev) {} in coresight_unregister()
514 coresight_enable(struct coresight_device *csdev) { return -ENOSYS; } in coresight_enable()
515 static inline void coresight_disable(struct coresight_device *csdev) {} in coresight_disable()
523 static inline int coresight_claim_device_unlocked(struct coresight_device *csdev) in coresight_claim_device_unlocked()
528 static inline int coresight_claim_device(struct coresight_device *csdev) in coresight_claim_device()
533 static inline void coresight_disclaim_device(struct coresight_device *csdev) {} in coresight_disclaim_device()
534 static inline void coresight_disclaim_device_unlocked(struct coresight_device *csdev) {} in coresight_disclaim_device_unlocked()
541 static inline u32 coresight_relaxed_read32(struct coresight_device *csdev, u32 offset) in coresight_relaxed_read32()
547 static inline u32 coresight_read32(struct coresight_device *csdev, u32 offset) in coresight_read32()
553 static inline void coresight_write32(struct coresight_device *csdev, u32 val, u32 offset) in coresight_write32()
557 static inline void coresight_relaxed_write32(struct coresight_device *csdev, in coresight_relaxed_write32()
562 static inline u64 coresight_relaxed_read64(struct coresight_device *csdev, in coresight_relaxed_read64()
569 static inline u64 coresight_read64(struct coresight_device *csdev, u32 offset) in coresight_read64()
575 static inline void coresight_relaxed_write64(struct coresight_device *csdev, in coresight_relaxed_write64()
580 static inline void coresight_write64(struct coresight_device *csdev, u64 val, u32 offset) in coresight_write64()