|
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/i2c.h>#include <asm/prom.h>#include <asm/machdep.h>#include <asm/io.h>#include <asm/sections.h>#include "windfarm.h"#include "windfarm_mpu.h"Go to the source code of this file.
Data Structures | |
| struct | wf_ad7417_priv |
Macros | |
| #define | VERSION "1.0" |
| #define | ADC_12V_CURRENT_SCALE 0x0320 /* _AD2 */ |
| #define | ADC_CPU_VOLTAGE_SCALE 0x00a0 /* _AD3 */ |
| #define | ADC_CPU_CURRENT_SCALE 0x1f40 /* _AD4 */ |
Functions | |
| MODULE_DEVICE_TABLE (i2c, wf_ad7417_id) | |
| module_init (wf_ad7417_init) | |
| module_exit (wf_ad7417_exit) | |
| MODULE_AUTHOR ("Benjamin Herrenschmidt <[email protected]>") | |
| MODULE_DESCRIPTION ("ad7417 sensor driver for PowerMacs") | |
| MODULE_LICENSE ("GPL") | |
| #define ADC_12V_CURRENT_SCALE 0x0320 /* _AD2 */ |
Definition at line 76 of file windfarm_ad7417_sensor.c.
| #define ADC_CPU_CURRENT_SCALE 0x1f40 /* _AD4 */ |
Definition at line 78 of file windfarm_ad7417_sensor.c.
| #define ADC_CPU_VOLTAGE_SCALE 0x00a0 /* _AD3 */ |
Definition at line 77 of file windfarm_ad7417_sensor.c.
| #define VERSION "1.0" |
Definition at line 25 of file windfarm_ad7417_sensor.c.
| MODULE_AUTHOR | ( | "Benjamin Herrenschmidt <[email protected]>" | ) |
| MODULE_DEVICE_TABLE | ( | i2c | , |
| wf_ad7417_id | |||
| ) |
| module_exit | ( | wf_ad7417_exit | ) |
| module_init | ( | wf_ad7417_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2