Lines Matching refs:mtd_info
137 struct mtd_info mtd;
153 static struct bf5xx_nand_info *mtd_to_nand_info(struct mtd_info *mtd) in mtd_to_nand_info()
177 static void bf5xx_nand_hwcontrol(struct mtd_info *mtd, int cmd, in bf5xx_nand_hwcontrol()
198 static int bf5xx_nand_devready(struct mtd_info *mtd) in bf5xx_nand_devready()
217 static int bf5xx_nand_correct_data_256(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data_256()
296 static int bf5xx_nand_correct_data(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data()
317 static void bf5xx_nand_enable_hwecc(struct mtd_info *mtd, int mode) in bf5xx_nand_enable_hwecc()
322 static int bf5xx_nand_calculate_ecc(struct mtd_info *mtd, in bf5xx_nand_calculate_ecc()
364 static void bf5xx_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in bf5xx_nand_read_buf()
393 static uint8_t bf5xx_nand_read_byte(struct mtd_info *mtd) in bf5xx_nand_read_byte()
402 static void bf5xx_nand_write_buf(struct mtd_info *mtd, in bf5xx_nand_write_buf()
416 static void bf5xx_nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len) in bf5xx_nand_read_buf16()
434 static void bf5xx_nand_write_buf16(struct mtd_info *mtd, in bf5xx_nand_write_buf16()
461 static int bf5xx_nand_dma_rw(struct mtd_info *mtd, in bf5xx_nand_dma_rw()
519 static void bf5xx_nand_dma_read_buf(struct mtd_info *mtd, in bf5xx_nand_dma_read_buf()
534 static void bf5xx_nand_dma_write_buf(struct mtd_info *mtd, in bf5xx_nand_dma_write_buf()
637 struct mtd_info *mtd = &info->mtd; in bf5xx_nand_add_partition()
652 struct mtd_info *mtd = NULL; in bf5xx_nand_remove()
688 struct mtd_info *mtd = NULL; in bf5xx_nand_probe()