Lines Matching defs:mtd
221 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr()
245 static int is_blank(struct mtd_info *mtd, struct fsl_ifc_ctrl *ctrl, in is_blank()
271 static int check_read_ecc(struct mtd_info *mtd, struct fsl_ifc_ctrl *ctrl, in check_read_ecc()
280 static int fsl_ifc_run_command(struct mtd_info *mtd) in fsl_ifc_run_command()
358 struct mtd_info *mtd) in fsl_ifc_do_read()
394 static void fsl_ifc_cmdfunc(struct mtd_info *mtd, unsigned int command, in fsl_ifc_cmdfunc()
598 static void fsl_ifc_write_buf(struct mtd_info *mtd, const u8 *buf, int len) in fsl_ifc_write_buf()
626 static u8 fsl_ifc_read_byte(struct mtd_info *mtd) in fsl_ifc_read_byte()
650 static uint8_t fsl_ifc_read_byte16(struct mtd_info *mtd) in fsl_ifc_read_byte16()
674 static void fsl_ifc_read_buf(struct mtd_info *mtd, u8 *buf, int len) in fsl_ifc_read_buf()
697 static int fsl_ifc_wait(struct mtd_info *mtd, struct nand_chip *chip) in fsl_ifc_wait()
730 static int fsl_ifc_read_page(struct mtd_info *mtd, struct nand_chip *chip, in fsl_ifc_read_page()
748 static int fsl_ifc_write_page(struct mtd_info *mtd, struct nand_chip *chip, in fsl_ifc_write_page()
788 static void fsl_ifc_select_chip(struct mtd_info *mtd, int chip) in fsl_ifc_select_chip()
874 struct mtd_info *mtd; in fsl_ifc_chip_init() local