Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cpuidle.h File Reference
#include <linux/percpu.h>
#include <linux/list.h>
#include <linux/kobject.h>
#include <linux/completion.h>
#include <linux/hrtimer.h>

Go to the source code of this file.

Data Structures

struct  cpuidle_state_usage
 
struct  cpuidle_state
 
struct  cpuidle_state_kobj
 
struct  cpuidle_device
 
struct  cpuidle_driver
 
struct  cpuidle_governor
 

Macros

#define CPUIDLE_STATE_MAX   8
 
#define CPUIDLE_NAME_LEN   16
 
#define CPUIDLE_DESC_LEN   32
 
#define CPUIDLE_FLAG_TIME_VALID   (0x01) /* is residency time measurable? */
 
#define CPUIDLE_FLAG_COUPLED   (0x02) /* state applies to multiple cpus */
 
#define CPUIDLE_DRIVER_FLAGS_MASK   (0xFFFF0000)
 
#define CPUIDLE_DRIVER_STATE_START   0
 

Functions

 DECLARE_PER_CPU (struct cpuidle_device *, cpuidle_devices)
 

Macro Definition Documentation

#define CPUIDLE_DESC_LEN   32

Definition at line 22 of file cpuidle.h.

#define CPUIDLE_DRIVER_FLAGS_MASK   (0xFFFF0000)

Definition at line 63 of file cpuidle.h.

#define CPUIDLE_DRIVER_STATE_START   0

Definition at line 240 of file cpuidle.h.

#define CPUIDLE_FLAG_COUPLED   (0x02) /* state applies to multiple cpus */

Definition at line 61 of file cpuidle.h.

#define CPUIDLE_FLAG_TIME_VALID   (0x01) /* is residency time measurable? */

Definition at line 60 of file cpuidle.h.

#define CPUIDLE_NAME_LEN   16

Definition at line 21 of file cpuidle.h.

#define CPUIDLE_STATE_MAX   8

Definition at line 20 of file cpuidle.h.

Function Documentation

DECLARE_PER_CPU ( struct cpuidle_device ,
cpuidle_devices   
)