Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
cfi_util.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.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/mtd/xip.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/cfi.h>

Go to the source code of this file.

Functions

int __xipram cfi_qry_present (struct map_info *map, __u32 base, struct cfi_private *cfi)
 
 EXPORT_SYMBOL_GPL (cfi_qry_present)
 
int __xipram cfi_qry_mode_on (uint32_t base, struct map_info *map, struct cfi_private *cfi)
 
 EXPORT_SYMBOL_GPL (cfi_qry_mode_on)
 
void __xipram cfi_qry_mode_off (uint32_t base, struct map_info *map, struct cfi_private *cfi)
 
 EXPORT_SYMBOL_GPL (cfi_qry_mode_off)
 
struct cfi_extquery *__xipram cfi_read_pri (struct map_info *map, __u16 adr, __u16 size, const char *name)
 
 EXPORT_SYMBOL (cfi_read_pri)
 
void cfi_fixup (struct mtd_info *mtd, struct cfi_fixup *fixups)
 
 EXPORT_SYMBOL (cfi_fixup)
 
int cfi_varsize_frob (struct mtd_info *mtd, varsize_frob_t frob, loff_t ofs, size_t len, void *thunk)
 
 EXPORT_SYMBOL (cfi_varsize_frob)
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

void cfi_fixup ( struct mtd_info mtd,
struct cfi_fixup fixups 
)

Definition at line 150 of file cfi_util.c.

void __xipram cfi_qry_mode_off ( uint32_t  base,
struct map_info map,
struct cfi_private cfi 
)

Definition at line 92 of file cfi_util.c.

int __xipram cfi_qry_mode_on ( uint32_t  base,
struct map_info map,
struct cfi_private cfi 
)

Definition at line 54 of file cfi_util.c.

int __xipram cfi_qry_present ( struct map_info map,
__u32  base,
struct cfi_private cfi 
)

Definition at line 26 of file cfi_util.c.

struct cfi_extquery* __xipram cfi_read_pri ( struct map_info map,
__u16  adr,
__u16  size,
const char name 
)
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.

EXPORT_SYMBOL ( cfi_read_pri  )
EXPORT_SYMBOL ( cfi_fixup  )
EXPORT_SYMBOL ( cfi_varsize_frob  )
EXPORT_SYMBOL_GPL ( cfi_qry_present  )
EXPORT_SYMBOL_GPL ( cfi_qry_mode_on  )
EXPORT_SYMBOL_GPL ( cfi_qry_mode_off  )
MODULE_LICENSE ( "GPL"  )