#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/device.h>
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/w1.h>
#define W1_EEPROM_DS2805 …
#define W1_F0D_EEPROM_SIZE …
#define W1_F0D_PAGE_BITS …
#define W1_F0D_PAGE_SIZE …
#define W1_F0D_PAGE_MASK …
#define W1_F0D_SCRATCH_BITS …
#define W1_F0D_SCRATCH_SIZE …
#define W1_F0D_SCRATCH_MASK …
#define W1_F0D_READ_EEPROM …
#define W1_F0D_WRITE_EEPROM …
#define W1_F0D_RELEASE …
#define W1_F0D_CS_OK …
#define W1_F0D_TPROG_MS …
#define W1_F0D_READ_RETRIES …
#define W1_F0D_READ_MAXLEN …
static inline size_t w1_f0d_fix_count(loff_t off, size_t count, size_t size)
{ … }
static int w1_f0d_readblock(struct w1_slave *sl, int off, int count, char *buf)
{ … }
static ssize_t w1_f0d_read_bin(struct file *filp, struct kobject *kobj,
struct bin_attribute *bin_attr,
char *buf, loff_t off, size_t count)
{ … }
static int w1_f0d_write(struct w1_slave *sl, int addr, int len, const u8 *data)
{ … }
static ssize_t w1_f0d_write_bin(struct file *filp, struct kobject *kobj,
struct bin_attribute *bin_attr,
char *buf, loff_t off, size_t count)
{ … }
static struct bin_attribute w1_f0d_bin_attr = …;
static int w1_f0d_add_slave(struct w1_slave *sl)
{ … }
static void w1_f0d_remove_slave(struct w1_slave *sl)
{ … }
static const struct w1_family_ops w1_f0d_fops = …;
static struct w1_family w1_family_0d = …;
module_w1_family(…);
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;