|
Linux Kernel
3.7.1
|
#include <linux/types.h>#include <linux/errno.h>#include <linux/kernel.h>#include <linux/delay.h>#include <linux/slab.h>#include <linux/init.h>#include <linux/spinlock.h>#include <linux/wait.h>#include <linux/kmod.h>#include <linux/device.h>#include <linux/platform_device.h>#include <asm/prom.h>#include <asm/machdep.h>#include <asm/io.h>#include <asm/sections.h>#include <asm/smu.h>#include "windfarm.h"#include "windfarm_pid.h"Go to the source code of this file.
Data Structures | |
| struct | wf_smu_cpu_fans_state |
| struct | wf_smu_drive_fans_state |
| struct | wf_smu_slots_fans_state |
Macros | |
| #define | VERSION "0.4" |
| #define | DBG(args...) do { } while(0) |
| #define | FAILURE_FAN 0x01 |
| #define | FAILURE_SENSOR 0x02 |
| #define | FAILURE_OVERTEMP 0x04 |
| #define | WF_SMU_CPU_FANS_INTERVAL 1 |
| #define | WF_SMU_CPU_FANS_MAX_HISTORY 16 |
Functions | |
| module_init (wf_smu_init) | |
| module_exit (wf_smu_exit) | |
| MODULE_AUTHOR ("Benjamin Herrenschmidt <[email protected]>") | |
| MODULE_DESCRIPTION ("Thermal control logic for PowerMac9,1") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS ("platform:windfarm") | |
| #define DBG | ( | args... | ) | do { } while(0) |
Definition at line 57 of file windfarm_pm91.c.
| #define FAILURE_FAN 0x01 |
Definition at line 81 of file windfarm_pm91.c.
| #define FAILURE_OVERTEMP 0x04 |
Definition at line 83 of file windfarm_pm91.c.
| #define FAILURE_SENSOR 0x02 |
Definition at line 82 of file windfarm_pm91.c.
| #define VERSION "0.4" |
Definition at line 50 of file windfarm_pm91.c.
| #define WF_SMU_CPU_FANS_INTERVAL 1 |
Definition at line 94 of file windfarm_pm91.c.
| #define WF_SMU_CPU_FANS_MAX_HISTORY 16 |
Definition at line 95 of file windfarm_pm91.c.
| MODULE_ALIAS | ( | "platform:windfarm" | ) |
| MODULE_AUTHOR | ( | "Benjamin Herrenschmidt <[email protected]>" | ) |
| module_exit | ( | wf_smu_exit | ) |
| module_init | ( | wf_smu_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2