Lines Matching defs:mtd
65 struct mtd_info mtd; member
79 static struct platform_device *mtd_to_platdev(struct mtd_info *mtd) in mtd_to_platdev()
105 static uint8_t txx9ndfmc_read_byte(struct mtd_info *mtd) in txx9ndfmc_read_byte()
112 static void txx9ndfmc_write_buf(struct mtd_info *mtd, const uint8_t *buf, in txx9ndfmc_write_buf()
125 static void txx9ndfmc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in txx9ndfmc_read_buf()
134 static int txx9ndfmc_verify_buf(struct mtd_info *mtd, const uint8_t *buf, in txx9ndfmc_verify_buf()
146 static void txx9ndfmc_cmd_ctrl(struct mtd_info *mtd, int cmd, in txx9ndfmc_cmd_ctrl()
178 static int txx9ndfmc_dev_ready(struct mtd_info *mtd) in txx9ndfmc_dev_ready()
185 static int txx9ndfmc_calculate_ecc(struct mtd_info *mtd, const uint8_t *dat, in txx9ndfmc_calculate_ecc()
206 static int txx9ndfmc_correct_data(struct mtd_info *mtd, unsigned char *buf, in txx9ndfmc_correct_data()
226 static void txx9ndfmc_enable_hwecc(struct mtd_info *mtd, int mode) in txx9ndfmc_enable_hwecc()
269 static int txx9ndfmc_nand_scan(struct mtd_info *mtd) in txx9ndfmc_nand_scan()
329 struct mtd_info *mtd; in txx9ndfmc_probe() local
405 struct mtd_info *mtd = drvdata->mtds[i]; in txx9ndfmc_remove() local