#include <linux/ipmi.h>
#include <linux/module.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/jiffies.h>
#include <linux/mutex.h>
#include <linux/kdev_t.h>
#include <linux/spinlock.h>
#include <linux/idr.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/platform_device.h>
#include <linux/math64.h>
#include <linux/time.h>
#include <linux/err.h>
Go to the source code of this file.
#define AEM1_NUM_ENERGY_REGS 1 |
#define AEM1_NUM_SENSORS 3 |
#define AEM2_NUM_ENERGY_REGS 2 |
#define AEM2_NUM_PCAP_REGS 6 |
#define AEM2_NUM_SENSORS 14 |
#define AEM2_NUM_TEMP_REGS 2 |
#define AEM_CLEAR_REG_MASK 0x85 |
#define AEM_CLOCK_ELEMENT 4 |
#define AEM_CONTROL_ELEMENT 0 |
#define AEM_DEFAULT_POWER_INTERVAL 1000 |
#define AEM_ELEMENT_CMD 0x81 |
#define AEM_ENERGY_ELEMENT 1 |
#define AEM_EXHAUST_ELEMENT 9 |
#define AEM_FIND_FW_CMD 0x80 |
#define AEM_FW_INSTANCE_CMD 0x82 |
#define AEM_MIN_POWER_INTERVAL 200 |
#define AEM_MODULE_TYPE_ID 0x0001 |
#define AEM_POWER_CAP_ELEMENT 7 |
#define AEM_POWER_ELEMENT 10 |
#define AEM_READ_BUFFER 0x81 |
#define AEM_READ_ELEMENT_CFG 0x80 |
#define AEM_READ_ELEMENT_CFG2 0x86 |
#define AEM_READ_REGISTER 0x82 |
#define AEM_SET_REG_MASK 0x84 |
#define AEM_WRITE_REGISTER 0x83 |
#define IPMI_TIMEOUT (30 * HZ) |
#define POWER_CAP_MAX_HOTPLUG 1 |
#define POWER_CAP_MIN_WARNING 3 |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define REFRESH_INTERVAL (HZ) |
MODULE_ALIAS |
( |
"dmi:bvnIBM:*:pnIBMSystemx3350-*" |
| ) |
|
MODULE_ALIAS |
( |
"dmi:bvnIBM:*:pnIBMSystemx3550-*" |
| ) |
|
MODULE_ALIAS |
( |
"dmi:bvnIBM:*:pnIBMSystemx3650-*" |
| ) |
|
MODULE_ALIAS |
( |
"dmi:bvnIBM:*:pnIBMSystemx3655-*" |
| ) |
|
MODULE_ALIAS |
( |
"dmi:bvnIBM:*:pnIBMSystemx3755-*" |
| ) |
|
MODULE_ALIAS |
( |
"dmi:bvnIBM:*:pnIBM3850M2/x3950M2-*" |
| ) |
|
MODULE_ALIAS |
( |
"dmi:bvnIBM:*:pnIBMBladeHC10-*" |
| ) |
|
MODULE_DESCRIPTION |
( |
"IBM AEM power/temp/energy sensor driver" |
| ) |
|