Lines Matching defs:mtd

176 	struct mtd_info		mtd;  member
533 static void send_page_v3(struct mtd_info *mtd, unsigned int ops) in send_page_v3()
549 static void send_page_v2(struct mtd_info *mtd, unsigned int ops) in send_page_v2()
563 static void send_page_v1(struct mtd_info *mtd, unsigned int ops) in send_page_v1()
646 static int mxc_nand_dev_ready(struct mtd_info *mtd) in mxc_nand_dev_ready()
655 static void mxc_nand_enable_hwecc(struct mtd_info *mtd, int mode) in mxc_nand_enable_hwecc()
663 static int mxc_nand_correct_data_v1(struct mtd_info *mtd, u_char *dat, in mxc_nand_correct_data_v1()
684 static int mxc_nand_correct_data_v2_v3(struct mtd_info *mtd, u_char *dat, in mxc_nand_correct_data_v2_v3()
717 static int mxc_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in mxc_nand_calculate_ecc()
723 static u_char mxc_nand_read_byte(struct mtd_info *mtd) in mxc_nand_read_byte()
747 static uint16_t mxc_nand_read_word(struct mtd_info *mtd) in mxc_nand_read_word()
762 static void mxc_nand_write_buf(struct mtd_info *mtd, in mxc_nand_write_buf()
781 static void mxc_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in mxc_nand_read_buf()
797 static void mxc_nand_select_chip_v1_v3(struct mtd_info *mtd, int chip) in mxc_nand_select_chip_v1_v3()
818 static void mxc_nand_select_chip_v2(struct mtd_info *mtd, int chip) in mxc_nand_select_chip_v2()
851 static void copy_spare(struct mtd_info *mtd, bool bfrom) in copy_spare()
894 static void mxc_do_addr_cycle(struct mtd_info *mtd, int column, int page_addr) in mxc_do_addr_cycle()
951 static int get_eccsize(struct mtd_info *mtd) in get_eccsize()
980 static void preset_v1(struct mtd_info *mtd) in preset_v1()
1008 static void preset_v2(struct mtd_info *mtd) in preset_v2()
1054 static void preset_v3(struct mtd_info *mtd) in preset_v3()
1125 static void mxc_nand_command(struct mtd_info *mtd, unsigned command, in mxc_nand_command()
1499 struct mtd_info *mtd; in mxcnd_probe() local