|
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/init.h>#include <linux/spinlock.h>#include <linux/wait.h>#include <linux/reboot.h>#include <linux/kmod.h>#include <linux/i2c.h>#include <linux/kthread.h>#include <linux/mutex.h>#include <linux/of_device.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>#include "therm_pm72.h"Go to the source code of this file.
Data Structures | |
| struct | fcu_fan_table |
Macros | |
| #define | VERSION "1.3" |
| #define | DBG(args...) do { } while(0) |
| #define | CPU_PID_TYPE_SPLIT 0 |
| #define | CPU_PID_TYPE_COMBINED 1 |
| #define | CPU_PID_TYPE_RACKMAC 2 |
| #define | FCU_FAN_RPM 0 |
| #define | FCU_FAN_PWM 1 |
| #define | FCU_FAN_ABSENT_ID -1 |
| #define | FCU_FAN_COUNT ARRAY_SIZE(fcu_fans) |
| #define | BUILD_SHOW_FUNC_FIX(name, data) |
| #define | BUILD_SHOW_FUNC_INT(name, data) |
Functions | |
| MODULE_DEVICE_TABLE (of, fcu_match) | |
| module_init (therm_pm72_init) | |
| module_exit (therm_pm72_exit) | |
| MODULE_AUTHOR ("Benjamin Herrenschmidt <[email protected]>") | |
| MODULE_DESCRIPTION ("Driver for Apple's PowerMac G5 thermal control") | |
| MODULE_LICENSE ("GPL") | |
Variables | |
| struct fcu_fan_table | fcu_fans [] |
| #define CPU_PID_TYPE_COMBINED 1 |
Definition at line 183 of file therm_pm72.c.
| #define CPU_PID_TYPE_RACKMAC 2 |
Definition at line 184 of file therm_pm72.c.
| #define CPU_PID_TYPE_SPLIT 0 |
Definition at line 182 of file therm_pm72.c.
| #define DBG | ( | args... | ) | do { } while(0) |
Definition at line 142 of file therm_pm72.c.
| #define FCU_FAN_ABSENT_ID -1 |
Definition at line 201 of file therm_pm72.c.
| #define FCU_FAN_COUNT ARRAY_SIZE(fcu_fans) |
Definition at line 203 of file therm_pm72.c.
| #define FCU_FAN_PWM 1 |
Definition at line 199 of file therm_pm72.c.
| #define FCU_FAN_RPM 0 |
Definition at line 198 of file therm_pm72.c.
| #define VERSION "1.3" |
Definition at line 135 of file therm_pm72.c.
| MODULE_AUTHOR | ( | "Benjamin Herrenschmidt <[email protected]>" | ) |
| MODULE_DEVICE_TABLE | ( | of | , |
| fcu_match | |||
| ) |
| module_exit | ( | therm_pm72_exit | ) |
| module_init | ( | therm_pm72_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| struct fcu_fan_table fcu_fans[] |
Definition at line 205 of file therm_pm72.c.
1.8.2