Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/cpuidle.h>
#include <linux/clockchips.h>
#include <linux/hrtimer.h>
#include <trace/events/power.h>
#include <linux/sched.h>
#include <linux/notifier.h>
#include <linux/cpu.h>
#include <linux/module.h>
#include <asm/cpu_device_id.h>
#include <asm/mwait.h>
#include <asm/msr.h>
Go to the source code of this file.
Data Structures | |
struct | idle_cpu |
Macros | |
#define | DEBUG |
#define | INTEL_IDLE_VERSION "0.4" |
#define | PREFIX "intel_idle: " |
#define | LAPIC_TIMER_ALWAYS_RELIABLE 0xFFFFFFFF |
#define | CPUIDLE_FLAG_TLB_FLUSHED 0x10000 |
#define | ICPU(model, cpu) { X86_VENDOR_INTEL, 6, model, X86_FEATURE_MWAIT, (unsigned long)&cpu } |
Functions | |
MODULE_DEVICE_TABLE (x86cpu, intel_idle_ids) | |
module_init (intel_idle_init) | |
module_exit (intel_idle_exit) | |
module_param (max_cstate, int, 0444) | |
MODULE_AUTHOR ("Len Brown <[email protected]>") | |
MODULE_DESCRIPTION ("Cpuidle driver for Intel Hardware v"INTEL_IDLE_VERSION) | |
MODULE_LICENSE ("GPL") | |
#define CPUIDLE_FLAG_TLB_FLUSHED 0x10000 |
Definition at line 109 of file intel_idle.c.
#define DEBUG |
Definition at line 54 of file intel_idle.c.
#define ICPU | ( | model, | |
cpu | |||
) | { X86_VENDOR_INTEL, 6, model, X86_FEATURE_MWAIT, (unsigned long)&cpu } |
Definition at line 400 of file intel_idle.c.
#define INTEL_IDLE_VERSION "0.4" |
Definition at line 69 of file intel_idle.c.
#define LAPIC_TIMER_ALWAYS_RELIABLE 0xFFFFFFFF |
Definition at line 81 of file intel_idle.c.
#define PREFIX "intel_idle: " |
Definition at line 70 of file intel_idle.c.
MODULE_AUTHOR | ( | "Len Brown <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | x86cpu | , |
intel_idle_ids | |||
) |
module_exit | ( | intel_idle_exit | ) |
module_init | ( | intel_idle_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | max_cstate | , |
int | , | ||
0444 | |||
) |