|
Linux Kernel
3.7.1
|
#include <linux/module.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>#include <linux/log2.h>#include <linux/slab.h>Go to the source code of this file.
Data Structures | |
| struct | adt7462_data |
Functions | |
| MODULE_DEVICE_TABLE (i2c, adt7462_id) | |
| module_i2c_driver (adt7462_driver) | |
| MODULE_AUTHOR ("Darrick J. Wong <[email protected]>") | |
| MODULE_DESCRIPTION ("ADT7462 driver") | |
| MODULE_LICENSE ("GPL") | |
| #define ADT7462_REG_FAN_MIN | ( | x | ) | (ADT7462_REG_FAN_MIN_BASE_ADDR + (x)) |
| #define ADT7462_REG_PIN_CFG | ( | x | ) | (ADT7462_REG_PIN_CFG_BASE_ADDR + (x)) |
| #define ADT7462_REG_PWM | ( | x | ) | (ADT7462_REG_PWM_BASE_ADDR + (x)) |
| #define ADT7462_REG_PWM_CFG | ( | x | ) | (ADT7462_REG_PWM_CFG_BASE_ADDR + (x)) |
| #define ADT7462_REG_PWM_MIN | ( | x | ) | (ADT7462_REG_PWM_MIN_BASE_ADDR + (x)) |
| #define ADT7462_REG_PWM_TMIN | ( | x | ) | (ADT7462_REG_PWM_TEMP_MIN_BASE_ADDR + (x)) |
| #define ADT7462_REG_PWM_TRANGE | ( | x | ) | (ADT7462_REG_PWM_TEMP_RANGE_BASE_ADDR + (x)) |
| #define ADT7462_TEMP_MAX_REG | ( | x | ) | (ADT7462_REG_MAX_TEMP_BASE_ADDR + (x)) |
| #define ADT7462_TEMP_MIN_REG | ( | x | ) | (ADT7462_REG_MIN_TEMP_BASE_ADDR + (x)) |
| #define ADT7462_TEMP_REG | ( | x | ) | (ADT7462_REG_TEMP_BASE_ADDR + ((x) * 2)) |
| #define FAN_DATA_VALID | ( | x | ) | ((x) && (x) != FAN_PERIOD_INVALID) |
| #define FAN_RPM_TO_PERIOD FAN_PERIOD_TO_RPM |
| MODULE_AUTHOR | ( | "Darrick J. Wong <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "ADT7462 driver" | ) |
| MODULE_DEVICE_TABLE | ( | i2c | , |
| adt7462_id | |||
| ) |
| module_i2c_driver | ( | adt7462_driver | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2