Lines Matching defs:mtd
302 struct mtd_info mtd; member
330 static void fsmc_select_chip(struct mtd_info *mtd, int chipnr) in fsmc_select_chip()
359 static void fsmc_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in fsmc_cmd_ctrl()
446 static void fsmc_enable_hwecc(struct mtd_info *mtd, int mode) in fsmc_enable_hwecc()
466 static int fsmc_read_hwecc_ecc4(struct mtd_info *mtd, const uint8_t *data, in fsmc_read_hwecc_ecc4()
517 static int fsmc_read_hwecc_ecc1(struct mtd_info *mtd, const uint8_t *data, in fsmc_read_hwecc_ecc1()
629 static void fsmc_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in fsmc_write_buf()
652 static void fsmc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in fsmc_read_buf()
675 static void fsmc_read_buf_dma(struct mtd_info *mtd, uint8_t *buf, int len) in fsmc_read_buf_dma()
689 static void fsmc_write_buf_dma(struct mtd_info *mtd, const uint8_t *buf, in fsmc_write_buf_dma()
712 static int fsmc_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in fsmc_read_page_hwecc()
782 static int fsmc_bch8_correct_data(struct mtd_info *mtd, uint8_t *dat, in fsmc_bch8_correct_data()
931 struct mtd_info *mtd; in fsmc_nand_probe() local