Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
therm_throt.c File Reference
#include <linux/interrupt.h>
#include <linux/notifier.h>
#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/percpu.h>
#include <linux/export.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/smp.h>
#include <linux/cpu.h>
#include <asm/processor.h>
#include <asm/apic.h>
#include <asm/idle.h>
#include <asm/mce.h>
#include <asm/msr.h>

Go to the source code of this file.

Data Structures

struct  _thermal_state
 
struct  thermal_state
 

Macros

#define CHECK_INTERVAL   (300 * HZ)
 
#define THERMAL_THROTTLING_EVENT   0
 
#define POWER_LIMIT_EVENT   1
 
#define CORE_LEVEL   0
 
#define PACKAGE_LEVEL   1
 

Functions

 EXPORT_SYMBOL (platform_thermal_notify)
 
asmlinkage void smp_thermal_interrupt (struct pt_regs *regs)
 
void __init mcheck_intel_therm_init (void)
 
void intel_init_thermal (struct cpuinfo_x86 *c)
 

Variables

int(* platform_thermal_notify )(__u64 msr_val)
 

Macro Definition Documentation

#define CHECK_INTERVAL   (300 * HZ)

Definition at line 34 of file therm_throt.c.

#define CORE_LEVEL   0

Definition at line 119 of file therm_throt.c.

#define PACKAGE_LEVEL   1

Definition at line 120 of file therm_throt.c.

#define POWER_LIMIT_EVENT   1

Definition at line 37 of file therm_throt.c.

#define THERMAL_THROTTLING_EVENT   0

Definition at line 36 of file therm_throt.c.

Function Documentation

EXPORT_SYMBOL ( platform_thermal_notify  )
void intel_init_thermal ( struct cpuinfo_x86 c)

Definition at line 413 of file therm_throt.c.

void __init mcheck_intel_therm_init ( void  )

Definition at line 402 of file therm_throt.c.

asmlinkage void smp_thermal_interrupt ( struct pt_regs regs)

Definition at line 381 of file therm_throt.c.

Variable Documentation

int(* platform_thermal_notify)(__u64 msr_val)

Definition at line 60 of file therm_throt.c.