Lines Matching refs:mtd_info
138 struct mtd_info mtd;
162 void (*preset)(struct mtd_info *);
165 void (*send_page)(struct mtd_info *, unsigned int);
393 static void send_page_v3(struct mtd_info *mtd, unsigned int ops)
409 static void send_page_v1_v2(struct mtd_info *mtd, unsigned int ops)
503 static int mxc_nand_dev_ready(struct mtd_info *mtd)
512 static void mxc_nand_enable_hwecc(struct mtd_info *mtd, int mode)
520 static int mxc_nand_correct_data_v1(struct mtd_info *mtd, u_char *dat,
542 static int mxc_nand_correct_data_v2_v3(struct mtd_info *mtd, u_char *dat,
579 static int mxc_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat,
585 static u_char mxc_nand_read_byte(struct mtd_info *mtd)
601 static uint16_t mxc_nand_read_word(struct mtd_info *mtd)
616 static void mxc_nand_write_buf(struct mtd_info *mtd,
635 static void mxc_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len)
651 static int mxc_nand_verify_buf(struct mtd_info *mtd,
659 static void mxc_nand_select_chip(struct mtd_info *mtd, int chip)
688 static void copy_spare(struct mtd_info *mtd, bool bfrom)
715 static void mxc_do_addr_cycle(struct mtd_info *mtd, int column, int page_addr)
766 static int get_eccsize(struct mtd_info *mtd)
778 static void preset_v1_v2(struct mtd_info *mtd)
825 static void preset_v3(struct mtd_info *mtd)
894 static void mxc_nand_command(struct mtd_info *mtd, unsigned command,
1008 struct mtd_info *mtd;