Lines Matching defs:mtd

249 static void copy_spare(struct mtd_info *mtd, bool bfrom, void *buf)  in copy_spare()
356 struct mtd_info *mtd = nand_to_mtd(chip); in get_ecc_status_v1() local
387 struct mtd_info *mtd = nand_to_mtd(chip); in get_ecc_status_v2_v3() local
559 static void send_page_v3(struct mtd_info *mtd, unsigned int ops) in send_page_v3()
575 static void send_page_v2(struct mtd_info *mtd, unsigned int ops) in send_page_v2()
589 static void send_page_v1(struct mtd_info *mtd, unsigned int ops) in send_page_v1()
709 struct mtd_info *mtd = nand_to_mtd(chip); in mxc_nand_read_page_v1() local
741 struct mtd_info *mtd = nand_to_mtd(chip); in mxc_nand_read_page_v2_v3() local
752 struct mtd_info *mtd = nand_to_mtd(chip); in mxc_nand_read_page() local
774 struct mtd_info *mtd = nand_to_mtd(chip); in mxc_nand_read_page_raw() local
789 struct mtd_info *mtd = nand_to_mtd(chip); in mxc_nand_read_oob() local
805 struct mtd_info *mtd = nand_to_mtd(chip); in mxc_nand_write_page_ecc() local
823 struct mtd_info *mtd = nand_to_mtd(chip); in mxc_nand_write_page_raw() local
832 struct mtd_info *mtd = nand_to_mtd(chip); in mxc_nand_write_oob() local
888 static int mxc_v1_ooblayout_ecc(struct mtd_info *mtd, int section, in mxc_v1_ooblayout_ecc()
902 static int mxc_v1_ooblayout_free(struct mtd_info *mtd, int section, in mxc_v1_ooblayout_free()
935 static int mxc_v2_ooblayout_ecc(struct mtd_info *mtd, int section, in mxc_v2_ooblayout_ecc()
950 static int mxc_v2_ooblayout_free(struct mtd_info *mtd, int section, in mxc_v2_ooblayout_free()
985 static int get_eccsize(struct mtd_info *mtd) in get_eccsize()
997 static void preset_v1(struct mtd_info *mtd) in preset_v1()
1100 static void preset_v2(struct mtd_info *mtd) in preset_v2()
1149 static void preset_v3(struct mtd_info *mtd) in preset_v3()
1398 struct mtd_info *mtd = nand_to_mtd(chip); in mxcnd_attach_chip() local
1484 static void copy_page_to_sram(struct mtd_info *mtd, const void *buf, int buf_len) in copy_page_to_sram()
1533 static void copy_page_from_sram(struct mtd_info *mtd) in copy_page_from_sram()
1561 struct mtd_info *mtd = nand_to_mtd(chip); in mxcnd_do_exec_op() local
1691 struct mtd_info *mtd; in mxcnd_probe() local