Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
slram.c File Reference
#include <linux/module.h>
#include <asm/uaccess.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/major.h>
#include <linux/fs.h>
#include <linux/ioctl.h>
#include <linux/init.h>
#include <asm/io.h>
#include <linux/mtd/mtd.h>

Go to the source code of this file.

Data Structures

struct  slram_priv
 
struct  slram_mtd_list
 

Macros

#define SLRAM_MAX_DEVICES_PARAMS   6 /* 3 parameters / device */
 
#define SLRAM_BLK_SZ   0x4000
 
#define T(fmt, args...)   printk(KERN_DEBUG fmt, ## args)
 
#define E(fmt, args...)   printk(KERN_NOTICE fmt, ## args)
 

Typedefs

typedef struct slram_priv slram_priv_t
 
typedef struct slram_mtd_list slram_mtd_list_t
 

Functions

 __setup ("slram=", mtd_slram_setup)
 
 module_init (init_slram)
 
 module_exit (cleanup_slram)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Jochen Schaeuble <[email protected]>")
 
 MODULE_DESCRIPTION ("MTD driver for uncached system RAM")
 

Macro Definition Documentation

#define E (   fmt,
  args... 
)    printk(KERN_NOTICE fmt, ## args)

Definition at line 52 of file slram.c.

#define SLRAM_BLK_SZ   0x4000

Definition at line 49 of file slram.c.

#define SLRAM_MAX_DEVICES_PARAMS   6 /* 3 parameters / device */

Definition at line 48 of file slram.c.

#define T (   fmt,
  args... 
)    printk(KERN_DEBUG fmt, ## args)

Definition at line 51 of file slram.c.

Typedef Documentation

Function Documentation

__setup ( )
MODULE_AUTHOR ( "Jochen Schaeuble <[email protected]>"  )
MODULE_DESCRIPTION ( "MTD driver for uncached system RAM )
module_exit ( cleanup_slram  )
module_init ( init_slram  )
MODULE_LICENSE ( "GPL"  )