diff options
author | Drew Richardson <drew.richardson@arm.com> | 2012-12-14 12:00:00 -0800 |
---|---|---|
committer | Drew Richardson <drew.richardson@arm.com> | 2014-12-19 15:33:02 -0800 |
commit | a01058e248133bb7c1ba0238ab380e4fac924e97 (patch) | |
tree | 8fc08c126fcb711fc9a2011eb6314c68d429b800 /driver/gator_events_mali_common.h | |
parent | b04e8aefeed42f23955e88c7aa1611e49bdf5909 (diff) |
gator: Version 5.135.13
Signed-off-by: Drew Richardson <drew.richardson@arm.com>
Diffstat (limited to 'driver/gator_events_mali_common.h')
-rw-r--r-- | driver/gator_events_mali_common.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/driver/gator_events_mali_common.h b/driver/gator_events_mali_common.h index 2c9457f..8e33edf 100644 --- a/driver/gator_events_mali_common.h +++ b/driver/gator_events_mali_common.h @@ -35,8 +35,8 @@ * Runtime state information for a counter. */ typedef struct { - unsigned long key; /* 'key' (a unique id set by gatord and returned by gator.ko) */ - unsigned long enabled; /* counter enable state */ + unsigned long key; /* 'key' (a unique id set by gatord and returned by gator.ko) */ + unsigned long enabled; /* counter enable state */ } mali_counter; /* @@ -45,7 +45,7 @@ typedef struct { typedef void mali_profiling_set_event_type(unsigned int, unsigned int); typedef void mali_osk_fb_control_set_type(unsigned int, unsigned int); typedef void mali_profiling_control_type(unsigned int, unsigned int); -typedef void mali_profiling_get_counters_type(unsigned int*, unsigned int*, unsigned int*, unsigned int*); +typedef void mali_profiling_get_counters_type(unsigned int *, unsigned int *, unsigned int *, unsigned int *); /* * Driver entry points for functions called directly by gator. @@ -53,14 +53,14 @@ typedef void mali_profiling_get_counters_type(unsigned int*, unsigned int*, unsi extern void _mali_profiling_set_event(unsigned int, unsigned int); extern void _mali_osk_fb_control_set(unsigned int, unsigned int); extern void _mali_profiling_control(unsigned int, unsigned int); -extern void _mali_profiling_get_counters(unsigned int*, unsigned int*, unsigned int*, unsigned int*); +extern void _mali_profiling_get_counters(unsigned int *, unsigned int *, unsigned int *, unsigned int *); /** * Returns a name which identifies the GPU type (eg Mali-400, Mali-T6xx). * * @return The name as a constant string. */ -extern const char* gator_mali_get_mali_name(void); +extern const char *gator_mali_get_mali_name(void); /** * Creates a filesystem entry under /dev/gator relating to the specified event name and key, and @@ -75,10 +75,10 @@ extern const char* gator_mali_get_mali_name(void); * * @return 0 if entry point was created, non-zero if not. */ -extern int gator_mali_create_file_system(const char* mali_name, const char* event_name, struct super_block *sb, struct dentry *root, mali_counter *counter); +extern int gator_mali_create_file_system(const char *mali_name, const char *event_name, struct super_block *sb, struct dentry *root, mali_counter *counter); /** - * Initialises the counter array. + * Initializes the counter array. * * @param keys The array of counters * @param n_counters The number of entries in each of the arrays. |