OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mtd_info
(Results
1 - 9
of
9
) sorted by null
/development/ndk/platforms/android-3/include/linux/mtd/
nand_ecc.h
15
struct
mtd_info
;
mtd.h
36
struct
mtd_info
*mtd;
72
struct
mtd_info
{
struct
98
int (*erase) (struct
mtd_info
*mtd, struct erase_info *instr);
100
int (*point) (struct
mtd_info
*mtd, loff_t from, size_t len, size_t *retlen, u_char **mtdbuf);
102
void (*unpoint) (struct
mtd_info
*mtd, u_char * addr, loff_t from, size_t len);
104
int (*read) (struct
mtd_info
*mtd, loff_t from, size_t len, size_t *retlen, u_char *buf);
105
int (*write) (struct
mtd_info
*mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf);
107
int (*read_oob) (struct
mtd_info
*mtd, loff_t from,
109
int (*write_oob) (struct
mtd_info
*mtd, loff_t to,
112
int (*get_fact_prot_info) (struct
mtd_info
*mtd, struct otp_info *buf, size_t len)
[
all
...]
nand.h
19
struct
mtd_info
;
149
void (*hwctl)(struct
mtd_info
*mtd, int mode);
150
int (*calculate)(struct
mtd_info
*mtd,
153
int (*correct)(struct
mtd_info
*mtd, uint8_t *dat,
156
int (*read_page)(struct
mtd_info
*mtd,
159
void (*write_page)(struct
mtd_info
*mtd,
162
int (*read_oob)(struct
mtd_info
*mtd,
166
int (*write_oob)(struct
mtd_info
*mtd,
183
uint8_t (*read_byte)(struct
mtd_info
*mtd);
184
u16 (*read_word)(struct
mtd_info
*mtd)
[
all
...]
partitions.h
23
struct
mtd_info
**mtdp;
34
int (*parse_fn)(struct
mtd_info
*, struct mtd_partition **, unsigned long);
blktrans.h
18
struct
mtd_info
;
26
struct
mtd_info
*mtd;
53
void (*add_mtd)(struct mtd_blktrans_ops *tr, struct
mtd_info
*mtd);
map.h
67
struct
mtd_info
*(*probe)(struct map_info *map);
68
void (*destroy)(struct
mtd_info
*);
74
struct
mtd_info
*do_map_probe(const char *name, struct map_info *map);
bbm.h
68
int (*isbad_bbt)(struct
mtd_info
*mtd, loff_t ofs, int allowbbt);
cfi.h
154
struct
mtd_info
*(*cmdset_setup)(struct map_info *);
173
void (*fixup)(struct
mtd_info
*mtd, void* param);
/bootable/recovery/mtdutils/
mtdutils.c
246
struct mtd_info_user
mtd_info
;
local
247
int ret = ioctl(fd, MEMGETINFO, &
mtd_info
);
251
if (total_size != NULL) *total_size =
mtd_info
.size;
252
if (erase_size != NULL) *erase_size =
mtd_info
.erasesize;
253
if (write_size != NULL) *write_size =
mtd_info
.writesize;
Completed in 557 milliseconds