Lines Matching defs:mtd
58 static void omap_nand_hwcontrol(struct mtd_info *mtd, int32_t cmd, in omap_nand_hwcontrol()
86 static int omap_dev_ready(struct mtd_info *mtd) in omap_dev_ready()
121 static int __maybe_unused omap_correct_data(struct mtd_info *mtd, uint8_t *dat, in omap_correct_data()
178 static void omap_enable_hwecc(struct mtd_info *mtd, int32_t mode) in omap_enable_hwecc()
262 static int omap_calculate_ecc(struct mtd_info *mtd, const uint8_t *dat, in omap_calculate_ecc()
419 static inline void omap_nand_read(struct mtd_info *mtd, uint8_t *buf, int len) in omap_nand_read()
429 static void omap_nand_read_prefetch(struct mtd_info *mtd, uint8_t *buf, int len) in omap_nand_read_prefetch()
492 static int omap_correct_data_bch(struct mtd_info *mtd, uint8_t *dat, in omap_correct_data_bch()
584 static int omap_read_page_bch(struct mtd_info *mtd, struct nand_chip *chip, in omap_read_page_bch()
650 static int omap_correct_data_bch_sw(struct mtd_info *mtd, u_char *data, in omap_correct_data_bch_sw()
693 static void __maybe_unused omap_free_bch(struct mtd_info *mtd) in omap_free_bch()
897 struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); in omap_nand_switch_ecc() local