• Home
  • Raw
  • Download

Lines Matching defs:mtd_info

151 struct mtd_info {  struct
165 * Any driver registering a struct mtd_info must ensure a writesize of argument
168 uint32_t writesize;
179 uint32_t writebufsize;
181 uint32_t oobsize; // Amount of OOB data per block (e.g. 16)
182 uint32_t oobavail; // Available OOB bytes per block
188 unsigned int erasesize_shift;
189 unsigned int writesize_shift;
191 unsigned int erasesize_mask;
192 unsigned int writesize_mask;
201 unsigned int bitflip_threshold;
205 const char *name;
207 char *name;
209 int index;
233 int (*_erase) (struct mtd_info *mtd, struct erase_info *instr); argument
235 int (*_point) (struct mtd_info *mtd, loff_t from, size_t len, argument
237 int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len); argument
239 unsigned long (*_get_unmapped_area) (struct mtd_info *mtd, argument
243 int (*_read) (struct mtd_info *mtd, loff_t from, size_t len, argument
245 int (*_write) (struct mtd_info *mtd, loff_t to, size_t len, argument
247 int (*_panic_write) (struct mtd_info *mtd, loff_t to, size_t len, argument
249 int (*_read_oob) (struct mtd_info *mtd, loff_t from, argument
251 int (*_write_oob) (struct mtd_info *mtd, loff_t to, argument
253 int (*_get_fact_prot_info) (struct mtd_info *mtd, size_t len, argument
255 int (*_read_fact_prot_reg) (struct mtd_info *mtd, loff_t from, argument
257 int (*_get_user_prot_info) (struct mtd_info *mtd, size_t len, argument
259 int (*_read_user_prot_reg) (struct mtd_info *mtd, loff_t from, argument
261 int (*_write_user_prot_reg) (struct mtd_info *mtd, loff_t to, argument
263 int (*_lock_user_prot_reg) (struct mtd_info *mtd, loff_t from, argument
266 int (*_writev) (struct mtd_info *mtd, const struct kvec *vecs, argument
269 void (*_sync) (struct mtd_info *mtd); argument
270 int (*_lock) (struct mtd_info *mtd, loff_t ofs, uint64_t len); argument
271 int (*_unlock) (struct mtd_info *mtd, loff_t ofs, uint64_t len); argument
272 int (*_is_locked) (struct mtd_info *mtd, loff_t ofs, uint64_t len); argument
273 int (*_block_isreserved) (struct mtd_info *mtd, loff_t ofs); argument
274 int (*_block_isbad) (struct mtd_info *mtd, loff_t ofs); argument
275 int (*_block_markbad) (struct mtd_info *mtd, loff_t ofs); argument
277 int (*_suspend) (struct mtd_info *mtd); argument
278 void (*_resume) (struct mtd_info *mtd); argument
279 void (*_reboot) (struct mtd_info *mtd); argument
285 int (*_get_device) (struct mtd_info *mtd); argument
286 void (*_put_device) (struct mtd_info *mtd); argument
313 int mtd_ooblayout_ecc(struct mtd_info *mtd, int section, argument