#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/jiffies.h>
Go to the source code of this file.
|
| LTC4215_CURRENT (curr1_input) |
|
| LTC4215_ALARM (curr1_max_alarm,(1<< 2), LTC4215_STATUS) |
|
| LTC4215_POWER (power1_input) |
|
| LTC4215_VOLTAGE (in1_input, LTC4215_ADIN) |
|
| LTC4215_ALARM (in1_max_alarm,(1<< 0), LTC4215_STATUS) |
|
| LTC4215_ALARM (in1_min_alarm,(1<< 1), LTC4215_STATUS) |
|
| LTC4215_VOLTAGE (in2_input, LTC4215_SOURCE) |
|
| LTC4215_ALARM (in2_min_alarm,(1<< 3), LTC4215_STATUS) |
|
| MODULE_DEVICE_TABLE (i2c, ltc4215_id) |
|
| module_i2c_driver (ltc4215_driver) |
|
| MODULE_AUTHOR ("Ira W. Snyder <[email protected]>") |
|
| MODULE_DESCRIPTION ("LTC4215 driver") |
|
| MODULE_LICENSE ("GPL") |
|
#define LTC4215_CURRENT |
( |
|
name | ) |
|
Value:
ltc4215_show_current,
NULL, 0);
Definition at line 193 of file ltc4215.c.
#define LTC4215_POWER |
( |
|
name | ) |
|
#define LTC4215_VOLTAGE |
( |
|
name, |
|
|
|
ltc4215_cmd_idx |
|
) |
| |
Value:
ltc4215_show_voltage,
NULL, ltc4215_cmd_idx)
Definition at line 189 of file ltc4215.c.
- Enumerator:
LTC4215_CONTROL |
|
LTC4215_ALERT |
|
LTC4215_STATUS |
|
LTC4215_FAULT |
|
LTC4215_SENSE |
|
LTC4215_SOURCE |
|
LTC4215_ADIN |
|
Definition at line 25 of file ltc4215.c.
LTC4215_CURRENT |
( |
curr1_input |
| ) |
|
LTC4215_POWER |
( |
power1_input |
| ) |
|
MODULE_DESCRIPTION |
( |
"LTC4215 driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
ltc4215_id |
|
|
) |
| |
module_i2c_driver |
( |
ltc4215_driver |
| ) |
|