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/wait.h>
#include <linux/completion.h>
#include <asm/prom.h>
#include <asm/machdep.h>
#include <asm/io.h>
#include <asm/sections.h>
#include <asm/smu.h>
#include "windfarm.h"
Go to the source code of this file.
Data Structures | |
struct | smu_ad_sensor |
struct | smu_cpu_power_sensor |
Macros | |
#define | VERSION "0.2" |
#define | DBG(args...) do { } while(0) |
#define | to_smu_ads(c) container_of(c, struct smu_ad_sensor, sens) |
#define | to_smu_cpu_power(c) container_of(c, struct smu_cpu_power_sensor, sens) |
Functions | |
module_init (smu_sensors_init) | |
module_exit (smu_sensors_exit) | |
MODULE_AUTHOR ("Benjamin Herrenschmidt <[email protected]>") | |
MODULE_DESCRIPTION ("SMU sensor objects for PowerMacs thermal control") | |
MODULE_LICENSE ("GPL") | |
#define DBG | ( | args... | ) | do { } while(0) |
Definition at line 33 of file windfarm_smu_sensors.c.
#define to_smu_ads | ( | c | ) | container_of(c, struct smu_ad_sensor, sens) |
Definition at line 57 of file windfarm_smu_sensors.c.
#define to_smu_cpu_power | ( | c | ) | container_of(c, struct smu_cpu_power_sensor, sens) |
Definition at line 282 of file windfarm_smu_sensors.c.
#define VERSION "0.2" |
Definition at line 26 of file windfarm_smu_sensors.c.
MODULE_AUTHOR | ( | "Benjamin Herrenschmidt <[email protected]>" | ) |
module_exit | ( | smu_sensors_exit | ) |
module_init | ( | smu_sensors_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |