Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
lpddr_cmds.c File Reference
#include <linux/mtd/pfow.h>
#include <linux/mtd/qinfo.h>
#include <linux/slab.h>
#include <linux/module.h>

Go to the source code of this file.

Macros

#define DO_XXLOCK_LOCK   1
 
#define DO_XXLOCK_UNLOCK   2
 

Functions

struct mtd_infolpddr_cmdset (struct map_info *map)
 
 EXPORT_SYMBOL (lpddr_cmdset)
 
int do_write_buffer (struct map_info *map, struct flchip *chip, unsigned long adr, const struct kvec **pvec, unsigned long *pvec_seek, int len)
 
int do_erase_oneblock (struct mtd_info *mtd, loff_t adr)
 
int do_xxlock (struct mtd_info *mtd, loff_t adr, uint32_t len, int thunk)
 
int word_program (struct map_info *map, loff_t adr, uint32_t curval)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Alexey Korolev <[email protected]>")
 
 MODULE_DESCRIPTION ("MTD driver for LPDDR flash chips")
 

Macro Definition Documentation

#define DO_XXLOCK_LOCK   1

Definition at line 704 of file lpddr_cmds.c.

#define DO_XXLOCK_UNLOCK   2

Definition at line 705 of file lpddr_cmds.c.

Function Documentation

int do_erase_oneblock ( struct mtd_info mtd,
loff_t  adr 
)

Definition at line 472 of file lpddr_cmds.c.

int do_write_buffer ( struct map_info map,
struct flchip chip,
unsigned long  adr,
const struct kvec **  pvec,
unsigned long pvec_seek,
int  len 
)

Definition at line 391 of file lpddr_cmds.c.

int do_xxlock ( struct mtd_info mtd,
loff_t  adr,
uint32_t  len,
int  thunk 
)

Definition at line 706 of file lpddr_cmds.c.

EXPORT_SYMBOL ( lpddr_cmdset  )
struct mtd_info* lpddr_cmdset ( struct map_info map)
read

Definition at line 48 of file lpddr_cmds.c.

MODULE_AUTHOR ( "Alexey Korolev <[email protected]>"  )
MODULE_DESCRIPTION ( "MTD driver for LPDDR flash chips )
MODULE_LICENSE ( "GPL"  )
int word_program ( struct map_info map,
loff_t  adr,
uint32_t  curval 
)

Definition at line 751 of file lpddr_cmds.c.