diff options
Diffstat (limited to 'include/linux/devfreq-event.h')
-rw-r--r-- | include/linux/devfreq-event.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/devfreq-event.h b/include/linux/devfreq-event.h index 29fc0dd735ae..f14f17f8cb7f 100644 --- a/include/linux/devfreq-event.h +++ b/include/linux/devfreq-event.h | |||
@@ -78,14 +78,20 @@ struct devfreq_event_ops { | |||
78 | * struct devfreq_event_desc - the descriptor of devfreq-event device | 78 | * struct devfreq_event_desc - the descriptor of devfreq-event device |
79 | * | 79 | * |
80 | * @name : the name of devfreq-event device. | 80 | * @name : the name of devfreq-event device. |
81 | * @event_type : the type of the event determined and used by driver | ||
81 | * @driver_data : the private data for devfreq-event driver. | 82 | * @driver_data : the private data for devfreq-event driver. |
82 | * @ops : the operation to control devfreq-event device. | 83 | * @ops : the operation to control devfreq-event device. |
83 | * | 84 | * |
84 | * Each devfreq-event device is described with a this structure. | 85 | * Each devfreq-event device is described with a this structure. |
85 | * This structure contains the various data for devfreq-event device. | 86 | * This structure contains the various data for devfreq-event device. |
87 | * The event_type describes what is going to be counted in the register. | ||
88 | * It might choose to count e.g. read requests, write data in bytes, etc. | ||
89 | * The full supported list of types is present in specyfic header in: | ||
90 | * include/dt-bindings/pmu/. | ||
86 | */ | 91 | */ |
87 | struct devfreq_event_desc { | 92 | struct devfreq_event_desc { |
88 | const char *name; | 93 | const char *name; |
94 | u32 event_type; | ||
89 | void *driver_data; | 95 | void *driver_data; |
90 | 96 | ||
91 | const struct devfreq_event_ops *ops; | 97 | const struct devfreq_event_ops *ops; |