Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
lasat_board.c File Reference
#include <linux/types.h>
#include <linux/crc32.h>
#include <asm/lasat/lasat.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/ctype.h>
#include <linux/mutex.h>
#include <asm/addrspace.h>
#include "at93c.h"
#include "lasat_models.h"

Go to the source code of this file.

Macros

#define EEPROM_CRC(data, len)   (~crc32(~0, data, len))
 

Functions

int EEPROMRead (unsigned int pos, unsigned char *data, int len)
 
int EEPROMWrite (unsigned int pos, unsigned char *data, int len)
 
int lasat_init_board_info (void)
 
void lasat_write_eeprom_info (void)
 

Variables

struct lasat_info lasat_board_info
 

Macro Definition Documentation

#define EEPROM_CRC (   data,
  len 
)    (~crc32(~0, data, len))

Definition at line 34 of file lasat_board.c.

Function Documentation

int EEPROMRead ( unsigned int  pos,
unsigned char data,
int  len 
)

Definition at line 38 of file lasat_board.c.

int EEPROMWrite ( unsigned int  pos,
unsigned char data,
int  len 
)

Definition at line 48 of file lasat_board.c.

int lasat_init_board_info ( void  )

Definition at line 93 of file lasat_board.c.

void lasat_write_eeprom_info ( void  )

Definition at line 264 of file lasat_board.c.

Variable Documentation

struct lasat_info lasat_board_info

Definition at line 36 of file lasat_board.c.