blob: 9bc7039a03f4c721946fe5a0037a57c1103b0d70 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* cpupower.h
*
* Copyright (c) 2011 Vincent Guittot <vincent.guittot@linaro.org>
*
* This file is released under the GPLv2
*
*/
#ifndef _CPUPOWER_H_
#define _CPUPOWER_H_
#define ARM_DEFAULT_SCALE 0
#define ARM_POWER_SCALE 1
struct cputopo_power {
int max; /* max idx in the table */
unsigned int step; /* frequency step for the table */
unsigned int *table; /* table of cpu_power */
};
#endif
|