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

Go to the source code of this file.

Data Structures

struct  smm665_data
 

Macros

#define SMM665_VREF_ADC_X1000   1250
 
#define SMM665_MISC16_ADC_DATA_A   0x00
 
#define SMM665_MISC16_ADC_DATA_B   0x01
 
#define SMM665_MISC16_ADC_DATA_C   0x02
 
#define SMM665_MISC16_ADC_DATA_D   0x03
 
#define SMM665_MISC16_ADC_DATA_E   0x04
 
#define SMM665_MISC16_ADC_DATA_F   0x05
 
#define SMM665_MISC16_ADC_DATA_VDD   0x06
 
#define SMM665_MISC16_ADC_DATA_12V   0x07
 
#define SMM665_MISC16_ADC_DATA_INT_TEMP   0x08
 
#define SMM665_MISC16_ADC_DATA_AIN1   0x09
 
#define SMM665_MISC16_ADC_DATA_AIN2   0x0a
 
#define SMM665_MISC8_CMD_STS   0x80
 
#define SMM665_MISC8_STATUS1   0x81
 
#define SMM665_MISC8_STATUSS2   0x82
 
#define SMM665_MISC8_IO_POLARITY   0x83
 
#define SMM665_MISC8_PUP_POLARITY   0x84
 
#define SMM665_MISC8_ADOC_STATUS1   0x85
 
#define SMM665_MISC8_ADOC_STATUS2   0x86
 
#define SMM665_MISC8_WRITE_PROT   0x87
 
#define SMM665_MISC8_STS_TRACK   0x88
 
#define SMM665_ADOC_ENABLE   0x0d
 
#define SMM665_LIMIT_BASE   0x80 /* First limit register */
 
#define SMM665_TRIGGER_RST   0x8000
 
#define SMM665_TRIGGER_HEALTHY   0x4000
 
#define SMM665_TRIGGER_POWEROFF   0x2000
 
#define SMM665_TRIGGER_SHUTDOWN   0x1000
 
#define SMM665_ADC_MASK   0x03ff
 
#define smm665_is_critical(lim)
 
#define SMM665_FAULT_A   0x0001
 
#define SMM665_FAULT_B   0x0002
 
#define SMM665_FAULT_C   0x0004
 
#define SMM665_FAULT_D   0x0008
 
#define SMM665_FAULT_E   0x0010
 
#define SMM665_FAULT_F   0x0020
 
#define SMM665_FAULT_VDD   0x0040
 
#define SMM665_FAULT_12V   0x0080
 
#define SMM665_FAULT_TEMP   0x0100
 
#define SMM665_FAULT_AIN1   0x0200
 
#define SMM665_FAULT_AIN2   0x0400
 
#define SMM665_REGMASK   0x78
 
#define SMM665_CMDREG_BASE   0x48
 
#define SMM665_CONFREG_BASE   0x50
 
#define SMM665_VMON_ADC_TO_VOLTS(adc)   ((adc) * vref / 256)
 
#define SMM665_12VIN_ADC_TO_VOLTS(adc)   ((adc) * vref * 3 / 256)
 
#define SMM665_AIN_ADC_TO_VOLTS(adc)   ((adc) * vref / 512)
 
#define SMM665_TEMP_ADC_TO_CELSIUS(adc)
 
#define SMM665_NUM_ADC   11
 
#define SMM665_ADC_WAIT_SMM665   70
 
#define SMM665_ADC_WAIT_SMM766   185
 
#define SMM665_SHOW(what)
 
