Lines Matching refs:mtd_info
36 int nand_mtd_to_devnum(struct mtd_info *mtd);
40 int nand_register(int devnum, struct mtd_info *mtd);
47 static inline int nand_read(struct mtd_info *info, loff_t ofs, size_t *len, in nand_read()
53 static inline int nand_write(struct mtd_info *info, loff_t ofs, size_t *len, in nand_write()
59 static inline int nand_block_isbad(struct mtd_info *info, loff_t ofs) in nand_block_isbad()
64 static inline int nand_erase(struct mtd_info *info, loff_t off, size_t size) in nand_erase()
100 int nand_read_skip_bad(struct mtd_info *mtd, loff_t offset, size_t *length,
106 int nand_write_skip_bad(struct mtd_info *mtd, loff_t offset, size_t *length,
108 int nand_erase_opts(struct mtd_info *mtd,
110 int nand_torture(struct mtd_info *mtd, loff_t offset);
111 int nand_verify_page_oob(struct mtd_info *mtd, struct mtd_oob_ops *ops,
113 int nand_verify(struct mtd_info *mtd, loff_t ofs, size_t len, u_char *buf);
118 int nand_lock(struct mtd_info *mtd, int tight);
119 int nand_unlock(struct mtd_info *mtd, loff_t start, size_t length,
121 int nand_get_lock_status(struct mtd_info *mtd, loff_t offset);
139 int get_nand_env_oob(struct mtd_info *mtd, unsigned long *result);
153 struct mtd_info *get_nand_dev_by_index(int dev);