Linux Kernel
3.7.1
|
#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") | |
#define SLRAM_MAX_DEVICES_PARAMS 6 /* 3 parameters / device */ |
typedef struct slram_mtd_list slram_mtd_list_t |
typedef struct slram_priv slram_priv_t |
__setup | ( | ) |
MODULE_AUTHOR | ( | "Jochen Schaeuble <[email protected]>" | ) |
module_exit | ( | cleanup_slram | ) |
module_init | ( | init_slram | ) |
MODULE_LICENSE | ( | "GPL" | ) |