Linux Kernel
3.7.1
|
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/spi/spi.h>
#include <linux/sysfs.h>
#include <linux/eeprom_93xx46.h>
Go to the source code of this file.
Data Structures | |
struct | eeprom_93xx46_dev |
Macros | |
#define | OP_START 0x4 |
#define | OP_WRITE (OP_START | 0x1) |
#define | OP_READ (OP_START | 0x2) |
#define | ADDR_EWDS 0x00 |
#define | ADDR_ERAL 0x20 |
#define | ADDR_EWEN 0x30 |
Functions | |
module_spi_driver (eeprom_93xx46_driver) | |
MODULE_LICENSE ("GPL") | |
MODULE_DESCRIPTION ("Driver for 93xx46 EEPROMs") | |
MODULE_AUTHOR ("Anatolij Gustschin <[email protected]>") | |
MODULE_ALIAS ("spi:93xx46") | |
#define ADDR_ERAL 0x20 |
Definition at line 26 of file eeprom_93xx46.c.
#define ADDR_EWDS 0x00 |
Definition at line 25 of file eeprom_93xx46.c.
#define ADDR_EWEN 0x30 |
Definition at line 27 of file eeprom_93xx46.c.
#define OP_READ (OP_START | 0x2) |
Definition at line 24 of file eeprom_93xx46.c.
#define OP_START 0x4 |
Definition at line 22 of file eeprom_93xx46.c.
#define OP_WRITE (OP_START | 0x1) |
Definition at line 23 of file eeprom_93xx46.c.
MODULE_ALIAS | ( | "spi:93xx46" | ) |
MODULE_AUTHOR | ( | "Anatolij Gustschin <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Driver for 93xx46 EEPROMs" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_spi_driver | ( | eeprom_93xx46_driver | ) |