Lines Matching refs:coresight_device
145 struct coresight_device *child_dev;
165 struct coresight_device { struct
179 #define to_coresight_device(d) container_of(d, struct coresight_device, dev) argument
198 int (*enable)(struct coresight_device *csdev, u32 mode);
199 void (*disable)(struct coresight_device *csdev);
200 void *(*alloc_buffer)(struct coresight_device *csdev, int cpu,
203 int (*set_buffer)(struct coresight_device *csdev,
206 unsigned long (*reset_buffer)(struct coresight_device *csdev,
209 void (*update_buffer)(struct coresight_device *csdev,
221 int (*enable)(struct coresight_device *csdev, int iport, int oport);
222 void (*disable)(struct coresight_device *csdev, int iport, int oport);
236 int (*cpu_id)(struct coresight_device *csdev);
237 int (*trace_id)(struct coresight_device *csdev);
238 int (*enable)(struct coresight_device *csdev,
240 void (*disable)(struct coresight_device *csdev,
254 int (*enable)(struct coresight_device *csdev, void *data);
255 int (*disable)(struct coresight_device *csdev, void *data);
266 extern struct coresight_device *
268 extern void coresight_unregister(struct coresight_device *csdev);
269 extern int coresight_enable(struct coresight_device *csdev);
270 extern void coresight_disable(struct coresight_device *csdev);
274 static inline struct coresight_device *
276 static inline void coresight_unregister(struct coresight_device *csdev) {} in coresight_unregister()
278 coresight_enable(struct coresight_device *csdev) { return -ENOSYS; } in coresight_enable()
279 static inline void coresight_disable(struct coresight_device *csdev) {} in coresight_disable()