Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/delay.h>
#include <linux/log2.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | ics932s401_data |
Functions | |
MODULE_DEVICE_TABLE (i2c, ics932s401_id) | |
module_i2c_driver (ics932s401_driver) | |
MODULE_AUTHOR ("Darrick J. Wong <[email protected]>") | |
MODULE_DESCRIPTION ("ICS932S401 driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("dmi:bvnIBM:*:rn9228:*") | |
MODULE_ALIAS ("dmi:bvnIBM:*:rn9232:*") | |
MODULE_ALIAS ("dmi:bvnIBM:*:pnIBMSystemx3650*") | |
MODULE_ALIAS ("dmi:bvnIBM:*:pnIBMSystemx3550*") | |
#define BASE_CLOCK 14318 |
Definition at line 67 of file ics932s401.c.
#define ICS932S401_CFG1_SPREAD 0x01 |
Definition at line 36 of file ics932s401.c.
#define ICS932S401_CPU_ALT 0x04 |
Definition at line 48 of file ics932s401.c.
#define ICS932S401_CPU_DIVISOR_SHIFT 4 |
Definition at line 61 of file ics932s401.c.
#define ICS932S401_DEVICE 11 |
Definition at line 45 of file ics932s401.c.
#define ICS932S401_FS_MASK 0x07 |
Definition at line 38 of file ics932s401.c.
#define ICS932S401_M_MASK 0x3F |
Definition at line 51 of file ics932s401.c.
#define ICS932S401_MN_ENABLED 0x80 |
Definition at line 47 of file ics932s401.c.
#define ICS932S401_PCI_DIVISOR_SHIFT 4 |
Definition at line 64 of file ics932s401.c.
#define ICS932S401_REG_CFG2 0x01 |
Definition at line 35 of file ics932s401.c.
#define ICS932S401_REG_CFG7 0x06 |
Definition at line 37 of file ics932s401.c.
#define ICS932S401_REG_CPU_DIVISOR 0x13 |
Definition at line 60 of file ics932s401.c.
#define ICS932S401_REG_CPU_M_CTRL 0x0B |
Definition at line 50 of file ics932s401.c.
#define ICS932S401_REG_CPU_N_CTRL 0x0C |
Definition at line 52 of file ics932s401.c.
#define ICS932S401_REG_CPU_SPREAD1 0x0D |
Definition at line 53 of file ics932s401.c.
#define ICS932S401_REG_CPU_SPREAD2 0x0E |
Definition at line 54 of file ics932s401.c.
#define ICS932S401_REG_CTRL 0x0A |
Definition at line 46 of file ics932s401.c.
#define ICS932S401_REG_DEVICE 0x09 |
Definition at line 44 of file ics932s401.c.
#define ICS932S401_REG_PCISRC_DIVISOR 0x14 |
Definition at line 62 of file ics932s401.c.
#define ICS932S401_REG_SRC_M_CTRL 0x0F |
Definition at line 56 of file ics932s401.c.
#define ICS932S401_REG_SRC_N_CTRL 0x10 |
Definition at line 57 of file ics932s401.c.
#define ICS932S401_REG_SRC_SPREAD1 0x11 |
Definition at line 58 of file ics932s401.c.
#define ICS932S401_REG_SRC_SPREAD2 0x12 |
Definition at line 59 of file ics932s401.c.
#define ICS932S401_REG_VENDOR_REV 0x07 |
Definition at line 39 of file ics932s401.c.
#define ICS932S401_REV 4 |
Definition at line 42 of file ics932s401.c.
#define ICS932S401_REV_SHIFT 4 |
Definition at line 43 of file ics932s401.c.
#define ICS932S401_SPREAD_MASK 0x7FFF |
Definition at line 55 of file ics932s401.c.
#define ICS932S401_SRC_ALT 0x08 |
Definition at line 49 of file ics932s401.c.
#define ICS932S401_SRC_DIVISOR_MASK 0x0F |
Definition at line 63 of file ics932s401.c.
#define ICS932S401_VENDOR 1 |
Definition at line 40 of file ics932s401.c.
#define ICS932S401_VENDOR_MASK 0x0F |
Definition at line 41 of file ics932s401.c.
#define LIMIT_REFRESH_INTERVAL (60 * HZ) |
Definition at line 94 of file ics932s401.c.
#define NUM_MIRRORED_REGS 15 |
Definition at line 70 of file ics932s401.c.
#define NUM_REGS 21 |
Definition at line 69 of file ics932s401.c.
#define SENSOR_REFRESH_INTERVAL (2 * HZ) |
Definition at line 91 of file ics932s401.c.
MODULE_ALIAS | ( | "dmi:bvnIBM:*:rn9228:*" | ) |
MODULE_ALIAS | ( | "dmi:bvnIBM:*:rn9232:*" | ) |
MODULE_ALIAS | ( | "dmi:bvnIBM:*:pnIBMSystemx3650*" | ) |
MODULE_ALIAS | ( | "dmi:bvnIBM:*:pnIBMSystemx3550*" | ) |
MODULE_AUTHOR | ( | "Darrick J. Wong <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "ICS932S401 driver" | ) |
MODULE_DEVICE_TABLE | ( | i2c | , |
ics932s401_id | |||
) |
module_i2c_driver | ( | ics932s401_driver | ) |
MODULE_LICENSE | ( | "GPL" | ) |