Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
dme1737.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/hwmon-vid.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/acpi.h>
#include <linux/io.h>

Go to the source code of this file.

Data Structures

struct  dme1737_data
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define DME1737_REG_IN(ix)
 
#define DME1737_REG_IN_MIN(ix)
 
#define DME1737_REG_IN_MAX(ix)
 
#define DME1737_REG_TEMP(ix)   (0x25 + (ix))
 
#define DME1737_REG_TEMP_MIN(ix)   (0x4e + (ix) * 2)
 
#define DME1737_REG_TEMP_MAX(ix)   (0x4f + (ix) * 2)
 
#define DME1737_REG_TEMP_OFFSET(ix)
 
#define DME1737_REG_IN_TEMP_LSB(ix)   (0x84 + (ix))
 
#define DME1737_REG_FAN(ix)
 
#define DME1737_REG_FAN_MIN(ix)
 
#define DME1737_REG_FAN_OPT(ix)
 
#define DME1737_REG_FAN_MAX(ix)   (0xb4 + (ix)) /* only for fan[4-5] */
 
#define DME1737_REG_PWM(ix)
 
#define DME1737_REG_PWM_CONFIG(ix)   (0x5c + (ix)) /* only for pwm[0-2] */
 
#define DME1737_REG_PWM_MIN(ix)   (0x64 + (ix)) /* only for pwm[0-2] */
 
#define DME1737_REG_PWM_FREQ(ix)
 
#define DME1737_REG_PWM_RR(ix)   (0x62 + (ix)) /* only for pwm[0-2] */
 
#define DME1737_REG_ZONE_LOW(ix)   (0x67 + (ix))
 
#define DME1737_REG_ZONE_ABS(ix)   (0x6a + (ix))
 
#define DME1737_REG_ZONE_HYST(ix)   (0x6d + (ix))
 
#define DME1737_REG_ALARM1   0x41
 
#define DME1737_REG_ALARM2   0x42
 
#define DME1737_REG_ALARM3   0x83
 
#define DME1737_REG_DEVICE   0x3d
 
#define DME1737_REG_COMPANY   0x3e
 
#define DME1737_REG_VERSTEP   0x3f
 
#define DME1737_REG_CONFIG   0x40
 
#define DME1737_REG_CONFIG2   0x7f
 
#define DME1737_REG_VID   0x43
 
#define DME1737_REG_TACH_PWM   0x81
 
#define DME1737_COMPANY_SMSC   0x5c
 
#define DME1737_VERSTEP   0x88
 
#define DME1737_VERSTEP_MASK   0xf8
 
#define SCH311X_DEVICE   0x8c
 
#define SCH5027_VERSTEP   0x69
 
#define SCH5127_DEVICE   0x8e
 
#define DME1737_ID_1   0x77
 
#define DME1737_ID_2   0x78
 
#define SCH3112_ID   0x7c
 
#define SCH3114_ID   0x7d
 
#define SCH3116_ID   0x7f
 
#define SCH5027_ID   0x89
 
#define SCH5127_ID   0x86
 
#define DME1737_EXTENT   2
 
#define HAS_TEMP_OFFSET   (1 << 0) /* bit 0 */
 
#define HAS_VID   (1 << 1) /* bit 1 */
 
#define HAS_ZONE3   (1 << 2) /* bit 2 */
 
#define HAS_ZONE_HYST   (1 << 3) /* bit 3 */
 
#define HAS_PWM_MIN   (1 << 4) /* bit 4 */
 
#define HAS_FAN(ix)   (1 << ((ix) + 5)) /* bits 5-10 */
 
#define HAS_PWM(ix)   (1 << ((ix) + 11)) /* bits 11-16 */
 
#define HAS_IN7   (1 << 17) /* bit 17 */
 
#define IN_NOMINAL(type)
 
#define SYS_IN_INPUT   0
 
#define SYS_IN_MIN   1
 
#define SYS_IN_MAX   2
 
#define SYS_IN_ALARM   3
 
