D | mtd.h | 118 struct mtd_info *mtd; 137 struct mtd_info { struct 167 int (*erase) (struct mtd_info *mtd, struct erase_info *instr); argument 170 int (*point) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char **mtdbuf); argument 173 void (*unpoint) (struct mtd_info *mtd, u_char * addr, loff_t from, size_t len); argument 176 int (*read) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf); argument 177 int (*write) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf); argument 179 …int (*read_ecc) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf, u_cha… argument 180 …int (*write_ecc) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf, … argument 182 int (*read_oob) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf); argument [all …]
|