Linux Kernel
3.7.1
|
#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/slab.h>
#include <linux/crc16.h>
#include <linux/uaccess.h>
#include "../w1.h"
#include "../w1_int.h"
#include "../w1_family.h"
Go to the source code of this file.
Data Structures | |
struct | w1_f1C_data |
Macros | |
#define | CRC16_INIT 0 |
#define | CRC16_VALID 0xb001 |
#define | W1_EEPROM_SIZE 512 |
#define | W1_PAGE_COUNT 16 |
#define | W1_PAGE_SIZE 32 |
#define | W1_PAGE_BITS 5 |
#define | W1_PAGE_MASK 0x1F |
#define | W1_F1C_READ_EEPROM 0xF0 |
#define | W1_F1C_WRITE_SCRATCH 0x0F |
#define | W1_F1C_READ_SCRATCH 0xAA |
#define | W1_F1C_COPY_SCRATCH 0x55 |
#define | W1_F1C_ACCESS_WRITE 0x5A |
#define | W1_1C_REG_LOGIC_STATE 0x220 |
#define | NB_SYSFS_BIN_FILES 2 |
Functions | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Markus Franke <franke.m@sebakmt.com>, <[email protected]>") | |
MODULE_DESCRIPTION ("w1 family 1C driver for DS28E04, 4kb EEPROM and PIO") | |
module_param_named (strong_pullup, w1_strong_pullup, int, 0) | |
module_init (w1_f1C_init) | |
module_exit (w1_f1C_fini) | |
#define CRC16_INIT 0 |
Definition at line 20 of file w1_ds28e04.c.
#define CRC16_VALID 0xb001 |
Definition at line 21 of file w1_ds28e04.c.
#define NB_SYSFS_BIN_FILES 2 |
Definition at line 373 of file w1_ds28e04.c.
#define W1_1C_REG_LOGIC_STATE 0x220 |
Definition at line 55 of file w1_ds28e04.c.
#define W1_EEPROM_SIZE 512 |
Definition at line 43 of file w1_ds28e04.c.
#define W1_F1C_ACCESS_WRITE 0x5A |
Definition at line 53 of file w1_ds28e04.c.
#define W1_F1C_COPY_SCRATCH 0x55 |
Definition at line 52 of file w1_ds28e04.c.
#define W1_F1C_READ_EEPROM 0xF0 |
Definition at line 49 of file w1_ds28e04.c.
#define W1_F1C_READ_SCRATCH 0xAA |
Definition at line 51 of file w1_ds28e04.c.
#define W1_F1C_WRITE_SCRATCH 0x0F |
Definition at line 50 of file w1_ds28e04.c.
#define W1_PAGE_BITS 5 |
Definition at line 46 of file w1_ds28e04.c.
#define W1_PAGE_COUNT 16 |
Definition at line 44 of file w1_ds28e04.c.
#define W1_PAGE_MASK 0x1F |
Definition at line 47 of file w1_ds28e04.c.
#define W1_PAGE_SIZE 32 |
Definition at line 45 of file w1_ds28e04.c.
MODULE_AUTHOR | ( | "Markus Franke <franke.m@sebakmt.com> | , |
< franm @hrz.tu-chemnitz.de >" | |||
) |
MODULE_DESCRIPTION | ( | "w1 family 1C driver for | DS28E04, |
4kb EEPROM and PIO" | |||
) |
module_exit | ( | w1_f1C_fini | ) |
module_init | ( | w1_f1C_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param_named | ( | strong_pullup | , |
w1_strong_pullup | , | ||
int | , | ||
0 | |||
) |