#define SYS_TEMP_INPUT   0
 
#define SYS_TEMP_MIN   1
 
#define SYS_TEMP_MAX   2
 
#define SYS_TEMP_OFFSET   3
 
#define SYS_TEMP_ALARM   4
 
#define SYS_TEMP_FAULT   5
 
#define SYS_ZONE_AUTO_CHANNELS_TEMP   0
 
#define SYS_ZONE_AUTO_POINT1_TEMP_HYST   1
 
#define SYS_ZONE_AUTO_POINT1_TEMP   2
 
#define SYS_ZONE_AUTO_POINT2_TEMP   3
 
#define SYS_ZONE_AUTO_POINT3_TEMP   4
 
#define SYS_FAN_INPUT   0
 
#define SYS_FAN_MIN   1
 
#define SYS_FAN_MAX   2
 
#define SYS_FAN_ALARM   3
 
#define SYS_FAN_TYPE   4
 
#define SYS_PWM   0
 
#define SYS_PWM_FREQ   1
 
#define SYS_PWM_ENABLE   2
 
#define SYS_PWM_RAMP_RATE   3
 
#define SYS_PWM_AUTO_CHANNELS_ZONE   4
 
#define SYS_PWM_AUTO_PWM_MIN   5
 
#define SYS_PWM_AUTO_POINT1_PWM   6
 
#define SYS_PWM_AUTO_POINT2_PWM   7
 
#define SENSOR_DEVICE_ATTR_IN(ix)
 
#define SENSOR_DEVICE_ATTR_TEMP(ix)
 
#define SENSOR_DEVICE_ATTR_ZONE(ix)
 
#define SENSOR_DEVICE_ATTR_FAN_1TO4(ix)
 
#define SENSOR_DEVICE_ATTR_FAN_5TO6(ix)
 
#define SENSOR_DEVICE_ATTR_PWM_1TO3(ix)
 
#define SENSOR_DEVICE_ATTR_PWM_5TO6(ix)
 

Enumerations

enum  chips {
  ad7416, ad7417, ad7418, adm1021,
  adm1023, max1617, max1617a, thmc10,
  lm84, gl523sm, mc1066, adm1025,
  ne1619, adm1030, adm1031, adm9240,
  ds1780, lm81, adt7473, adt7475,
  adt7476, adt7490, amc6821, dme1737,
  sch5027, sch311x, sch5127, f71808e,
  f71808a, f71858fg, f71862fg, f71869,
  f71869a, f71882fg, f71889fg, f71889ed,
  f71889a, f8000, f81865f, f75373,
  f75375, f75387, fscpos, fscher,
  fscscy, fschrc, fschmd, fschds,
  fscsyl, gl518sm_r00, gl518sm_r80, it87,
  it8712, it8716, it8718, it8720,
  it8721, it8728, it8782, it8783,
  lm63, lm64, lm96163, lm78,
  lm79, lm83, lm82, any_chip,
  lm85b, lm85c, adm1027, adt7463,
  adt7468, emc6d100, emc6d102, emc6d103,
  emc6d103s, lm87, adm1024, lm90,
  adm1032, lm99, lm86, max6657,
  max6659, adt7461, max6680, max6646,
  w83l771, max6696, sa56004, g781,
  max1110, max1111, max1112, max1113,
  max16065, max16066, max16067, max16068,
  max16070, max16071, max1668, max1805,
  max1989, mcp3021, mcp3221, adm1075,
  adm1275, adm1276, lm25066, lm5064,
  lm5066, ltc2978, ltc3880, max34440,
  max34441, max34446, ucd9000, ucd90120,
  ucd90124, ucd9090, ucd90910, ucd9200,
  ucd9220, ucd9222, ucd9224, ucd9240,
  ucd9244, ucd9246, ucd9248, zl2004,
  zl2005, zl2006, zl2008, zl2105,
  zl2106, zl6100, zl6105, zl9101,
  zl9117, smm465, smm665, smm665c,
  smm764, smm766, smsc47m1, smsc47m2,
  thmc50, adm1022, tmp401, tmp411,
  tmp421, tmp422, tmp423, w83627hf,
  w83627thf, w83697hf, w83637hf, w83687thf,
  w83781d, w83782d, w83783s, as99127f,
  DC21040 = 0, DC21041 = 1, DC21140 = 2, DC21142 = 3,
  DC21143 = 3, LC82C168, MX98713, MX98715,
  MX98725, AX88140, PNIC2, COMET,
  COMPEX9881, I21145, DM910X, CONEXANT,
  TPS62360, TPS62361, TPS62362, TPS62363,
  sc18is602, sc18is602b, sc18is603, f71808fg,
  f71858fg, f71862fg, f71869, f71882fg,
  f71889fg
}
 

