Linux Kernel
3.7.1
|
#include <linux/delay.h>
#include <linux/types.h>
#include <linux/bug.h>
#include <linux/interrupt.h>
#include <linux/mtd/flashchip.h>
#include <linux/mtd/map.h>
#include <linux/mtd/cfi_endian.h>
#include <linux/mtd/xip.h>
Go to the source code of this file.
Data Structures | |
struct | cfi_ident |
struct | cfi_extquery |
struct | cfi_pri_intelext |
struct | cfi_intelext_otpinfo |
struct | cfi_intelext_blockinfo |
struct | cfi_intelext_regioninfo |
struct | cfi_intelext_programming_regioninfo |
struct | cfi_pri_amdstd |
struct | cfi_pri_atmel |
struct | cfi_pri_query |
struct | cfi_bri_query |
struct | cfi_private |
struct | cfi_fixup |
Macros | |
#define | cfi_interleave_is_1(cfi) (0) |
#define | cfi_interleave_is_2(cfi) (0) |
#define | cfi_interleave_is_4(cfi) (0) |
#define | cfi_interleave_is_8(cfi) (0) |
#define | CFI_DEVICETYPE_X8 (8 / 8) |
#define | CFI_DEVICETYPE_X16 (16 / 8) |
#define | CFI_DEVICETYPE_X32 (32 / 8) |
#define | CFI_DEVICETYPE_X64 (64 / 8) |
#define | CFI_INTERFACE_X8_ASYNC 0x0000 |
#define | CFI_INTERFACE_X16_ASYNC 0x0001 |
#define | CFI_INTERFACE_X8_BY_X16_ASYNC 0x0002 |
#define | CFI_INTERFACE_X32_ASYNC 0x0003 |
#define | CFI_INTERFACE_X16_BY_X32_ASYNC 0x0005 |
#define | CFI_INTERFACE_NOT_ALLOWED 0xffff |
#define | P_ID_NONE 0x0000 |
#define | P_ID_INTEL_EXT 0x0001 |
#define | P_ID_AMD_STD 0x0002 |
#define | P_ID_INTEL_STD 0x0003 |
#define | P_ID_AMD_EXT 0x0004 |
#define | P_ID_WINBOND 0x0006 |
#define | P_ID_ST_ADV 0x0020 |
#define | P_ID_MITSUBISHI_STD 0x0100 |
#define | P_ID_MITSUBISHI_EXT 0x0101 |
#define | P_ID_SST_PAGE 0x0102 |
#define | P_ID_SST_OLD 0x0701 |
#define | P_ID_INTEL_PERFORMANCE 0x0200 |
#define | P_ID_INTEL_DATA 0x0210 |
#define | P_ID_RESERVED 0xffff |
#define | CFI_MODE_CFI 1 |
#define | CFI_MODE_JEDEC 0 |
#define | CMD(x) cfi_build_cmd((x), map, cfi) |
#define | MERGESTATUS(x) cfi_merge_status((x), map, cfi) |
#define | CFI_MFR_ANY 0xFFFF |
#define | CFI_ID_ANY 0xFFFF |
#define | CFI_MFR_CONTINUATION 0x007F |
#define | CFI_MFR_AMD 0x0001 |
#define | CFI_MFR_AMIC 0x0037 |
#define | CFI_MFR_ATMEL 0x001F |
#define | CFI_MFR_EON 0x001C |
#define | CFI_MFR_FUJITSU 0x0004 |
#define | CFI_MFR_HYUNDAI 0x00AD |
#define | CFI_MFR_INTEL 0x0089 |
#define | CFI_MFR_MACRONIX 0x00C2 |
#define | CFI_MFR_NEC 0x0010 |
#define | CFI_MFR_PMC 0x009D |
#define | CFI_MFR_SAMSUNG 0x00EC |
#define | CFI_MFR_SHARP 0x00B0 |
#define | CFI_MFR_SST 0x00BF |
#define | CFI_MFR_ST 0x0020 /* STMicroelectronics */ |
#define | CFI_MFR_TOSHIBA 0x0098 |
#define | CFI_MFR_WINBOND 0x00DA |
Typedefs | |
typedef int(* | varsize_frob_t )(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) |
Functions | |
struct cfi_ident | __attribute__ ((packed)) |
int __xipram | cfi_qry_present (struct map_info *map, __u32 base, struct cfi_private *cfi) |
int __xipram | cfi_qry_mode_on (uint32_t base, struct map_info *map, struct cfi_private *cfi) |
void __xipram | cfi_qry_mode_off (uint32_t base, struct map_info *map, struct cfi_private *cfi) |
struct cfi_extquery * | cfi_read_pri (struct map_info *map, uint16_t adr, uint16_t size, const char *name) |
void | cfi_fixup (struct mtd_info *mtd, struct cfi_fixup *fixups) |
int | cfi_varsize_frob (struct mtd_info *mtd, varsize_frob_t frob, loff_t ofs, size_t len, void *thunk) |
|
read |
mcontroller : adapter info structure for old mimd_t apps
: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id
Definition at line 171 of file esd_usb2.c.
Definition at line 150 of file cfi_util.c.
Definition at line 92 of file cfi_util.c.
Definition at line 54 of file cfi_util.c.
Definition at line 26 of file cfi_util.c.
|
read |
Definition at line 105 of file cfi_util.c.
int cfi_varsize_frob | ( | struct mtd_info * | mtd, |
varsize_frob_t | frob, | ||
loff_t | ofs, | ||
size_t | len, | ||
void * | thunk | ||
) |
Definition at line 166 of file cfi_util.c.
struct cfi_intelext_blockinfo BlockTypes[1] |