Lines Matching defs:mtd
342 static int mxc_nand_dev_ready(struct mtd_info *mtd)
351 static void _mxc_nand_enable_hwecc(struct mtd_info *mtd, int on)
375 static void mxc_nand_enable_hwecc(struct mtd_info *mtd, int mode)
384 static int mxc_nand_read_oob_syndrome(struct mtd_info *mtd,
436 static int mxc_nand_read_page_raw_syndrome(struct mtd_info *mtd,
481 static int mxc_nand_read_page_syndrome(struct mtd_info *mtd,
548 static int mxc_nand_write_oob_syndrome(struct mtd_info *mtd,
574 static int mxc_nand_write_page_raw_syndrome(struct mtd_info *mtd,
614 static int mxc_nand_write_page_syndrome(struct mtd_info *mtd,
659 static int mxc_nand_correct_data(struct mtd_info *mtd, u_char *dat,
698 static int mxc_nand_correct_data(struct mtd_info *mtd, u_char *dat,
720 static int mxc_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat,
727 static u_char mxc_nand_read_byte(struct mtd_info *mtd)
767 static uint16_t mxc_nand_read_word(struct mtd_info *mtd)
817 static void mxc_nand_write_buf(struct mtd_info *mtd,
889 static void mxc_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len)
949 static void mxc_nand_select_chip(struct mtd_info *mtd, int chip)
975 void mxc_nand_command(struct mtd_info *mtd, unsigned command,
1147 struct mtd_info *mtd; local