Functions

 module_param (force_start, bool, 0)
 
 MODULE_PARM_DESC (force_start,"Force the chip to start monitoring inputs")
 
 module_param (force_id, ushort, 0)
 
 MODULE_PARM_DESC (force_id,"Override the detected device ID")
 
 module_param (probe_all_addr, bool, 0)
 
 MODULE_PARM_DESC (probe_all_addr,"Include probing of non-standard LPC ""addresses")
 
 SENSOR_DEVICE_ATTR_IN (0)
 
 SENSOR_DEVICE_ATTR_IN (1)
 
 SENSOR_DEVICE_ATTR_IN (2)
 
 SENSOR_DEVICE_ATTR_IN (3)
 
 SENSOR_DEVICE_ATTR_IN (4)
 
 SENSOR_DEVICE_ATTR_IN (5)
 
 SENSOR_DEVICE_ATTR_IN (6)
 
 SENSOR_DEVICE_ATTR_IN (7)
 
 SENSOR_DEVICE_ATTR_TEMP (1)
 
 SENSOR_DEVICE_ATTR_TEMP (2)
 
 SENSOR_DEVICE_ATTR_TEMP (3)
 
 SENSOR_DEVICE_ATTR_ZONE (1)
 
 SENSOR_DEVICE_ATTR_ZONE (2)
 
 SENSOR_DEVICE_ATTR_ZONE (3)
 
 SENSOR_DEVICE_ATTR_FAN_1TO4 (1)
 
 SENSOR_DEVICE_ATTR_FAN_1TO4 (2)
 
 SENSOR_DEVICE_ATTR_FAN_1TO4 (3)
 
 SENSOR_DEVICE_ATTR_FAN_1TO4 (4)
 
 SENSOR_DEVICE_ATTR_FAN_5TO6 (5)
 
 SENSOR_DEVICE_ATTR_FAN_5TO6 (6)
 
 SENSOR_DEVICE_ATTR_PWM_1TO3 (1)
 
 SENSOR_DEVICE_ATTR_PWM_1TO3 (2)
 
 SENSOR_DEVICE_ATTR_PWM_1TO3 (3)
 
 SENSOR_DEVICE_ATTR_PWM_5TO6 (5)
 
 SENSOR_DEVICE_ATTR_PWM_5TO6 (6)
 
 MODULE_DEVICE_TABLE (i2c, dme1737_id)
 
 MODULE_AUTHOR ("Juerg Haefliger <[email protected]>")
 
 MODULE_DESCRIPTION ("DME1737 sensors")
 
 MODULE_LICENSE ("GPL")
 
 module_init (dme1737_init)
 
 module_exit (dme1737_exit)
 

Macro Definition Documentation

#define DME1737_COMPANY_SMSC   0x5c

Definition at line 177 of file dme1737.c.

#define DME1737_EXTENT   2

Definition at line 194 of file dme1737.c.

#define DME1737_ID_1   0x77

Definition at line 185 of file dme1737.c.

#define DME1737_ID_2   0x78

Definition at line 186 of file dme1737.c.

#define DME1737_REG_ALARM1   0x41

Definition at line 156 of file dme1737.c.

#define DME1737_REG_ALARM2   0x42

Definition at line 157 of file dme1737.c.

