D | mtd.h | 36 struct mtd_info *mtd; 103 struct mtd_info { struct 155 int (*erase) (struct mtd_info *mtd, struct erase_info *instr); argument 159 int (*point) (struct mtd_info *mtd, loff_t from, size_t len, argument 163 void (*unpoint) (struct mtd_info *mtd, loff_t from, size_t len); argument 166 int (*read) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf); argument 167 int (*write) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf); argument 176 …int (*panic_write) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf… argument 178 int (*read_oob) (struct mtd_info *mtd, loff_t from, argument 180 int (*write_oob) (struct mtd_info *mtd, loff_t to, argument [all …]
|