#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/mutex.h>
#include <linux/sysfs.h>
#include <linux/mod_devicetable.h>
#include <linux/log2.h>
#include <linux/bitops.h>
#include <linux/jiffies.h>
#include <linux/of.h>
#include <linux/i2c.h>
#include <linux/i2c/at24.h>
Go to the source code of this file.
#define AT24_BITMASK |
( |
|
x | ) |
(BIT(x) - 1) |
#define AT24_DEVICE_MAGIC |
( |
|
_len, |
|
|
|
_flags |
|
) |
| |
Value:
Definition at line 105 of file at24.c.
#define AT24_SIZE_BYTELEN 5 |
#define AT24_SIZE_FLAGS 8 |
MODULE_AUTHOR |
( |
"David Brownell and Wolfram Sang" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Driver for most I2C EEPROMs" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
at24_ids |
|
|
) |
| |
module_exit |
( |
at24_exit |
| ) |
|
module_init |
( |
at24_init |
| ) |
|
module_param |
( |
write_timeout |
, |
|
|
uint |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
write_timeout |
, |
|
|
"Time (in ms) to try writes (default 25)" |
|
|
) |
| |