Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
tau_6xx.c File Reference
#include <linux/errno.h>
#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <asm/io.h>
#include <asm/reg.h>
#include <asm/nvram.h>
#include <asm/cache.h>
#include <asm/8xx_immap.h>
#include <asm/machdep.h>

Go to the source code of this file.

Data Structures

struct  tau_temp
 

Macros

#define step_size   2 /* step size when temp goes out of range */
 
#define window_expand   1 /* expand the window by this much */
 
#define shrink_timer   2*HZ /* period between shrinking the window */
 
#define min_window   2 /* minimum window size, degrees C */
 

Functions

void set_thresholds (unsigned long cpu)
 
void TAUupdate (int cpu)
 
void __init TAU_init_smp (void *info)
 
int __init TAU_init (void)
 
 __initcall (TAU_init)
 
u32 cpu_temp_both (unsigned long cpu)
 
int cpu_temp (unsigned long cpu)
 
int tau_interrupts (unsigned long cpu)
 

Variables

struct timer_list tau_timer
 
int tau_initialized = 0
 

Macro Definition Documentation

#define min_window   2 /* minimum window size, degrees C */

Definition at line 50 of file tau_6xx.c.

#define shrink_timer   2*HZ /* period between shrinking the window */

Definition at line 49 of file tau_6xx.c.

#define step_size   2 /* step size when temp goes out of range */

Definition at line 46 of file tau_6xx.c.

#define window_expand   1 /* expand the window by this much */

Definition at line 47 of file tau_6xx.c.

Function Documentation

__initcall ( TAU_init  )
int cpu_temp ( unsigned long  cpu)

Definition at line 262 of file tau_6xx.c.

u32 cpu_temp_both ( unsigned long  cpu)

Definition at line 257 of file tau_6xx.c.

void set_thresholds ( unsigned long  cpu)

Definition at line 52 of file tau_6xx.c.

int __init TAU_init ( void  )

Definition at line 219 of file tau_6xx.c.

void __init TAU_init_smp ( void info)

Definition at line 207 of file tau_6xx.c.

int tau_interrupts ( unsigned long  cpu)

Definition at line 267 of file tau_6xx.c.

void TAUupdate ( int  cpu)

Definition at line 72 of file tau_6xx.c.

Variable Documentation

int tau_initialized = 0

Definition at line 205 of file tau_6xx.c.

struct timer_list tau_timer

Definition at line 38 of file tau_6xx.c.