Lines Matching defs:mtd
176 struct mtd_info mtd; member
500 static void send_page_v3(struct mtd_info *mtd, unsigned int ops) in send_page_v3()
516 static void send_page_v2(struct mtd_info *mtd, unsigned int ops) in send_page_v2()
530 static void send_page_v1(struct mtd_info *mtd, unsigned int ops) in send_page_v1()
613 static int mxc_nand_dev_ready(struct mtd_info *mtd) in mxc_nand_dev_ready()
622 static void mxc_nand_enable_hwecc(struct mtd_info *mtd, int mode) in mxc_nand_enable_hwecc()
630 static int mxc_nand_correct_data_v1(struct mtd_info *mtd, u_char *dat, in mxc_nand_correct_data_v1()
651 static int mxc_nand_correct_data_v2_v3(struct mtd_info *mtd, u_char *dat, in mxc_nand_correct_data_v2_v3()
684 static int mxc_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in mxc_nand_calculate_ecc()
690 static u_char mxc_nand_read_byte(struct mtd_info *mtd) in mxc_nand_read_byte()
714 static uint16_t mxc_nand_read_word(struct mtd_info *mtd) in mxc_nand_read_word()
729 static void mxc_nand_write_buf(struct mtd_info *mtd, in mxc_nand_write_buf()
748 static void mxc_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in mxc_nand_read_buf()
764 static void mxc_nand_select_chip_v1_v3(struct mtd_info *mtd, int chip) in mxc_nand_select_chip_v1_v3()
785 static void mxc_nand_select_chip_v2(struct mtd_info *mtd, int chip) in mxc_nand_select_chip_v2()
812 static void copy_spare(struct mtd_info *mtd, bool bfrom) in copy_spare()
845 static void mxc_do_addr_cycle(struct mtd_info *mtd, int column, int page_addr) in mxc_do_addr_cycle()
902 static int get_eccsize(struct mtd_info *mtd) in get_eccsize()
914 static void preset_v1(struct mtd_info *mtd) in preset_v1()
942 static void preset_v2(struct mtd_info *mtd) in preset_v2()
988 static void preset_v3(struct mtd_info *mtd) in preset_v3()
1059 static void mxc_nand_command(struct mtd_info *mtd, unsigned command, in mxc_nand_command()
1432 struct mtd_info *mtd; in mxcnd_probe() local