Lines Matching defs:mtd
145 struct mtd_info mtd; member
161 static struct bf5xx_nand_info *mtd_to_nand_info(struct mtd_info *mtd) in mtd_to_nand_info()
185 static void bf5xx_nand_hwcontrol(struct mtd_info *mtd, int cmd, in bf5xx_nand_hwcontrol()
206 static int bf5xx_nand_devready(struct mtd_info *mtd) in bf5xx_nand_devready()
225 static int bf5xx_nand_correct_data_256(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data_256()
304 static int bf5xx_nand_correct_data(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data()
323 static void bf5xx_nand_enable_hwecc(struct mtd_info *mtd, int mode) in bf5xx_nand_enable_hwecc()
328 static int bf5xx_nand_calculate_ecc(struct mtd_info *mtd, in bf5xx_nand_calculate_ecc()
368 static void bf5xx_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in bf5xx_nand_read_buf()
397 static uint8_t bf5xx_nand_read_byte(struct mtd_info *mtd) in bf5xx_nand_read_byte()
406 static void bf5xx_nand_write_buf(struct mtd_info *mtd, in bf5xx_nand_write_buf()
420 static void bf5xx_nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len) in bf5xx_nand_read_buf16()
438 static void bf5xx_nand_write_buf16(struct mtd_info *mtd, in bf5xx_nand_write_buf16()
465 static void bf5xx_nand_dma_rw(struct mtd_info *mtd, in bf5xx_nand_dma_rw()
531 static void bf5xx_nand_dma_read_buf(struct mtd_info *mtd, in bf5xx_nand_dma_read_buf()
545 static void bf5xx_nand_dma_write_buf(struct mtd_info *mtd, in bf5xx_nand_dma_write_buf()
559 static int bf5xx_nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in bf5xx_nand_read_page_raw()
568 static int bf5xx_nand_write_page_raw(struct mtd_info *mtd, in bf5xx_nand_write_page_raw()
663 struct mtd_info *mtd = &info->mtd; in bf5xx_nand_add_partition() local
686 static int bf5xx_nand_scan(struct mtd_info *mtd) in bf5xx_nand_scan()
728 struct mtd_info *mtd = NULL; in bf5xx_nand_probe() local