|
Linux Kernel
3.7.1
|
#include <linux/kthread.h>#include <linux/delay.h>#include <linux/kmod.h>#include <linux/reboot.h>#include <linux/of.h>#include <linux/slab.h>#include <linux/of_device.h>#include <asm/oplib.h>#include "bbc_i2c.h"#include "max1617.h"Go to the source code of this file.
Data Structures | |
| struct | temp_limits |
Macros | |
| #define | CPU_FAN_REG 0xf0 |
| #define | SYS_FAN_REG 0xf2 |
| #define | PSUPPLY_FAN_REG 0xf4 |
| #define | FAN_SPEED_MIN 0x0c |
| #define | FAN_SPEED_MAX 0x3f |
| #define | PSUPPLY_FAN_ON 0x1f |
| #define | PSUPPLY_FAN_OFF 0x00 |
| #define | WARN_INTERVAL (30 * HZ) |
| #define | POLL_INTERVAL (5 * 1000) |
Functions | |
| int | bbc_envctrl_init (struct bbc_i2c_bus *bp) |
| void | bbc_envctrl_cleanup (struct bbc_i2c_bus *bp) |
| #define CPU_FAN_REG 0xf0 |
Definition at line 82 of file bbc_envctrl.c.
| #define FAN_SPEED_MAX 0x3f |
Definition at line 87 of file bbc_envctrl.c.
| #define FAN_SPEED_MIN 0x0c |
Definition at line 86 of file bbc_envctrl.c.
| #define POLL_INTERVAL (5 * 1000) |
Definition at line 416 of file bbc_envctrl.c.
| #define PSUPPLY_FAN_OFF 0x00 |
Definition at line 90 of file bbc_envctrl.c.
| #define PSUPPLY_FAN_ON 0x1f |
Definition at line 89 of file bbc_envctrl.c.
| #define PSUPPLY_FAN_REG 0xf4 |
Definition at line 84 of file bbc_envctrl.c.
| #define SYS_FAN_REG 0xf2 |
Definition at line 83 of file bbc_envctrl.c.
| #define WARN_INTERVAL (30 * HZ) |
Definition at line 167 of file bbc_envctrl.c.
| void bbc_envctrl_cleanup | ( | struct bbc_i2c_bus * | bp | ) |
Definition at line 588 of file bbc_envctrl.c.
| int bbc_envctrl_init | ( | struct bbc_i2c_bus * | bp | ) |
Definition at line 560 of file bbc_envctrl.c.
1.8.2