Lines Matching refs:mtd_info
155 struct mtd_info mtd;
171 static struct bf5xx_nand_info *mtd_to_nand_info(struct mtd_info *mtd)
195 static void bf5xx_nand_hwcontrol(struct mtd_info *mtd, int cmd,
216 static int bf5xx_nand_devready(struct mtd_info *mtd)
235 static int bf5xx_nand_correct_data_256(struct mtd_info *mtd, u_char *dat,
314 static int bf5xx_nand_correct_data(struct mtd_info *mtd, u_char *dat,
333 static void bf5xx_nand_enable_hwecc(struct mtd_info *mtd, int mode)
338 static int bf5xx_nand_calculate_ecc(struct mtd_info *mtd,
378 static void bf5xx_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len)
407 static uint8_t bf5xx_nand_read_byte(struct mtd_info *mtd)
416 static void bf5xx_nand_write_buf(struct mtd_info *mtd,
430 static void bf5xx_nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len)
448 static void bf5xx_nand_write_buf16(struct mtd_info *mtd,
475 static void bf5xx_nand_dma_rw(struct mtd_info *mtd,
541 static void bf5xx_nand_dma_read_buf(struct mtd_info *mtd,
555 static void bf5xx_nand_dma_write_buf(struct mtd_info *mtd,
569 static int bf5xx_nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
578 static void bf5xx_nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
670 struct mtd_info *mtd = &info->mtd;
703 static int bf5xx_nand_scan(struct mtd_info *mtd)
743 struct mtd_info *mtd = NULL;