#define SMM665_ATTR(name, type, cmd_idx)
 

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 (vref, int, 0)
 
 MODULE_PARM_DESC (vref,"Reference voltage in mV")
 
 SMM665_SHOW (min)
 
 SMM665_SHOW (max)
 
 SMM665_SHOW (lcrit)
 
 SMM665_SHOW (crit)
 
 SMM665_ATTR (in1, input, SMM665_MISC16_ADC_DATA_12V)
 
 SMM665_ATTR (in2, input, SMM665_MISC16_ADC_DATA_VDD)
 
 SMM665_ATTR (in3, input, SMM665_MISC16_ADC_DATA_A)
 
 SMM665_ATTR (in4, input, SMM665_MISC16_ADC_DATA_B)
 
 SMM665_ATTR (in5, input, SMM665_MISC16_ADC_DATA_C)
 
 SMM665_ATTR (in6, input, SMM665_MISC16_ADC_DATA_D)
 
 SMM665_ATTR (in7, input, SMM665_MISC16_ADC_DATA_E)
 
 SMM665_ATTR (in8, input, SMM665_MISC16_ADC_DATA_F)
 
 SMM665_ATTR (in9, input, SMM665_MISC16_ADC_DATA_AIN1)
 
 SMM665_ATTR (in10, input, SMM665_MISC16_ADC_DATA_AIN2)
 
 SMM665_ATTR (in1, min, SMM665_MISC16_ADC_DATA_12V)
 
 SMM665_ATTR (in2, min, SMM665_MISC16_ADC_DATA_VDD)
 
 SMM665_ATTR (in3, min, SMM665_MISC16_ADC_DATA_A)
 
 SMM665_ATTR (in4, min, SMM665_MISC16_ADC_DATA_B)
 
 SMM665_ATTR (in5, min, SMM665_MISC16_ADC_DATA_C)
 
 SMM665_ATTR (in6, min, SMM665_MISC16_ADC_DATA_D)
 
 SMM665_ATTR (in7, min, SMM665_MISC16_ADC_DATA_E)
 
 SMM665_ATTR (in8, min, SMM665_MISC16_ADC_DATA_F)
 
 SMM665_ATTR (in9, min, SMM665_MISC16_ADC_DATA_AIN1)
 
 SMM665_ATTR (in10, min, SMM665_MISC16_ADC_DATA_AIN2)
 
 SMM665_ATTR (in1, max, SMM665_MISC16_ADC_DATA_12V)
 
 SMM665_ATTR (in2, max, SMM665_MISC16_ADC_DATA_VDD)
 
 SMM665_ATTR (in3, max, SMM665_MISC16_ADC_DATA_A)
 
 SMM665_ATTR (in4, max, SMM665_MISC16_ADC_DATA_B)
 
 SMM665_ATTR (in5, max, SMM665_MISC16_ADC_DATA_C)
 
 SMM665_ATTR (in6, max, SMM665_MISC16_ADC_DATA_D)
 
 SMM665_ATTR (in7, max, SMM665_MISC16_ADC_DATA_E)
 
 SMM665_ATTR (in8, max, SMM665_MISC16_ADC_DATA_F)
 
 SMM665_ATTR (in9, max, SMM665_MISC16_ADC_DATA_AIN1)
 
 SMM665_ATTR (in10, max, SMM665_MISC16_ADC_DATA_AIN2)
 
 SMM665_ATTR (in1, lcrit, SMM665_MISC16_ADC_DATA_12V)
 
 SMM665_ATTR (in2, lcrit, SMM665_MISC16_ADC_DATA_VDD)
 
 SMM665_ATTR (in3, lcrit, SMM665_MISC16_ADC_DATA_A)
 
 SMM665_ATTR (in4, lcrit, SMM665_MISC16_ADC_DATA_B)
 
 SMM665_ATTR (in5, lcrit, SMM665_MISC16_ADC_DATA_C)
 
 SMM665_ATTR (in6, lcrit, SMM665_MISC16_ADC_DATA_D)
 
 SMM665_ATTR (in7, lcrit, SMM665_MISC16_ADC_DATA_E)
 
 SMM665_ATTR (in8, lcrit, SMM665_MISC16_ADC_DATA_F)
 
 SMM665_ATTR (in9, lcrit, SMM665_MISC16_ADC_DATA_AIN1)
 
 SMM665_ATTR (in10, lcrit, SMM665_MISC16_ADC_DATA_AIN2)
 
 SMM665_ATTR (in1, crit, SMM665_MISC16_ADC_DATA_12V)
 
 SMM665_ATTR (in2, crit, SMM665_MISC16_ADC_DATA_VDD)
 
 SMM665_ATTR (in3, crit, SMM665_MISC16_ADC_DATA_A)
 
 SMM665_ATTR (in4, crit, SMM665_MISC16_ADC_DATA_B)
 
 SMM665_ATTR (in5, crit, SMM665_MISC16_ADC_DATA_C)
 
 SMM665_ATTR (in6, crit, SMM665_MISC16_ADC_DATA_D)
 
 SMM665_ATTR (in7, crit, SMM665_MISC16_ADC_DATA_E)
 
 SMM665_ATTR (in8, crit, SMM665_MISC16_ADC_DATA_F)
 
 SMM665_ATTR (in9, crit, SMM665_MISC16_ADC_DATA_AIN1)
 
 SMM665_ATTR (in10, crit, SMM665_MISC16_ADC_DATA_AIN2)
 
 SMM665_ATTR (in1, crit_alarm, SMM665_FAULT_12V)
 
 SMM665_ATTR (in2, crit_alarm, SMM665_FAULT_VDD)
 
 SMM665_ATTR (in3, crit_alarm, SMM665_FAULT_A)
 
 SMM665_ATTR (in4, crit_alarm, SMM665_FAULT_B)
 
 SMM665_ATTR (in5, crit_alarm, SMM665_FAULT_C)
 
 SMM665_ATTR (in6, crit_alarm, SMM665_FAULT_D)
 
 SMM665_ATTR (in7, crit_alarm, SMM665_FAULT_E)
 
 SMM665_ATTR (in8, crit_alarm, SMM665_FAULT_F)
 
 SMM665_ATTR (in9, crit_alarm, SMM665_FAULT_AIN1)
 
 SMM665_ATTR (in10, crit_alarm, SMM665_FAULT_AIN2)
 
 SMM665_ATTR (temp1, input, SMM665_MISC16_ADC_DATA_INT_TEMP)
 
 SMM665_ATTR (temp1, min, SMM665_MISC16_ADC_DATA_INT_TEMP)
 
 SMM665_ATTR (temp1, max, SMM665_MISC16_ADC_DATA_INT_TEMP)
 
 SMM665_ATTR (temp1, lcrit, SMM665_MISC16_ADC_DATA_INT_TEMP)
 
 SMM665_ATTR (temp1, crit, SMM665_MISC16_ADC_DATA_INT_TEMP)
 
 SMM665_ATTR (temp1, crit_alarm, SMM665_FAULT_TEMP)
 
 MODULE_DEVICE_TABLE (i2c, smm665_id)
 
 module_i2c_driver (smm665_driver)
 
 MODULE_AUTHOR ("Guenter Roeck")
 
 MODULE_DESCRIPTION ("SMM665 driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define SMM665_12VIN_ADC_TO_VOLTS (   adc)    ((adc) * vref * 3 / 256)

Definition at line 122 of file smm665.c.

#define SMM665_ADC_MASK   0x03ff

Definition at line 80 of file smm665.c.

#define SMM665_ADC_WAIT_SMM665   70

Definition at line 137 of file smm665.c.

#define SMM665_ADC_WAIT_SMM766   185

Definition at line 138 of file smm665.c.

#define SMM665_ADOC_ENABLE   0x0d

Definition at line 70 of file smm665.c.

#define SMM665_AIN_ADC_TO_VOLTS (   adc)    ((adc) * vref / 512)

Definition at line 125 of file smm665.c.

#define SMM665_ATTR (   name,
  type,
  cmd_idx 
)
Value:
smm665_show_##type, NULL, cmd_idx)

