Linux Kernel
3.7.1
|
#include <linux/kref.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/notifier.h>
#include <linux/device.h>
Go to the source code of this file.
Data Structures | |
struct | wf_control_ops |
struct | wf_control |
struct | wf_sensor_ops |
struct | wf_sensor |
Macros | |
#define | FIX32TOPRINT(f) (((s32)(f)) >> 16),(((((s32)(f)) & 0xffff) * 1000) >> 16) |
#define | WF_CONTROL_TYPE_GENERIC 0 |
#define | WF_CONTROL_RPM_FAN 1 |
#define | WF_CONTROL_PWM_FAN 2 |
#define | WF_EVENT_NEW_CONTROL 0 /* param is wf_control * */ |
#define | WF_EVENT_NEW_SENSOR 1 /* param is wf_sensor * */ |
#define | WF_EVENT_OVERTEMP 2 /* no param */ |
#define | WF_EVENT_NORMALTEMP 3 /* overtemp condition cleared */ |
#define | WF_EVENT_TICK 4 /* 1 second tick */ |
Definition at line 20 of file windfarm.h.
#define WF_CONTROL_PWM_FAN 2 |
Definition at line 49 of file windfarm.h.
#define WF_CONTROL_RPM_FAN 1 |
Definition at line 48 of file windfarm.h.
#define WF_CONTROL_TYPE_GENERIC 0 |
Definition at line 47 of file windfarm.h.
#define WF_EVENT_NEW_CONTROL 0 /* param is wf_control * */ |
Definition at line 149 of file windfarm.h.
Definition at line 150 of file windfarm.h.
#define WF_EVENT_NORMALTEMP 3 /* overtemp condition cleared */ |
Definition at line 152 of file windfarm.h.
Definition at line 151 of file windfarm.h.
Definition at line 153 of file windfarm.h.
Definition at line 460 of file windfarm_core.c.
|
read |
Definition at line 258 of file windfarm_core.c.
Definition at line 371 of file windfarm_core.c.
int wf_get_control | ( | struct wf_control * | ct | ) |
Definition at line 276 of file windfarm_core.c.
Definition at line 389 of file windfarm_core.c.
Definition at line 477 of file windfarm_core.c.
void wf_put_control | ( | struct wf_control * | ct | ) |
Definition at line 285 of file windfarm_core.c.
Definition at line 398 of file windfarm_core.c.
int wf_register_client | ( | struct notifier_block * | nb | ) |
Definition at line 411 of file windfarm_core.c.
int wf_register_control | ( | struct wf_control * | ct | ) |
Definition at line 211 of file windfarm_core.c.
Definition at line 324 of file windfarm_core.c.
Definition at line 447 of file windfarm_core.c.
int wf_unregister_client | ( | struct notifier_block * | nb | ) |
Definition at line 434 of file windfarm_core.c.
void wf_unregister_control | ( | struct wf_control * | ct | ) |
Definition at line 246 of file windfarm_core.c.
Definition at line 359 of file windfarm_core.c.