#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.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>
Go to the source code of this file.
|
#define | INTERVAL_HIGH (HZ + HZ / 2) |
|
#define | INTERVAL_LOW (1 * 60 * HZ) |
|
#define | PRI_NONE 0 |
|
#define | PRI_LOW 1 |
|
#define | PRI_HIGH 2 |
|
#define | FIRST_CHIP asc7621 |
|
#define | LAST_CHIP asc7621a |
|
#define | LAST_REGISTER 0xff |
|
#define | to_asc7621_param(_sda) container_of(_sda, struct asc7621_param, sda) |
|
#define | SETUP_SHOW_data_param(d, a) |
|
#define | SETUP_STORE_data_param(d, a) |
|
#define | VAA(args...) {args} |
|
#define | PREAD(name, n, pri, rm, rl, m, s, r) |
|
#define | PWRITE(name, n, pri, rm, rl, m, s, r) |
|
#define | PWRITEM(name, n, pri, rm, rl, m, s, r) |
|
#define INTERVAL_HIGH (HZ + HZ / 2) |
#define INTERVAL_LOW (1 * 60 * HZ) |
#define LAST_REGISTER 0xff |
Value:
.priority =
pri, .msb[0] = rm, .lsb[0] = rl, .mask[0] =
m, \
Definition at line 813 of file asc7621.c.
Value:
.priority =
pri, .msb[0] = rm, .lsb[0] = rl, .mask[0] =
m, \
Definition at line 818 of file asc7621.c.
Value:
.priority =
pri, .msb = rm, .lsb = rl, .mask =
m, .shift =
s,}
Definition at line 827 of file asc7621.c.
#define SETUP_SHOW_data_param |
( |
|
d, |
|
|
|
a |
|
) |
| |
#define SETUP_STORE_data_param |
( |
|
d, |
|
|
|
a |
|
) |
| |
#define VAA |
( |
|
args... | ) |
{args} |
MODULE_AUTHOR |
( |
"George Joseph" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Andigilog aSC7621 and aSC7621a driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
asc7621_id |
|
|
) |
| |
module_exit |
( |
sm_asc7621_exit |
| ) |
|
module_init |
( |
sm_asc7621_init |
| ) |
|