|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/delay.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 | w83l785ts_data |
Macros | |
| #define | MAX_RETRIES 5 |
| #define | W83L785TS_REG_MAN_ID1 0x4D |
| #define | W83L785TS_REG_MAN_ID2 0x4C |
| #define | W83L785TS_REG_CHIP_ID 0x4E |
| #define | W83L785TS_REG_CONFIG 0x40 |
| #define | W83L785TS_REG_TYPE 0x52 |
| #define | W83L785TS_REG_TEMP 0x27 |
| #define | W83L785TS_REG_TEMP_OVER 0x53 /* not sure about this one */ |
| #define | TEMP_FROM_REG(val) ((val) * 1000) |
Functions | |
| MODULE_DEVICE_TABLE (i2c, w83l785ts_id) | |
| module_i2c_driver (w83l785ts_driver) | |
| MODULE_AUTHOR ("Jean Delvare <[email protected]>") | |
| MODULE_DESCRIPTION ("W83L785TS-S driver") | |
| MODULE_LICENSE ("GPL") | |
| #define MAX_RETRIES 5 |
Definition at line 45 of file w83l785ts.c.
Definition at line 72 of file w83l785ts.c.
| #define W83L785TS_REG_CHIP_ID 0x4E |
Definition at line 61 of file w83l785ts.c.
| #define W83L785TS_REG_CONFIG 0x40 |
Definition at line 62 of file w83l785ts.c.
| #define W83L785TS_REG_MAN_ID1 0x4D |
Definition at line 59 of file w83l785ts.c.
| #define W83L785TS_REG_MAN_ID2 0x4C |
Definition at line 60 of file w83l785ts.c.
| #define W83L785TS_REG_TEMP 0x27 |
Definition at line 64 of file w83l785ts.c.
| #define W83L785TS_REG_TEMP_OVER 0x53 /* not sure about this one */ |
Definition at line 65 of file w83l785ts.c.
| #define W83L785TS_REG_TYPE 0x52 |
Definition at line 63 of file w83l785ts.c.
| MODULE_AUTHOR | ( | "Jean Delvare <[email protected]>" | ) |
| MODULE_DEVICE_TABLE | ( | i2c | , |
| w83l785ts_id | |||
| ) |
| module_i2c_driver | ( | w83l785ts_driver | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2