#define DME1737_REG_ALARM3   0x83

Definition at line 158 of file dme1737.c.

#define DME1737_REG_COMPANY   0x3e

Definition at line 165 of file dme1737.c.

#define DME1737_REG_CONFIG   0x40

Definition at line 167 of file dme1737.c.

#define DME1737_REG_CONFIG2   0x7f

Definition at line 168 of file dme1737.c.

#define DME1737_REG_DEVICE   0x3d

Definition at line 164 of file dme1737.c.

#define DME1737_REG_FAN (   ix)
Value:
((ix) < 4 ? 0x28 + (ix) * 2 \
: 0xa1 + (ix) * 2)

Definition at line 117 of file dme1737.c.

#define DME1737_REG_FAN_MAX (   ix)    (0xb4 + (ix)) /* only for fan[4-5] */

Definition at line 123 of file dme1737.c.

#define DME1737_REG_FAN_MIN (   ix)
Value:
((ix) < 4 ? 0x54 + (ix) * 2 \
: 0xa5 + (ix) * 2)

Definition at line 119 of file dme1737.c.

#define DME1737_REG_FAN_OPT (   ix)
Value:
((ix) < 4 ? 0x90 + (ix) \
: 0xb2 + (ix))

Definition at line 121 of file dme1737.c.

#define DME1737_REG_IN (   ix)
Value:
((ix) < 5 ? 0x20 + (ix) : \
(ix) < 7 ? 0x94 + (ix) : \
0x1f)

Definition at line 85 of file dme1737.c.

#define DME1737_REG_IN_MAX (   ix)
Value:
((ix) < 5 ? 0x45 + (ix) * 2 \
: 0x92 + (ix) * 2)

Definition at line 90 of file dme1737.c.

#define DME1737_REG_IN_MIN (   ix)
Value:
((ix) < 5 ? 0x44 + (ix) * 2 \
: 0x91 + (ix) * 2)

Definition at line 88 of file dme1737.c.

#define DME1737_REG_IN_TEMP_LSB (   ix)    (0x84 + (ix))

Definition at line 110 of file dme1737.c.

#define DME1737_REG_PWM (   ix)
Value:
((ix) < 3 ? 0x30 + (ix) \
: 0xa1 + (ix))

Definition at line 126 of file dme1737.c.

#define DME1737_REG_PWM_CONFIG (   ix)    (0x5c + (ix)) /* only for pwm[0-2] */

Definition at line 128 of file dme1737.c.

#define DME1737_REG_PWM_FREQ (   ix)
Value:
((ix) < 3 ? 0x5f + (ix) \
: 0xa3 + (ix))

Definition at line 130 of file dme1737.c.

#define DME1737_REG_PWM_MIN (   ix)    (0x64 + (ix)) /* only for pwm[0-2] */

Definition at line 129 of file dme1737.c.

#define DME1737_REG_PWM_RR (   ix)    (0x62 + (ix)) /* only for pwm[0-2] */

Definition at line 138 of file dme1737.c.

#define DME1737_REG_TACH_PWM   0x81

Definition at line 170 of file dme1737.c.

#define DME1737_REG_TEMP (   ix)    (0x25 + (ix))

Definition at line 94 of file dme1737.c.

#define DME1737_REG_TEMP_MAX (   ix)    (0x4f + (ix) * 2)

Definition at line 96 of file dme1737.c.

#define DME1737_REG_TEMP_MIN (   ix)    (0x4e + (ix) * 2)

Definition at line 95 of file dme1737.c.

#define DME1737_REG_TEMP_OFFSET (   ix)
Value:
((ix) == 0 ? 0x1f \
: 0x1c + (ix))

Definition at line 97 of file dme1737.c.

#define DME1737_REG_VERSTEP   0x3f

Definition at line 166 of file dme1737.c.

#define DME1737_REG_VID   0x43

Definition at line 169 of file dme1737.c.

#define DME1737_REG_ZONE_ABS (   ix)    (0x6a + (ix))

Definition at line 142 of file dme1737.c.

