Lines Matching defs:mtd
155 struct mtd_info mtd; member
248 static void omap_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl) in omap_hwcontrol()
271 static void omap_read_buf8(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf8()
284 static void omap_write_buf8(struct mtd_info *mtd, const u_char *buf, int len) in omap_write_buf8()
307 static void omap_read_buf16(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf16()
320 static void omap_write_buf16(struct mtd_info *mtd, const u_char * buf, int len) in omap_write_buf16()
345 static void omap_read_buf_pref(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf_pref()
392 static void omap_write_buf_pref(struct mtd_info *mtd, in omap_write_buf_pref()
458 static inline int omap_nand_dma_transfer(struct mtd_info *mtd, void *addr, in omap_nand_dma_transfer()
547 static void omap_read_buf_dma_pref(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf_dma_pref()
562 static void omap_write_buf_dma_pref(struct mtd_info *mtd, in omap_write_buf_dma_pref()
624 static void omap_read_buf_irq_pref(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf_irq_pref()
671 static void omap_write_buf_irq_pref(struct mtd_info *mtd, in omap_write_buf_irq_pref()
886 static int omap_correct_data(struct mtd_info *mtd, u_char *dat, in omap_correct_data()
928 static int omap_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in omap_calculate_ecc()
954 static void omap_enable_hwecc(struct mtd_info *mtd, int mode) in omap_enable_hwecc()
1002 static int omap_wait(struct mtd_info *mtd, struct nand_chip *chip) in omap_wait()
1031 static int omap_dev_ready(struct mtd_info *mtd) in omap_dev_ready()
1057 static void __maybe_unused omap_enable_hwecc_bch(struct mtd_info *mtd, int mode) in omap_enable_hwecc_bch()
1162 static int __maybe_unused omap_calculate_ecc_bch(struct mtd_info *mtd, in omap_calculate_ecc_bch()
1334 static int omap_elm_correct_data(struct mtd_info *mtd, u_char *data, in omap_elm_correct_data()
1507 static int omap_write_page_bch(struct mtd_info *mtd, struct nand_chip *chip, in omap_write_page_bch()
1546 static int omap_read_page_bch(struct mtd_info *mtd, struct nand_chip *chip, in omap_read_page_bch()
1657 struct mtd_info *mtd; in omap_nand_probe() local
2060 struct mtd_info *mtd = platform_get_drvdata(pdev); in omap_nand_remove() local