Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
processor_idle.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/moduleparam.h>
#include <linux/cpuidle.h>
#include <linux/cpu.h>
#include <linux/notifier.h>
#include <asm/paca.h>
#include <asm/reg.h>
#include <asm/machdep.h>
#include <asm/firmware.h>
#include <asm/runlatch.h>
#include "plpar_wrappers.h"
#include "pseries.h"

Go to the source code of this file.

Macros

#define MAX_IDLE_STATE_COUNT   2
 

Functions

void update_smt_snooze_delay (int cpu, int residency)
 
 module_init (pseries_processor_idle_init)
 
 module_exit (pseries_processor_idle_exit)
 
 MODULE_AUTHOR ("Deepthi Dharwar <[email protected]>")
 
 MODULE_DESCRIPTION ("Cpuidle driver for POWER")
 
 MODULE_LICENSE ("GPL")
 

Variables

struct cpuidle_driver pseries_idle_driver
 

Macro Definition Documentation

#define MAX_IDLE_STATE_COUNT   2

Definition at line 30 of file processor_idle.c.

Function Documentation

MODULE_AUTHOR ( "Deepthi Dharwar <[email protected]>"  )
MODULE_DESCRIPTION ( "Cpuidle driver for POWER )
module_exit ( pseries_processor_idle_exit  )
module_init ( pseries_processor_idle_init  )
MODULE_LICENSE ( "GPL"  )
void update_smt_snooze_delay ( int  cpu,
int  residency 
)

Definition at line 176 of file processor_idle.c.

Variable Documentation

struct cpuidle_driver pseries_idle_driver
Initial value:
= {
.name = "pseries_idle",
.owner = THIS_MODULE,
}

Definition at line 25 of file processor_idle.c.