Lines Matching refs:mtd_info
29 struct mtd_info mtd;
31 struct mtd_info **subdev;
39 ((sizeof(struct mtd_concat) + (num_subdev) * sizeof(struct mtd_info *)))
53 concat_read(struct mtd_info *mtd, loff_t from, size_t len, in concat_read()
63 struct mtd_info *subdev = concat->subdev[i]; in concat_read()
107 concat_write(struct mtd_info *mtd, loff_t to, size_t len, in concat_write()
120 struct mtd_info *subdev = concat->subdev[i]; in concat_write()
154 concat_writev(struct mtd_info *mtd, const struct kvec *vecs, in concat_writev()
192 struct mtd_info *subdev = concat->subdev[i]; in concat_writev()
242 concat_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) in concat_read_oob()
251 struct mtd_info *subdev = concat->subdev[i]; in concat_read_oob()
299 concat_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) in concat_write_oob()
311 struct mtd_info *subdev = concat->subdev[i]; in concat_write_oob()
349 static int concat_dev_erase(struct mtd_info *mtd, struct erase_info *erase) in concat_dev_erase()
383 static int concat_erase(struct mtd_info *mtd, struct erase_info *instr) in concat_erase()
386 struct mtd_info *subdev; in concat_erase()
521 static int concat_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_lock()
530 struct mtd_info *subdev = concat->subdev[i]; in concat_lock()
559 static int concat_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_unlock()
568 struct mtd_info *subdev = concat->subdev[i]; in concat_unlock()
597 static void concat_sync(struct mtd_info *mtd) in concat_sync()
603 struct mtd_info *subdev = concat->subdev[i]; in concat_sync()
608 static int concat_suspend(struct mtd_info *mtd) in concat_suspend()
614 struct mtd_info *subdev = concat->subdev[i]; in concat_suspend()
621 static void concat_resume(struct mtd_info *mtd) in concat_resume()
627 struct mtd_info *subdev = concat->subdev[i]; in concat_resume()
632 static int concat_block_isbad(struct mtd_info *mtd, loff_t ofs) in concat_block_isbad()
644 struct mtd_info *subdev = concat->subdev[i]; in concat_block_isbad()
658 static int concat_block_markbad(struct mtd_info *mtd, loff_t ofs) in concat_block_markbad()
670 struct mtd_info *subdev = concat->subdev[i]; in concat_block_markbad()
692 struct mtd_info *mtd_concat_create(struct mtd_info *subdev[], /* subdevices to concatenate */ in mtd_concat_create()
716 concat->subdev = (struct mtd_info **) (concat + 1); in mtd_concat_create()
934 void mtd_concat_destroy(struct mtd_info *mtd) in mtd_concat_destroy()