Definition at line 399 of file smm665.c.

#define SMM665_CMDREG_BASE   0x48

Definition at line 109 of file smm665.c.

#define SMM665_CONFREG_BASE   0x50

Definition at line 110 of file smm665.c.

#define SMM665_FAULT_12V   0x0080

Definition at line 97 of file smm665.c.

#define SMM665_FAULT_A   0x0001

Definition at line 90 of file smm665.c.

#define SMM665_FAULT_AIN1   0x0200

Definition at line 99 of file smm665.c.

#define SMM665_FAULT_AIN2   0x0400

Definition at line 100 of file smm665.c.

#define SMM665_FAULT_B   0x0002

Definition at line 91 of file smm665.c.

#define SMM665_FAULT_C   0x0004

Definition at line 92 of file smm665.c.

#define SMM665_FAULT_D   0x0008

Definition at line 93 of file smm665.c.

#define SMM665_FAULT_E   0x0010

Definition at line 94 of file smm665.c.

#define SMM665_FAULT_F   0x0020

Definition at line 95 of file smm665.c.

#define SMM665_FAULT_TEMP   0x0100

Definition at line 98 of file smm665.c.

#define SMM665_FAULT_VDD   0x0040

Definition at line 96 of file smm665.c.

#define smm665_is_critical (   lim)
Value:

