Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
spi_eeprom.c File Reference
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/device.h>
#include <linux/spi/spi.h>
#include <linux/spi/eeprom.h>
#include <asm/txx9/spi.h>

Go to the source code of this file.

Data Structures

struct  read_param
 

Macros

#define AT250X0_PAGE_SIZE   8
 

Functions

int __init spi_eeprom_register (int busid, int chipid, int size)
 
int __init spi_eeprom_read (int busid, int chipid, int address, unsigned char *buf, int len)
 

Macro Definition Documentation

#define AT250X0_PAGE_SIZE   8

Definition at line 20 of file spi_eeprom.c.

Function Documentation

int __init spi_eeprom_read ( int  busid,
int  chipid,
int  address,
unsigned char buf,
int  len 
)

Definition at line 88 of file spi_eeprom.c.

int __init spi_eeprom_register ( int  busid,
int  chipid,
int  size 
)

Definition at line 23 of file spi_eeprom.c.