Lines Matching refs:mtd_info
65 struct mtd_info mtd;
72 struct mtd_info *mtds[MAX_TXX9NDFMC_DEV];
82 static struct platform_device *mtd_to_platdev(struct mtd_info *mtd)
108 static uint8_t txx9ndfmc_read_byte(struct mtd_info *mtd)
115 static void txx9ndfmc_write_buf(struct mtd_info *mtd, const uint8_t *buf,
128 static void txx9ndfmc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len)
137 static int txx9ndfmc_verify_buf(struct mtd_info *mtd, const uint8_t *buf,
149 static void txx9ndfmc_cmd_ctrl(struct mtd_info *mtd, int cmd,
181 static int txx9ndfmc_dev_ready(struct mtd_info *mtd)
188 static int txx9ndfmc_calculate_ecc(struct mtd_info *mtd, const uint8_t *dat,
209 static int txx9ndfmc_correct_data(struct mtd_info *mtd, unsigned char *buf,
229 static void txx9ndfmc_enable_hwecc(struct mtd_info *mtd, int mode)
272 static int txx9ndfmc_nand_scan(struct mtd_info *mtd)
338 struct mtd_info *mtd;
423 struct mtd_info *mtd = drvdata->mtds[i];