Home
last modified time | relevance | path

Searched refs:mtd (Results 1 – 5 of 5) sorted by relevance

/development/ndk/platforms/android-3/include/linux/mtd/
Dmtd.h15 #error This is a kernel header. Perhaps include mtd-user.h instead?
36 struct mtd_info *mtd; member
85 #define MTD_PROGREGION_CTRLMODE_VALID(mtd) (mtd)->oobsize argument
86 #define MTD_PROGREGION_CTRLMODE_INVALID(mtd) (mtd)->ecctype argument
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,
[all …]
Dnand.h149 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);
185 void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len);
[all …]
Dblktrans.h26 struct mtd_info *mtd; member
53 void (*add_mtd)(struct mtd_blktrans_ops *tr, struct mtd_info *mtd);
Dbbm.h68 int (*isbad_bbt)(struct mtd_info *mtd, loff_t ofs, int allowbbt);
Dcfi.h173 void (*fixup)(struct mtd_info *mtd, void* param);