|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/init.h>#include <linux/slab.h>#include <linux/jiffies.h>#include <linux/i2c.h>#include <linux/hwmon.h>#include <linux/hwmon-sysfs.h>#include <linux/err.h>#include <linux/mutex.h>Go to the source code of this file.
Data Structures | |
| struct | emc6w201_data |
Macros | |
| #define | EMC6W201_REG_IN(nr) (0x20 + (nr)) |
| #define | EMC6W201_REG_TEMP(nr) (0x26 + (nr)) |
| #define | EMC6W201_REG_FAN(nr) (0x2C + (nr) * 2) |
| #define | EMC6W201_REG_COMPANY 0x3E |
| #define | EMC6W201_REG_VERSTEP 0x3F |
| #define | EMC6W201_REG_CONFIG 0x40 |
| #define | EMC6W201_REG_IN_LOW(nr) (0x4A + (nr) * 2) |
| #define | EMC6W201_REG_IN_HIGH(nr) (0x4B + (nr) * 2) |
| #define | EMC6W201_REG_TEMP_LOW(nr) (0x56 + (nr) * 2) |
| #define | EMC6W201_REG_TEMP_HIGH(nr) (0x57 + (nr) * 2) |
| #define | EMC6W201_REG_FAN_MIN(nr) (0x62 + (nr) * 2) |
Enumerations | |
| enum | { input, min, max } |
Functions | |
| MODULE_DEVICE_TABLE (i2c, emc6w201_id) | |
| module_i2c_driver (emc6w201_driver) | |
| MODULE_AUTHOR ("Jean Delvare <[email protected]>") | |
| MODULE_DESCRIPTION ("SMSC EMC6W201 hardware monitoring driver") | |
| MODULE_LICENSE ("GPL") | |
Variables | |
| enum { ... } | subfeature |
| #define EMC6W201_REG_COMPANY 0x3E |
Definition at line 43 of file emc6w201.c.
| #define EMC6W201_REG_CONFIG 0x40 |
Definition at line 45 of file emc6w201.c.
| #define EMC6W201_REG_FAN | ( | nr | ) | (0x2C + (nr) * 2) |
Definition at line 42 of file emc6w201.c.
| #define EMC6W201_REG_FAN_MIN | ( | nr | ) | (0x62 + (nr) * 2) |
Definition at line 50 of file emc6w201.c.
| #define EMC6W201_REG_IN | ( | nr | ) | (0x20 + (nr)) |
Definition at line 40 of file emc6w201.c.
| #define EMC6W201_REG_IN_HIGH | ( | nr | ) | (0x4B + (nr) * 2) |
Definition at line 47 of file emc6w201.c.
| #define EMC6W201_REG_IN_LOW | ( | nr | ) | (0x4A + (nr) * 2) |
Definition at line 46 of file emc6w201.c.
| #define EMC6W201_REG_TEMP | ( | nr | ) | (0x26 + (nr)) |
Definition at line 41 of file emc6w201.c.
| #define EMC6W201_REG_TEMP_HIGH | ( | nr | ) | (0x57 + (nr) * 2) |
Definition at line 49 of file emc6w201.c.
| #define EMC6W201_REG_TEMP_LOW | ( | nr | ) | (0x56 + (nr) * 2) |
Definition at line 48 of file emc6w201.c.
| #define EMC6W201_REG_VERSTEP 0x3F |
Definition at line 44 of file emc6w201.c.
| anonymous enum |
Definition at line 52 of file emc6w201.c.
| MODULE_AUTHOR | ( | "Jean Delvare <[email protected]>" | ) |
| MODULE_DEVICE_TABLE | ( | i2c | , |
| emc6w201_id | |||
| ) |
| module_i2c_driver | ( | emc6w201_driver | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| enum { ... } subfeature |
1.8.2