Linux Kernel
3.7.1
|
#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/reboot.h>
#include <linux/bitmap.h>
#include <linux/mtd/xip.h>
#include <linux/mtd/map.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/cfi.h>
#include "fwh_lock.h"
Go to the source code of this file.
Macros | |
#define | FORCE_WORD_WRITE 0 |
#define | I82802AB 0x00ad |
#define | I82802AC 0x00ac |
#define | PF38F4476 0x881c |
#define | M50LPW080 0x002F |
#define | M50FLW080A 0x0080 |
#define | M50FLW080B 0x0081 |
#define | AT49BV640D 0x02de |
#define | AT49BV640DT 0x02db |
#define | xip_disable(map, chip, adr) |
#define | xip_enable(map, chip, adr) |
#define | XIP_INVAL_CACHED_RANGE(x...) |
#define | INVAL_CACHE_AND_WAIT inval_cache_and_wait_for_operation |
#define | WAIT_TIMEOUT(map, chip, adr, udelay, udelay_max) INVAL_CACHE_AND_WAIT(map, chip, adr, 0, 0, udelay, udelay_max); |
#define | DO_XXLOCK_ONEBLOCK_LOCK ((void *) 1) |
#define | DO_XXLOCK_ONEBLOCK_UNLOCK ((void *) 2) |
Functions | |
struct mtd_info * | cfi_cmdset_0001 (struct map_info *, int) |
struct mtd_info * | cfi_cmdset_0003 (struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0001"))) |
struct mtd_info * | cfi_cmdset_0200 (struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0001"))) |
EXPORT_SYMBOL_GPL (cfi_cmdset_0001) | |
EXPORT_SYMBOL_GPL (cfi_cmdset_0003) | |
EXPORT_SYMBOL_GPL (cfi_cmdset_0200) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("David Woodhouse <[email protected]> et al.") | |
MODULE_DESCRIPTION ("MTD chip driver for Intel/Sharp flash chips") | |
MODULE_ALIAS ("cfi_cmdset_0003") | |
MODULE_ALIAS ("cfi_cmdset_0200") | |
#define AT49BV640D 0x02de |
Definition at line 54 of file cfi_cmdset_0001.c.
#define AT49BV640DT 0x02db |
Definition at line 55 of file cfi_cmdset_0001.c.
#define DO_XXLOCK_ONEBLOCK_LOCK ((void *) 1) |
Definition at line 2038 of file cfi_cmdset_0001.c.
#define DO_XXLOCK_ONEBLOCK_UNLOCK ((void *) 2) |
Definition at line 2039 of file cfi_cmdset_0001.c.
#define FORCE_WORD_WRITE 0 |
Definition at line 43 of file cfi_cmdset_0001.c.
#define I82802AB 0x00ad |
Definition at line 46 of file cfi_cmdset_0001.c.
#define I82802AC 0x00ac |
Definition at line 47 of file cfi_cmdset_0001.c.
#define INVAL_CACHE_AND_WAIT inval_cache_and_wait_for_operation |
Definition at line 1203 of file cfi_cmdset_0001.c.
#define M50FLW080A 0x0080 |
Definition at line 51 of file cfi_cmdset_0001.c.
#define M50FLW080B 0x0081 |
Definition at line 52 of file cfi_cmdset_0001.c.
#define M50LPW080 0x002F |
Definition at line 50 of file cfi_cmdset_0001.c.
#define PF38F4476 0x881c |
Definition at line 48 of file cfi_cmdset_0001.c.
#define WAIT_TIMEOUT | ( | map, | |
chip, | |||
adr, | |||
udelay, | |||
udelay_max | |||
) | INVAL_CACHE_AND_WAIT(map, chip, adr, 0, 0, udelay, udelay_max); |
Definition at line 1285 of file cfi_cmdset_0001.c.
Definition at line 1200 of file cfi_cmdset_0001.c.
Definition at line 1201 of file cfi_cmdset_0001.c.
#define XIP_INVAL_CACHED_RANGE | ( | x... | ) |
Definition at line 1202 of file cfi_cmdset_0001.c.
EXPORT_SYMBOL_GPL | ( | cfi_cmdset_0001 | ) |
EXPORT_SYMBOL_GPL | ( | cfi_cmdset_0003 | ) |
EXPORT_SYMBOL_GPL | ( | cfi_cmdset_0200 | ) |
MODULE_ALIAS | ( | "cfi_cmdset_0003" | ) |
MODULE_ALIAS | ( | "cfi_cmdset_0200" | ) |
MODULE_AUTHOR | ( | "David Woodhouse <[email protected]> et al." | ) |
MODULE_LICENSE | ( | "GPL" | ) |