Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
digsy_mtc_eeprom.c File Reference
#include <linux/gpio.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <linux/spi/spi_gpio.h>
#include <linux/eeprom_93xx46.h>

Go to the source code of this file.

Macros

#define GPIO_EEPROM_CLK   216
 
#define GPIO_EEPROM_CS   210
 
#define GPIO_EEPROM_DI   217
 
#define GPIO_EEPROM_DO   249
 
#define GPIO_EEPROM_OE   255
 
#define EE_SPI_BUS_NUM   1
 

Functions

 device_initcall (digsy_mtc_eeprom_devices_init)
 

Variables

struct eeprom_93xx46_platform_data digsy_mtc_eeprom_data
 

Macro Definition Documentation

#define EE_SPI_BUS_NUM   1

Definition at line 24 of file digsy_mtc_eeprom.c.

#define GPIO_EEPROM_CLK   216

Definition at line 19 of file digsy_mtc_eeprom.c.

#define GPIO_EEPROM_CS   210

Definition at line 20 of file digsy_mtc_eeprom.c.

#define GPIO_EEPROM_DI   217

Definition at line 21 of file digsy_mtc_eeprom.c.

#define GPIO_EEPROM_DO   249

Definition at line 22 of file digsy_mtc_eeprom.c.

#define GPIO_EEPROM_OE   255

Definition at line 23 of file digsy_mtc_eeprom.c.

Function Documentation

device_initcall ( digsy_mtc_eeprom_devices_init  )

Variable Documentation

struct eeprom_93xx46_platform_data digsy_mtc_eeprom_data
Initial value:
= {
.flags = EE_ADDR8,
.prepare = digsy_mtc_op_prepare,
.finish = digsy_mtc_op_finish,
}

Definition at line 38 of file digsy_mtc_eeprom.c.