#define DME1737_REG_ZONE_HYST (   ix)    (0x6d + (ix))

Definition at line 149 of file dme1737.c.

#define DME1737_REG_ZONE_LOW (   ix)    (0x67 + (ix))

Definition at line 141 of file dme1737.c.

#define DME1737_VERSTEP   0x88

Definition at line 178 of file dme1737.c.

#define DME1737_VERSTEP_MASK   0xf8

Definition at line 179 of file dme1737.c.

#define HAS_FAN (   ix)    (1 << ((ix) + 5)) /* bits 5-10 */

Definition at line 202 of file dme1737.c.

#define HAS_IN7   (1 << 17) /* bit 17 */

Definition at line 204 of file dme1737.c.

#define HAS_PWM (   ix)    (1 << ((ix) + 11)) /* bits 11-16 */

Definition at line 203 of file dme1737.c.

#define HAS_PWM_MIN   (1 << 4) /* bit 4 */

Definition at line 201 of file dme1737.c.

#define HAS_TEMP_OFFSET   (1 << 0) /* bit 0 */

Definition at line 197 of file dme1737.c.

#define HAS_VID   (1 << 1) /* bit 1 */

Definition at line 198 of file dme1737.c.

#define HAS_ZONE3   (1 << 2) /* bit 2 */

Definition at line 199 of file dme1737.c.

#define HAS_ZONE_HYST   (1 << 3) /* bit 3 */

Definition at line 200 of file dme1737.c.

#define IN_NOMINAL (   type)
Value:
((type) == sch311x ? IN_NOMINAL_SCH311x : \
(type) == sch5027 ? IN_NOMINAL_SCH5027 : \
(type) == sch5127 ? IN_NOMINAL_SCH5127 : \
IN_NOMINAL_DME1737)

Definition at line 263 of file dme1737.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 28 of file dme1737.c.

#define SCH3112_ID   0x7c

Definition at line 187 of file dme1737.c.

#define SCH3114_ID   0x7d

Definition at line 188 of file dme1737.c.

#define SCH3116_ID   0x7f

Definition at line 189 of file dme1737.c.

#define SCH311X_DEVICE   0x8c

Definition at line 180 of file dme1737.c.

#define SCH5027_ID   0x89

Definition at line 190 of file dme1737.c.

#define SCH5027_VERSTEP   0x69

Definition at line 181 of file dme1737.c.

#define SCH5127_DEVICE   0x8e

Definition at line 182 of file dme1737.c.

#define SCH5127_ID   0x86

Definition at line 191 of file dme1737.c.

