Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
doc2000.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <asm/errno.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/bitops.h>
#include <linux/mutex.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/doc2000.h>

Go to the source code of this file.

Macros

#define DOC_SUPPORT_2000
 
#define DOC_SUPPORT_2000TSOP
 
#define DOC_SUPPORT_MILLENNIUM
 
#define DoC_is_2000(doc)   (doc->ChipID == DOC_ChipID_Doc2k)
 
#define DoC_is_Millennium(doc)   (doc->ChipID == DOC_ChipID_DocMil)
 

Functions

void DoC2k_init (struct mtd_info *mtd)
 
 EXPORT_SYMBOL_GPL (DoC2k_init)
 
 module_exit (cleanup_doc2000)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("David Woodhouse <[email protected]> et al.")
 
 MODULE_DESCRIPTION ("MTD driver for DiskOnChip 2000 and Millennium")
 

Macro Definition Documentation

#define DoC_is_2000 (   doc)    (doc->ChipID == DOC_ChipID_Doc2k)

Definition at line 30 of file doc2000.c.

#define DoC_is_Millennium (   doc)    (doc->ChipID == DOC_ChipID_DocMil)

Definition at line 36 of file doc2000.c.

#define DOC_SUPPORT_2000

Definition at line 25 of file doc2000.c.

#define DOC_SUPPORT_2000TSOP

Definition at line 26 of file doc2000.c.

#define DOC_SUPPORT_MILLENNIUM

Definition at line 27 of file doc2000.c.

Function Documentation

void DoC2k_init ( struct mtd_info mtd)

Definition at line 508 of file doc2000.c.

EXPORT_SYMBOL_GPL ( DoC2k_init  )
MODULE_AUTHOR ( "David Woodhouse <[email protected]> et al."  )
MODULE_DESCRIPTION ( "MTD driver for DiskOnChip 2000 and Millennium"  )
module_exit ( cleanup_doc2000  )
MODULE_LICENSE ( "GPL"  )