Lines Matching defs:mtd

146 	struct mtd_info			mtd;  member
162 static struct bf5xx_nand_info *mtd_to_nand_info(struct mtd_info *mtd) in mtd_to_nand_info()
186 static void bf5xx_nand_hwcontrol(struct mtd_info *mtd, int cmd, in bf5xx_nand_hwcontrol()
207 static int bf5xx_nand_devready(struct mtd_info *mtd) in bf5xx_nand_devready()
226 static int bf5xx_nand_correct_data_256(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data_256()
305 static int bf5xx_nand_correct_data(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data()
324 static void bf5xx_nand_enable_hwecc(struct mtd_info *mtd, int mode) in bf5xx_nand_enable_hwecc()
329 static int bf5xx_nand_calculate_ecc(struct mtd_info *mtd, in bf5xx_nand_calculate_ecc()
369 static void bf5xx_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in bf5xx_nand_read_buf()
398 static uint8_t bf5xx_nand_read_byte(struct mtd_info *mtd) in bf5xx_nand_read_byte()
407 static void bf5xx_nand_write_buf(struct mtd_info *mtd, in bf5xx_nand_write_buf()
421 static void bf5xx_nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len) in bf5xx_nand_read_buf16()
439 static void bf5xx_nand_write_buf16(struct mtd_info *mtd, in bf5xx_nand_write_buf16()
466 static void bf5xx_nand_dma_rw(struct mtd_info *mtd, in bf5xx_nand_dma_rw()
532 static void bf5xx_nand_dma_read_buf(struct mtd_info *mtd, in bf5xx_nand_dma_read_buf()
546 static void bf5xx_nand_dma_write_buf(struct mtd_info *mtd, in bf5xx_nand_dma_write_buf()
560 static int bf5xx_nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in bf5xx_nand_read_page_raw()
569 static void bf5xx_nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in bf5xx_nand_write_page_raw()
661 struct mtd_info *mtd = &info->mtd; in bf5xx_nand_add_partition() local
689 static int bf5xx_nand_scan(struct mtd_info *mtd) in bf5xx_nand_scan()
729 struct mtd_info *mtd = NULL; in bf5xx_nand_probe() local