|
@@ -205,12 +205,15 @@ struct coresight_ops_link {
|
|
/**
|
|
/**
|
|
* struct coresight_ops_source - basic operations for a source
|
|
* struct coresight_ops_source - basic operations for a source
|
|
* Operations available for sources.
|
|
* Operations available for sources.
|
|
|
|
+ * @cpu_id: returns the value of the CPU number this component
|
|
|
|
+ * is associated to.
|
|
* @trace_id: returns the value of the component's trace ID as known
|
|
* @trace_id: returns the value of the component's trace ID as known
|
|
to the HW.
|
|
to the HW.
|
|
* @enable: enables tracing for a source.
|
|
* @enable: enables tracing for a source.
|
|
* @disable: disables tracing for a source.
|
|
* @disable: disables tracing for a source.
|
|
*/
|
|
*/
|
|
struct coresight_ops_source {
|
|
struct coresight_ops_source {
|
|
|
|
+ int (*cpu_id)(struct coresight_device *csdev);
|
|
int (*trace_id)(struct coresight_device *csdev);
|
|
int (*trace_id)(struct coresight_device *csdev);
|
|
int (*enable)(struct coresight_device *csdev);
|
|
int (*enable)(struct coresight_device *csdev);
|
|
void (*disable)(struct coresight_device *csdev);
|
|
void (*disable)(struct coresight_device *csdev);
|