Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
windfarm_pid.h File Reference

Go to the source code of this file.

Data Structures

struct  wf_pid_param
 
struct  wf_pid_state
 
struct  wf_cpu_pid_param
 
struct  wf_cpu_pid_state
 

Macros

#define WF_PID_MAX_HISTORY   32
 
#define WF_CPU_PID_MAX_HISTORY   32
 

Functions

void wf_pid_init (struct wf_pid_state *st, struct wf_pid_param *param)
 
s32 wf_pid_run (struct wf_pid_state *st, s32 sample)
 
void wf_cpu_pid_init (struct wf_cpu_pid_state *st, struct wf_cpu_pid_param *param)
 
s32 wf_cpu_pid_run (struct wf_cpu_pid_state *st, s32 power, s32 temp)
 

Macro Definition Documentation

#define WF_CPU_PID_MAX_HISTORY   32

Definition at line 53 of file windfarm_pid.h.

#define WF_PID_MAX_HISTORY   32

Definition at line 19 of file windfarm_pid.h.

Function Documentation

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  power,
s32  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  sample 
)

Definition at line 34 of file windfarm_pid.c.