#define SENSOR_DEVICE_ATTR_FAN_1TO4 (   ix)
Value:
static SENSOR_DEVICE_ATTR_2(fan##ix##_input, S_IRUGO, \
static SENSOR_DEVICE_ATTR_2(fan##ix##_min, S_IRUGO | S_IWUSR, \
static SENSOR_DEVICE_ATTR_2(fan##ix##_alarm, S_IRUGO, \
static SENSOR_DEVICE_ATTR_2(fan##ix##_type, S_IRUGO | S_IWUSR, \

Definition at line 1575 of file dme1737.c.

#define SENSOR_DEVICE_ATTR_FAN_5TO6 (   ix)
Value:
static SENSOR_DEVICE_ATTR_2(fan##ix##_input, S_IRUGO, \
static SENSOR_DEVICE_ATTR_2(fan##ix##_min, S_IRUGO | S_IWUSR, \
static SENSOR_DEVICE_ATTR_2(fan##ix##_alarm, S_IRUGO, \
static SENSOR_DEVICE_ATTR_2(fan##ix##_max, S_IRUGO | S_IWUSR, \

Definition at line 1592 of file dme1737.c.

#define SENSOR_DEVICE_ATTR_IN (   ix)
Value:
static SENSOR_DEVICE_ATTR_2(in##ix##_input, S_IRUGO, \
static SENSOR_DEVICE_ATTR_2(in##ix##_min, S_IRUGO | S_IWUSR, \
static SENSOR_DEVICE_ATTR_2(in##ix##_max, S_IRUGO | S_IWUSR, \
static SENSOR_DEVICE_ATTR_2(in##ix##_alarm, S_IRUGO, \

Definition at line 1516 of file dme1737.c.

#define SENSOR_DEVICE_ATTR_PWM_1TO3 (   ix)
Value:
show_pwm, set_pwm, SYS_PWM, ix-1); \
static SENSOR_DEVICE_ATTR_2(pwm##ix##_freq, S_IRUGO, \
show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
static SENSOR_DEVICE_ATTR_2(pwm##ix##_enable, S_IRUGO, \
show_pwm, set_pwm, SYS_PWM_ENABLE, ix-1); \
static SENSOR_DEVICE_ATTR_2(pwm##ix##_ramp_rate, S_IRUGO, \
show_pwm, set_pwm, SYS_PWM_RAMP_RATE, ix-1); \
static SENSOR_DEVICE_ATTR_2(pwm##ix##_auto_channels_zone, S_IRUGO, \
show_pwm, set_pwm, SYS_PWM_AUTO_CHANNELS_ZONE, ix-1); \
static SENSOR_DEVICE_ATTR_2(pwm##ix##_auto_pwm_min, S_IRUGO, \
show_pwm, set_pwm, SYS_PWM_AUTO_PWM_MIN, ix-1); \
static SENSOR_DEVICE_ATTR_2(pwm##ix##_auto_point1_pwm, S_IRUGO, \
show_pwm, set_pwm, SYS_PWM_AUTO_POINT1_PWM, ix-1); \
static SENSOR_DEVICE_ATTR_2(pwm##ix##_auto_point2_pwm, S_IRUGO, \
show_pwm, NULL, SYS_PWM_AUTO_POINT2_PWM, ix-1)

Definition at line 1607 of file dme1737.c.

#define SENSOR_DEVICE_ATTR_PWM_5TO6 (   ix)
Value:
show_pwm, set_pwm, SYS_PWM, ix-1); \
static SENSOR_DEVICE_ATTR_2(pwm##ix##_freq, S_IRUGO, \
show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
static SENSOR_DEVICE_ATTR_2(pwm##ix##_enable, S_IRUGO, \
show_pwm, NULL, SYS_PWM_ENABLE, ix-1)

Definition at line 1631 of file dme1737.c.

#define SENSOR_DEVICE_ATTR_TEMP (   ix)
Value:

Definition at line 1537 of file dme1737.c.

#define SENSOR_DEVICE_ATTR_ZONE (   ix)
Value:
static SENSOR_DEVICE_ATTR_2(zone##ix##_auto_channels_temp, S_IRUGO, \
show_zone, NULL, SYS_ZONE_AUTO_CHANNELS_TEMP, ix-1); \
static SENSOR_DEVICE_ATTR_2(zone##ix##_auto_point1_temp_hyst, S_IRUGO, \
show_zone, set_zone, SYS_ZONE_AUTO_POINT1_TEMP_HYST, ix-1); \
static SENSOR_DEVICE_ATTR_2(zone##ix##_auto_point1_temp, S_IRUGO, \
show_zone, set_zone, SYS_ZONE_AUTO_POINT1_TEMP, ix-1); \
static SENSOR_DEVICE_ATTR_2(zone##ix##_auto_point2_temp, S_IRUGO, \
show_zone, set_zone, SYS_ZONE_AUTO_POINT2_TEMP, ix-1); \
static SENSOR_DEVICE_ATTR_2(zone##ix##_auto_point3_temp, S_IRUGO, \
show_zone, set_zone, SYS_ZONE_AUTO_POINT3_TEMP, ix-1)

Definition at line 1557 of file dme1737.c.

#define SYS_FAN_ALARM   3

Definition at line 1085 of file dme1737.c.

#define SYS_FAN_INPUT   0

Definition at line 1082 of file dme1737.c.

#define SYS_FAN_MAX   2

Definition at line 1084 of file dme1737.c.

#define SYS_FAN_MIN   1

Definition at line 1083 of file dme1737.c.

#define SYS_FAN_TYPE   4

Definition at line 1086 of file dme1737.c.

#define SYS_IN_ALARM   3

Definition at line 806 of file dme1737.c.

#define SYS_IN_INPUT   0

Definition at line 803 of file dme1737.c.

#define SYS_IN_MAX   2

Definition at line 805 of file dme1737.c.

#define SYS_IN_MIN   1

Definition at line 804 of file dme1737.c.

#define SYS_PWM   0

Definition at line 1195 of file dme1737.c.

#define SYS_PWM_AUTO_CHANNELS_ZONE   4

Definition at line 1199 of file dme1737.c.

#define SYS_PWM_AUTO_POINT1_PWM   6

Definition at line 1201 of file dme1737.c.

#define SYS_PWM_AUTO_POINT2_PWM   7

Definition at line 1202 of file dme1737.c.

#define SYS_PWM_AUTO_PWM_MIN   5

Definition at line 1200 of file dme1737.c.

#define SYS_PWM_ENABLE   2

Definition at line 1197 of file dme1737.c.

#define SYS_PWM_FREQ   1

Definition at line 1196 of file dme1737.c.

#define SYS_PWM_RAMP_RATE   3

Definition at line 1198 of file dme1737.c.

#define SYS_TEMP_ALARM   4

Definition at line 883 of file dme1737.c.

#define SYS_TEMP_FAULT   5

Definition at line 884 of file dme1737.c.

#define SYS_TEMP_INPUT   0

Definition at line 879 of file dme1737.c.

#define SYS_TEMP_MAX   2

Definition at line 881 of file dme1737.c.

#define SYS_TEMP_MIN   1

Definition at line 880 of file dme1737.c.

#define SYS_TEMP_OFFSET   3

Definition at line 882 of file dme1737.c.

#define SYS_ZONE_AUTO_CHANNELS_TEMP   0

Definition at line 968 of file dme1737.c.

#define SYS_ZONE_AUTO_POINT1_TEMP   2

Definition at line 970 of file dme1737.c.

#define SYS_ZONE_AUTO_POINT1_TEMP_HYST   1

Definition at line 969 of file dme1737.c.

#define SYS_ZONE_AUTO_POINT2_TEMP   3

Definition at line 971 of file dme1737.c.

#define SYS_ZONE_AUTO_POINT3_TEMP   4

Definition at line 972 of file dme1737.c.

Enumeration Type Documentation

enum chips
Enumerator:
ad7416 
ad7417 
ad7418 
adm1021 
adm1023 
max1617 
max1617a 
thmc10 
lm84 
gl523sm 
mc1066 
adm1025 
ne1619 
adm1030 
adm1031 
adm9240 
ds1780 
lm81 
adt7473 
adt7475 
adt7476 
adt7490 
amc6821 
dme1737 
sch5027 
sch311x 
sch5127 
f71808e 
f71808a 
f71858fg 
f71862fg 
f71869 
f71869a 
f71882fg 
f71889fg 
f71889ed 
f71889a 
f8000 
f81865f 
f75373 
f75375 
f75387 
fscpos 
fscher 
fscscy 
fschrc 
fschmd 
fschds 
fscsyl 
gl518sm_r00 
gl518sm_r80 
it87 
it8712 
it8716 
it8718 
it8720 
it8721 
it8728 
it8782 
it8783 
lm63 
lm64 
lm96163 
lm78 
lm79 
lm83 
lm82 
any_chip 
lm85b 
lm85c 
adm1027 
adt7463 
adt7468 
emc6d100 
emc6d102 
emc6d103 
emc6d103s 
lm87 
adm1024 
lm90 
adm1032 
lm99 
lm86 
max6657 
max6659 
adt7461 
max6680 
max6646 
w83l771 
max6696 
sa56004 
g781 
max1110 
max1111 
max1112 
max1113 
max16065 
max16066 
max16067 
max16068 
max16070 
max16071 
max1668 
max1805 
max1989 
mcp3021 
mcp3221 
adm1075 
adm1275 
adm1276 
lm25066 
lm5064 
lm5066 
ltc2978 
ltc3880 
max34440 
max34441 
max34446 
ucd9000 
ucd90120 
ucd90124 
ucd9090 
ucd90910 
ucd9200 
ucd9220 
ucd9222 
ucd9224 
ucd9240 
ucd9244 
ucd9246 
ucd9248 
zl2004 
zl2005 
zl2006 
zl2008 
zl2105 
zl2106 
zl6100 
zl6105 
zl9101 
zl9117 
smm465 
smm665 
smm665c 
smm764 
smm766 
smsc47m1 
smsc47m2 
thmc50 
adm1022 
tmp401 
tmp411 
tmp421 
tmp422 
tmp423 
w83627hf 
w83627thf 
w83697hf 
w83637hf 
w83687thf 
w83781d 
w83782d 
w83783s 
as99127f 
DC21040 
DC21041 
DC21140 
DC21142 
DC21143 
LC82C168 
MX98713 
MX98715 
MX98725 
AX88140 
PNIC2 
COMET 
COMPEX9881 
I21145 
DM910X 
CONEXANT 
TPS62360 
TPS62361 
TPS62362 
TPS62363 
sc18is602 
sc18is602b 
sc18is603 
f71808fg 
f71858fg 
f71862fg 
f71869 
f71882fg 
f71889fg 

Definition at line 64 of file dme1737.c.

Function Documentation

MODULE_AUTHOR ( "Juerg Haefliger <[email protected]>"  )
MODULE_DESCRIPTION ( "DME1737 sensors )
MODULE_DEVICE_TABLE ( i2c  ,
dme1737_id   
)
module_exit ( dme1737_exit  )
module_init ( dme1737_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( force_start  ,
bool  ,
 
)
module_param ( force_id  ,
ushort  ,
 
)
module_param ( probe_all_addr  ,
bool  ,
 
)
MODULE_PARM_DESC ( force_start  ,
"Force the chip to start monitoring inputs"   
)
MODULE_PARM_DESC ( force_id  ,
"Override the detected device ID  
)
MODULE_PARM_DESC ( probe_all_addr  ,
"Include probing of non-standard LPC ""addresses"   
)
SENSOR_DEVICE_ATTR_FAN_1TO4 ( )
SENSOR_DEVICE_ATTR_FAN_1TO4 ( )
SENSOR_DEVICE_ATTR_FAN_1TO4 ( )
SENSOR_DEVICE_ATTR_FAN_1TO4 ( )
SENSOR_DEVICE_ATTR_FAN_5TO6 ( )
SENSOR_DEVICE_ATTR_FAN_5TO6 ( )
SENSOR_DEVICE_ATTR_IN ( )
SENSOR_DEVICE_ATTR_IN ( )
SENSOR_DEVICE_ATTR_IN ( )
SENSOR_DEVICE_ATTR_IN ( )
SENSOR_DEVICE_ATTR_IN ( )
SENSOR_DEVICE_ATTR_IN ( )
SENSOR_DEVICE_ATTR_IN ( )
SENSOR_DEVICE_ATTR_IN ( )
SENSOR_DEVICE_ATTR_PWM_1TO3 ( )
SENSOR_DEVICE_ATTR_PWM_1TO3 ( )
SENSOR_DEVICE_ATTR_PWM_1TO3 ( )
SENSOR_DEVICE_ATTR_PWM_5TO6 ( )
SENSOR_DEVICE_ATTR_PWM_5TO6 ( )
SENSOR_DEVICE_ATTR_TEMP ( )
SENSOR_DEVICE_ATTR_TEMP ( )
SENSOR_DEVICE_ATTR_TEMP ( )
SENSOR_DEVICE_ATTR_ZONE ( )
SENSOR_DEVICE_ATTR_ZONE ( )
SENSOR_DEVICE_ATTR_ZONE ( )