Searched defs:mtd_info (Results 1 – 1 of 1) sorted by relevance
/external/kernel-headers/original/linux/mtd/ |
D | mtd.h | 102 struct mtd_info { struct 116 * Any driver registering a struct mtd_info must ensure a writesize of argument 119 u_int32_t writesize; 121 u_int32_t oobsize; // Amount of OOB data per block (e.g. 16) 122 u_int32_t ecctype; 123 u_int32_t eccsize; 151 int (*erase) (struct mtd_info *mtd, struct erase_info *instr); argument 154 int (*point) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char **mtdbuf); argument 157 void (*unpoint) (struct mtd_info *mtd, u_char * addr, loff_t from, size_t len); argument 160 int (*read) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf); argument [all …]
|