Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/kthread.h>
#include <linux/of_platform.h>
#include <asm/prom.h>
#include <asm/machdep.h>
#include <asm/io.h>
#include <asm/sections.h>
#include <asm/macio.h>
Go to the source code of this file.
Data Structures | |
struct | apple_thermal_info |
Macros | |
#define | LOG_TEMP 0 /* continuously log temperature */ |
#define | T(x, y) (((x)<<8) | (y)*0x100/10 ) |
Enumerations | |
enum | chip { ds1775, adm1030 } |
Functions | |
module_init (g4fan_init) | |
module_exit (g4fan_exit) | |
MODULE_AUTHOR ("Samuel Rydh <[email protected]>") | |
MODULE_DESCRIPTION ("Apple G4 (windtunnel) fan controller") | |
MODULE_LICENSE ("GPL") | |
#define LOG_TEMP 0 /* continuously log temperature */ |
Definition at line 47 of file therm_windtunnel.c.
enum chip |
Definition at line 404 of file therm_windtunnel.c.
MODULE_AUTHOR | ( | "Samuel Rydh <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Apple G4 (windtunnel) fan controller" | ) |
module_exit | ( | g4fan_exit | ) |
module_init | ( | g4fan_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
int casetemp |
Definition at line 62 of file therm_windtunnel.c.
int downind |
Definition at line 65 of file therm_windtunnel.c.
struct i2c_client* fan |
Definition at line 57 of file therm_windtunnel.c.
int fan_down_setting |
Definition at line 74 of file therm_windtunnel.c.
int fan_level |
Definition at line 63 of file therm_windtunnel.c.
int fan_up_setting |
Definition at line 76 of file therm_windtunnel.c.
Definition at line 53 of file therm_windtunnel.c.
struct platform_device* of_dev |
Definition at line 54 of file therm_windtunnel.c.
int overheat_hyst |
Definition at line 60 of file therm_windtunnel.c.
int overheat_temp |
Definition at line 59 of file therm_windtunnel.c.
struct task_struct* poll_task |
Definition at line 51 of file therm_windtunnel.c.
int r0 |
Definition at line 68 of file therm_windtunnel.c.
int r1 |
Definition at line 68 of file therm_windtunnel.c.
int r20 |
Definition at line 68 of file therm_windtunnel.c.
int r23 |
Definition at line 68 of file therm_windtunnel.c.
int r25 |
Definition at line 68 of file therm_windtunnel.c.
volatile int running |
Definition at line 50 of file therm_windtunnel.c.
int temp |
Definition at line 61 of file therm_windtunnel.c.
Definition at line 56 of file therm_windtunnel.c.
int upind |
Definition at line 66 of file therm_windtunnel.c.