Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cfi_cmdset_0020.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <asm/io.h>
#include <asm/byteorder.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/mtd/map.h>
#include <linux/mtd/cfi.h>
#include <linux/mtd/mtd.h>

Go to the source code of this file.

Macros

#define ECCBUF_SIZE   (mtd->writesize)
 
#define ECCBUF_DIV(x)   ((x) & ~(ECCBUF_SIZE - 1))
 
#define ECCBUF_MOD(x)   ((x) & (ECCBUF_SIZE - 1))
 

Functions

struct mtd_infocfi_cmdset_0020 (struct map_info *, int)
 
 EXPORT_SYMBOL_GPL (cfi_cmdset_0020)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define ECCBUF_DIV (   x)    ((x) & ~(ECCBUF_SIZE - 1))

Definition at line 662 of file cfi_cmdset_0020.c.

#define ECCBUF_MOD (   x)    ((x) & (ECCBUF_SIZE - 1))

Definition at line 663 of file cfi_cmdset_0020.c.

#define ECCBUF_SIZE   (mtd->writesize)

Definition at line 661 of file cfi_cmdset_0020.c.

Function Documentation

struct mtd_info* cfi_cmdset_0020 ( struct map_info map,
int  primary 
)
read
EXPORT_SYMBOL_GPL ( cfi_cmdset_0020  )
MODULE_LICENSE ( "GPL"  )