Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
windfarm_pid.c File Reference
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/module.h>
#include "windfarm_pid.h"

Go to the source code of this file.

Macros

#define DBG(args...)   do { } while(0)
 

Functions

void wf_pid_init (struct wf_pid_state *st, struct wf_pid_param *param)
 
 EXPORT_SYMBOL_GPL (wf_pid_init)
 
s32 wf_pid_run (struct wf_pid_state *st, s32 new_sample)
 
 EXPORT_SYMBOL_GPL (wf_pid_run)
 
void wf_cpu_pid_init (struct wf_cpu_pid_state *st, struct wf_cpu_pid_param *param)
 
 EXPORT_SYMBOL_GPL (wf_cpu_pid_init)
 
s32 wf_cpu_pid_run (struct wf_cpu_pid_state *st, s32 new_power, s32 new_temp)
 
 EXPORT_SYMBOL_GPL (wf_cpu_pid_run)
 
 MODULE_AUTHOR ("Benjamin Herrenschmidt <[email protected]>")
 
 MODULE_DESCRIPTION ("PID algorithm for PowerMacs thermal control")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DBG (   args...)    do { } while(0)

Definition at line 23 of file windfarm_pid.c.

Function Documentation

EXPORT_SYMBOL_GPL ( wf_pid_init  )
EXPORT_SYMBOL_GPL ( wf_pid_run  )
EXPORT_SYMBOL_GPL ( wf_cpu_pid_init  )
EXPORT_SYMBOL_GPL ( wf_cpu_pid_run  )
MODULE_AUTHOR ( "Benjamin Herrenschmidt <[email protected]>"  )
MODULE_DESCRIPTION ( "PID algorithm for PowerMacs thermal control )
MODULE_LICENSE ( "GPL"  )
void wf_cpu_pid_init ( struct wf_cpu_pid_state st,
struct wf_cpu_pid_param param 
)

Definition at line 80 of file windfarm_pid.c.

s32 wf_cpu_pid_run ( struct wf_cpu_pid_state st,
s32  new_power,
s32  new_temp 
)

Definition at line 89 of file windfarm_pid.c.

void wf_pid_init ( struct wf_pid_state st,
struct wf_pid_param param 
)

Definition at line 26 of file windfarm_pid.c.

s32 wf_pid_run ( struct wf_pid_state st,
s32  new_sample 
)

Definition at line 34 of file windfarm_pid.c.