sm8250-common: power: Rebase on LA.UM.8.12.r1-11900-sm8250.0
This commit is contained in:
parent
54b02a5e52
commit
e032e7cc78
24 changed files with 803 additions and 1053 deletions
|
|
@ -30,19 +30,19 @@
|
|||
#ifndef __POWERHINTPARSER__
|
||||
#define __POWERHINTPARSER__
|
||||
|
||||
#define POWERHINT_XML "/vendor/etc/powerhint.xml"
|
||||
#define POWERHINT_XML "/vendor/etc/powerhint.xml"
|
||||
#define MAX_HINT 6
|
||||
#define MAX_PARAM 30
|
||||
|
||||
typedef struct perflock_param_t {
|
||||
int type;
|
||||
int numParams;
|
||||
int paramList[MAX_PARAM]; // static limit on number of hints - 15
|
||||
} perflock_param_t;
|
||||
int paramList[MAX_PARAM];//static limit on number of hints - 15
|
||||
}perflock_param_t;
|
||||
|
||||
static perflock_param_t powerhint[MAX_HINT];
|
||||
|
||||
int parsePowerhintXML();
|
||||
int* getPowerhint(int, int*);
|
||||
int *getPowerhint(int, int*);
|
||||
|
||||
#endif /* __POWERHINTPARSER__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue