#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.
|
enum | {
FAN_CPU,
FAN_HD,
FAN_OD,
CPUFREQ,
N_CONTROLS
} |
|
enum | { FAILURE_FAN = 1 << 0,
FAILURE_SENSOR = 1 << 1,
FAILURE_OVERTEMP = 1 << 2
} |
|
enum | {
LOOP_GPU,
LOOP_HD,
LOOP_KODIAK,
LOOP_OD,
N_LOOPS
} |
|
#define PM121_CPU_INTERVAL 1 |
#define PM121_NUM_CONFIGS 2 |
#define PM121_SYS_GD 0x00000000 |
#define PM121_SYS_GR 0x00019999 |
#define PM121_SYS_HISTORY_SIZE 2 |
#define PM121_SYS_INTERVAL 5 |
- Enumerator:
FAN_CPU |
|
FAN_HD |
|
FAN_OD |
|
CPUFREQ |
|
N_CONTROLS |
|
Definition at line 239 of file windfarm_pm121.c.
- Enumerator:
FAILURE_FAN |
|
FAILURE_SENSOR |
|
FAILURE_OVERTEMP |
|
Definition at line 251 of file windfarm_pm121.c.
- Enumerator:
LOOP_GPU |
|
LOOP_HD |
|
LOOP_KODIAK |
|
LOOP_OD |
|
N_LOOPS |
|
Definition at line 259 of file windfarm_pm121.c.
MODULE_DESCRIPTION |
( |
"Thermal control logic for iMac G5 (iSight)" |
| ) |
|
module_exit |
( |
pm121_exit |
| ) |
|
module_init |
( |
pm121_init |
| ) |
|