#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/hwmon-vid.h>
#include <linux/err.h>
#include <linux/sysfs.h>
#include <linux/mutex.h>
Go to the source code of this file.
#define show_in_offset |
( |
|
offset | ) |
|
#define show_temp_index |
( |
|
index | ) |
|
Value:
show_temp_min, set_temp_min,
index-1); \
show_temp_max, set_temp_max,
index-1); \
Definition at line 347 of file smsc47m192.c.
#define SMSC47M192_REG_ALARM1 0x41 |
#define SMSC47M192_REG_ALARM2 0x42 |
#define SMSC47M192_REG_COMPANY_ID 0x3e |
#define SMSC47M192_REG_CONFIG 0x40 |
#define SMSC47M192_REG_IN |
( |
|
nr | ) |
|
#define SMSC47M192_REG_IN_MAX |
( |
|
nr | ) |
|
Value:((
nr) < 6 ? (0x2b + (
nr) * 2) : \
(0x54 + (((
nr) - 6) * 2)))
Definition at line 42 of file smsc47m192.c.
#define SMSC47M192_REG_IN_MIN |
( |
|
nr | ) |
|
Value:((
nr) < 6 ? (0x2c + (
nr) * 2) : \
(0x55 + (((
nr) - 6) * 2)))
Definition at line 44 of file smsc47m192.c.
#define SMSC47M192_REG_SFR 0x4f |
#define SMSC47M192_REG_TEMP_OFFSET |
( |
|
nr | ) |
((nr) == 2 ? 0x1e : 0x1f) |
#define SMSC47M192_REG_VERSION 0x3f |
#define SMSC47M192_REG_VID 0x47 |
#define SMSC47M192_REG_VID4 0x49 |
MODULE_DESCRIPTION |
( |
"SMSC47M192 driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
smsc47m192_id |
|
|
) |
| |
module_i2c_driver |
( |
smsc47m192_driver |
| ) |
|