Definition at line 82 of file smm665.c.

#define SMM665_LIMIT_BASE   0x80 /* First limit register */

Definition at line 71 of file smm665.c.

#define SMM665_MISC16_ADC_DATA_12V   0x07

Definition at line 49 of file smm665.c.

#define SMM665_MISC16_ADC_DATA_A   0x00

Definition at line 42 of file smm665.c.

#define SMM665_MISC16_ADC_DATA_AIN1   0x09

Definition at line 51 of file smm665.c.

#define SMM665_MISC16_ADC_DATA_AIN2   0x0a

Definition at line 52 of file smm665.c.

#define SMM665_MISC16_ADC_DATA_B   0x01

Definition at line 43 of file smm665.c.

#define SMM665_MISC16_ADC_DATA_C   0x02

Definition at line 44 of file smm665.c.

#define SMM665_MISC16_ADC_DATA_D   0x03

Definition at line 45 of file smm665.c.

#define SMM665_MISC16_ADC_DATA_E   0x04

Definition at line 46 of file smm665.c.

#define SMM665_MISC16_ADC_DATA_F   0x05

Definition at line 47 of file smm665.c.

#define SMM665_MISC16_ADC_DATA_INT_TEMP   0x08

Definition at line 50 of file smm665.c.

#define SMM665_MISC16_ADC_DATA_VDD   0x06

Definition at line 48 of file smm665.c.

#define SMM665_MISC8_ADOC_STATUS1   0x85

Definition at line 62 of file smm665.c.

#define SMM665_MISC8_ADOC_STATUS2   0x86

Definition at line 63 of file smm665.c.

#define SMM665_MISC8_CMD_STS   0x80

Definition at line 57 of file smm665.c.

#define SMM665_MISC8_IO_POLARITY   0x83

Definition at line 60 of file smm665.c.

#define SMM665_MISC8_PUP_POLARITY   0x84

Definition at line 61 of file smm665.c.

#define SMM665_MISC8_STATUS1   0x81

Definition at line 58 of file smm665.c.

#define SMM665_MISC8_STATUSS2   0x82

Definition at line 59 of file smm665.c.

#define SMM665_MISC8_STS_TRACK   0x88

Definition at line 65 of file smm665.c.

#define SMM665_MISC8_WRITE_PROT   0x87

Definition at line 64 of file smm665.c.

#define SMM665_NUM_ADC   11

Definition at line 132 of file smm665.c.

#define SMM665_REGMASK   0x78

Definition at line 108 of file smm665.c.

#define SMM665_SHOW (   what)
Value:
static ssize_t smm665_show_##what(struct device *dev, \
struct device_attribute *da, char *buf) \
{ \
const int val = smm665_get_##what(dev, attr->index); \
return snprintf(buf, PAGE_SIZE, "%d\n", val); \
}

Definition at line 379 of file smm665.c.

#define SMM665_TEMP_ADC_TO_CELSIUS (   adc)
Value:
(((adc) <= 511) ? \
((int)(adc) * 1000 / 4) : \
(((int)(adc) - 0x400) * 1000 / 4))

Definition at line 128 of file smm665.c.

#define SMM665_TRIGGER_HEALTHY   0x4000

Definition at line 77 of file smm665.c.

#define SMM665_TRIGGER_POWEROFF   0x2000

Definition at line 78 of file smm665.c.

#define SMM665_TRIGGER_RST   0x8000

Definition at line 76 of file smm665.c.

#define SMM665_TRIGGER_SHUTDOWN   0x1000

Definition at line 79 of file smm665.c.

#define SMM665_VMON_ADC_TO_VOLTS (   adc)    ((adc) * vref / 256)

Definition at line 119 of file smm665.c.

#define SMM665_VREF_ADC_X1000   1250

Definition at line 30 of file smm665.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 37 of file smm665.c.

