Lines Matching defs:mtd
96 static int fsl_ifc_ooblayout_ecc(struct mtd_info *mtd, int section, in fsl_ifc_ooblayout_ecc()
110 static int fsl_ifc_ooblayout_free(struct mtd_info *mtd, int section, in fsl_ifc_ooblayout_free()
151 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr()
174 static int is_blank(struct mtd_info *mtd, unsigned int bufnum) in is_blank()
203 static int check_read_ecc(struct mtd_info *mtd, struct fsl_ifc_ctrl *ctrl, in check_read_ecc()
212 static void fsl_ifc_run_command(struct mtd_info *mtd) in fsl_ifc_run_command()
294 struct mtd_info *mtd) in fsl_ifc_do_read()
333 static void fsl_ifc_cmdfunc(struct mtd_info *mtd, unsigned int command, in fsl_ifc_cmdfunc()
538 static void fsl_ifc_select_chip(struct mtd_info *mtd, int chip) in fsl_ifc_select_chip()
548 static void fsl_ifc_write_buf(struct mtd_info *mtd, const u8 *buf, int len) in fsl_ifc_write_buf()
574 static uint8_t fsl_ifc_read_byte(struct mtd_info *mtd) in fsl_ifc_read_byte()
597 static uint8_t fsl_ifc_read_byte16(struct mtd_info *mtd) in fsl_ifc_read_byte16()
620 static void fsl_ifc_read_buf(struct mtd_info *mtd, u8 *buf, int len) in fsl_ifc_read_buf()
646 static int fsl_ifc_wait(struct mtd_info *mtd, struct nand_chip *chip) in fsl_ifc_wait()
675 static int fsl_ifc_read_page(struct mtd_info *mtd, struct nand_chip *chip, in fsl_ifc_read_page()
698 static int fsl_ifc_write_page(struct mtd_info *mtd, struct nand_chip *chip, in fsl_ifc_write_page()
707 static int fsl_ifc_chip_init_tail(struct mtd_info *mtd) in fsl_ifc_chip_init_tail()
808 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_ifc_chip_init() local
916 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_ifc_chip_remove() local
955 struct mtd_info *mtd; in fsl_ifc_nand_probe() local