Lines Matching refs:mtd_info
124 struct mtd_info mtd;
146 static void omap_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl)
169 static void omap_read_buf8(struct mtd_info *mtd, u_char *buf, int len)
182 static void omap_write_buf8(struct mtd_info *mtd, const u_char *buf, int len)
204 static void omap_read_buf16(struct mtd_info *mtd, u_char *buf, int len)
217 static void omap_write_buf16(struct mtd_info *mtd, const u_char * buf, int len)
240 static void omap_read_buf_pref(struct mtd_info *mtd, u_char *buf, int len)
286 static void omap_write_buf_pref(struct mtd_info *mtd,
346 static inline int omap_nand_dma_transfer(struct mtd_info *mtd, void *addr,
431 static inline int omap_nand_dma_transfer(struct mtd_info *mtd, void *addr,
444 static void omap_read_buf_dma_pref(struct mtd_info *mtd, u_char *buf, int len)
459 static void omap_write_buf_dma_pref(struct mtd_info *mtd,
475 static int omap_verify_buf(struct mtd_info *mtd, const u_char * buf, int len)
649 static int omap_correct_data(struct mtd_info *mtd, u_char *dat,
688 static int omap_calculate_ecc(struct mtd_info *mtd, const u_char *dat,
701 static void omap_enable_hwecc(struct mtd_info *mtd, int mode)
725 static int omap_wait(struct mtd_info *mtd, struct nand_chip *chip)
753 static int omap_dev_ready(struct mtd_info *mtd)
924 struct mtd_info *mtd = platform_get_drvdata(pdev);