Function Documentation

MODULE_AUTHOR ( "Guenter Roeck"  )
MODULE_DESCRIPTION ( "SMM665 driver )
MODULE_DEVICE_TABLE ( i2c  ,
smm665_id   
)
module_i2c_driver ( smm665_driver  )
MODULE_LICENSE ( "GPL"  )
module_param ( vref  ,
int  ,
 
)
MODULE_PARM_DESC ( vref  ,
"Reference voltage in mV"   
)
SMM665_ATTR ( in1  ,
input  ,
SMM665_MISC16_ADC_DATA_12V   
)
SMM665_ATTR ( in2  ,
input  ,
SMM665_MISC16_ADC_DATA_VDD   
)
SMM665_ATTR ( in3  ,
input  ,
SMM665_MISC16_ADC_DATA_A   
)
SMM665_ATTR ( in4  ,
input  ,
SMM665_MISC16_ADC_DATA_B   
)
SMM665_ATTR ( in5  ,
input  ,
SMM665_MISC16_ADC_DATA_C   
)
SMM665_ATTR ( in6  ,
input  ,
SMM665_MISC16_ADC_DATA_D   
)
SMM665_ATTR ( in7  ,
input  ,
SMM665_MISC16_ADC_DATA_E   
)
SMM665_ATTR ( in8  ,
input  ,
SMM665_MISC16_ADC_DATA_F   
)
SMM665_ATTR ( in9  ,
input  ,
SMM665_MISC16_ADC_DATA_AIN1   
)
SMM665_ATTR ( in10  ,
input  ,
SMM665_MISC16_ADC_DATA_AIN2   
)
SMM665_ATTR ( in1  ,
min  ,
SMM665_MISC16_ADC_DATA_12V   
)
SMM665_ATTR ( in2  ,
min  ,
SMM665_MISC16_ADC_DATA_VDD   
)
SMM665_ATTR ( in3  ,
min  ,
SMM665_MISC16_ADC_DATA_A   
)
SMM665_ATTR ( in4  ,
min  ,
SMM665_MISC16_ADC_DATA_B   
)
SMM665_ATTR ( in5  ,
min  ,
SMM665_MISC16_ADC_DATA_C   
)
SMM665_ATTR ( in6  ,
min  ,
SMM665_MISC16_ADC_DATA_D   
)
SMM665_ATTR ( in7  ,
min  ,
SMM665_MISC16_ADC_DATA_E   
)
SMM665_ATTR ( in8  ,
min  ,
SMM665_MISC16_ADC_DATA_F   
)
SMM665_ATTR ( in9  ,
min  ,
SMM665_MISC16_ADC_DATA_AIN1   
)
SMM665_ATTR ( in10  ,
min  ,
SMM665_MISC16_ADC_DATA_AIN2   
)
SMM665_ATTR ( in1  ,
max  ,
SMM665_MISC16_ADC_DATA_12V   
)
SMM665_ATTR ( in2  ,
max  ,
SMM665_MISC16_ADC_DATA_VDD   
)
SMM665_ATTR ( in3  ,
max  ,
SMM665_MISC16_ADC_DATA_A   
)
SMM665_ATTR ( in4  ,
max  ,
SMM665_MISC16_ADC_DATA_B   
)
SMM665_ATTR ( in5  ,
max  ,
SMM665_MISC16_ADC_DATA_C   
)
SMM665_ATTR ( in6  ,
max  ,
SMM665_MISC16_ADC_DATA_D   
)
SMM665_ATTR ( in7  ,
max  ,
SMM665_MISC16_ADC_DATA_E   
)
SMM665_ATTR ( in8  ,
max  ,
SMM665_MISC16_ADC_DATA_F   
)
SMM665_ATTR ( in9  ,
max  ,
SMM665_MISC16_ADC_DATA_AIN1   
)
SMM665_ATTR ( in10  ,
max  ,
SMM665_MISC16_ADC_DATA_AIN2   
)
SMM665_ATTR ( in1  ,
lcrit  ,
SMM665_MISC16_ADC_DATA_12V   
)
SMM665_ATTR ( in2  ,
lcrit  ,
SMM665_MISC16_ADC_DATA_VDD   
)
SMM665_ATTR ( in3  ,
lcrit  ,
SMM665_MISC16_ADC_DATA_A   
)
SMM665_ATTR ( in4  ,
lcrit  ,
SMM665_MISC16_ADC_DATA_B   
)
SMM665_ATTR ( in5  ,
lcrit  ,
SMM665_MISC16_ADC_DATA_C   
)
SMM665_ATTR ( in6  ,
lcrit  ,
SMM665_MISC16_ADC_DATA_D   
)
SMM665_ATTR ( in7  ,
lcrit  ,
SMM665_MISC16_ADC_DATA_E   
)
SMM665_ATTR ( in8  ,
lcrit  ,
SMM665_MISC16_ADC_DATA_F   
)
SMM665_ATTR ( in9  ,
lcrit  ,
SMM665_MISC16_ADC_DATA_AIN1   
)
SMM665_ATTR ( in10  ,
lcrit  ,
SMM665_MISC16_ADC_DATA_AIN2   
)
SMM665_ATTR ( in1  ,
crit  ,
SMM665_MISC16_ADC_DATA_12V   
)
SMM665_ATTR ( in2  ,
crit  ,
SMM665_MISC16_ADC_DATA_VDD   
)
SMM665_ATTR ( in3  ,
crit  ,
SMM665_MISC16_ADC_DATA_A   
)
SMM665_ATTR ( in4  ,
crit  ,
SMM665_MISC16_ADC_DATA_B   
)
SMM665_ATTR ( in5  ,
crit  ,
SMM665_MISC16_ADC_DATA_C   
)
SMM665_ATTR ( in6  ,
crit  ,
SMM665_MISC16_ADC_DATA_D   
)
SMM665_ATTR ( in7  ,
crit  ,
SMM665_MISC16_ADC_DATA_E   
)
SMM665_ATTR ( in8  ,
crit  ,
SMM665_MISC16_ADC_DATA_F   
)
SMM665_ATTR ( in9  ,
crit  ,
SMM665_MISC16_ADC_DATA_AIN1   
)
SMM665_ATTR ( in10  ,
crit  ,
SMM665_MISC16_ADC_DATA_AIN2   
)
SMM665_ATTR ( in1  ,
crit_alarm  ,
SMM665_FAULT_12V   
)
SMM665_ATTR ( in2  ,
crit_alarm  ,
SMM665_FAULT_VDD   
)
SMM665_ATTR ( in3  ,
crit_alarm  ,
SMM665_FAULT_A   
)
SMM665_ATTR ( in4  ,
crit_alarm  ,
SMM665_FAULT_B   
)
SMM665_ATTR ( in5  ,
crit_alarm  ,
SMM665_FAULT_C   
)
SMM665_ATTR ( in6  ,
crit_alarm  ,
SMM665_FAULT_D   
)
SMM665_ATTR ( in7  ,
crit_alarm  ,
SMM665_FAULT_E   
)
SMM665_ATTR ( in8  ,
crit_alarm  ,
SMM665_FAULT_F   
)
SMM665_ATTR ( in9  ,
crit_alarm  ,
SMM665_FAULT_AIN1   
)
SMM665_ATTR ( in10  ,
crit_alarm  ,
SMM665_FAULT_AIN2   
)
SMM665_ATTR ( temp1  ,
input  ,
SMM665_MISC16_ADC_DATA_INT_TEMP   
)
SMM665_ATTR ( temp1  ,
min  ,
SMM665_MISC16_ADC_DATA_INT_TEMP   
)
SMM665_ATTR ( temp1  ,
max  ,
SMM665_MISC16_ADC_DATA_INT_TEMP   
)
SMM665_ATTR ( temp1  ,
lcrit  ,
SMM665_MISC16_ADC_DATA_INT_TEMP   
)
SMM665_ATTR ( temp1  ,
crit  ,
SMM665_MISC16_ADC_DATA_INT_TEMP   
)
SMM665_ATTR ( temp1  ,
crit_alarm  ,
SMM665_FAULT_TEMP   
)
SMM665_SHOW ( min  )
SMM665_SHOW ( max  )
SMM665_SHOW ( lcrit  )
SMM665_SHOW ( crit  )