Lines Matching refs:mtd_info
106 struct mtd_info mtd;
130 static void tmio_nand_hwcontrol(struct mtd_info *mtd, int cmd,
163 static int tmio_nand_dev_ready(struct mtd_info *mtd)
192 tmio_nand_wait(struct mtd_info *mtd, struct nand_chip *nand_chip)
228 static u_char tmio_nand_read_byte(struct mtd_info *mtd)
248 tmio_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len)
255 static void tmio_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len)
263 tmio_nand_verify_buf(struct mtd_info *mtd, const u_char *buf, int len)
274 static void tmio_nand_enable_hwecc(struct mtd_info *mtd, int mode)
283 static int tmio_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat,
305 static int tmio_nand_correct_data(struct mtd_info *mtd, unsigned char *buf,
383 struct mtd_info *mtd;