Lines Matching defs:mtd
54 static void nand_davinci_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in nand_davinci_read_buf()
98 static void nand_davinci_write_buf(struct mtd_info *mtd, const uint8_t *buf, in nand_davinci_write_buf()
143 static void nand_davinci_hwcontrol(struct mtd_info *mtd, int cmd, in nand_davinci_hwcontrol()
165 static u_int32_t nand_davinci_readecc(struct mtd_info *mtd) in nand_davinci_readecc()
175 static void nand_davinci_enable_hwecc(struct mtd_info *mtd, int mode) in nand_davinci_enable_hwecc()
188 static int nand_davinci_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in nand_davinci_calculate_ecc()
222 static int nand_davinci_correct_data(struct mtd_info *mtd, u_char *dat, in nand_davinci_correct_data()
362 static int nand_davinci_write_page(struct mtd_info *mtd, struct nand_chip *chip, in nand_davinci_write_page()
421 static int nand_davinci_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_davinci_read_page_hwecc()
473 static void nand_davinci_4bit_enable_hwecc(struct mtd_info *mtd, int mode) in nand_davinci_4bit_enable_hwecc()
499 static u32 nand_davinci_4bit_readecc(struct mtd_info *mtd, unsigned int ecc[4]) in nand_davinci_4bit_readecc()
511 static int nand_davinci_4bit_calculate_ecc(struct mtd_info *mtd, in nand_davinci_4bit_calculate_ecc()
557 static int nand_davinci_4bit_correct_data(struct mtd_info *mtd, uint8_t *dat, in nand_davinci_4bit_correct_data()
728 static int nand_davinci_dev_ready(struct mtd_info *mtd) in nand_davinci_dev_ready()