Lines Matching defs:mtd
137 static void lpc32xx_nand_cmd_ctrl(struct mtd_info *mtd, in lpc32xx_nand_cmd_ctrl()
156 static int lpc32xx_nand_dev_ready(struct mtd_info *mtd) in lpc32xx_nand_dev_ready()
283 static void lpc32xx_nand_xfer(struct mtd_info *mtd, const u8 *buf, in lpc32xx_nand_xfer()
348 static int lpc32xx_ecc_calculate(struct mtd_info *mtd, const uint8_t *dat, in lpc32xx_ecc_calculate()
358 static void lpc32xx_hwecc_enable(struct mtd_info *mtd, int mode) in lpc32xx_hwecc_enable()
376 int lpc32xx_correct_data(struct mtd_info *mtd, u_char *dat, in lpc32xx_correct_data()
400 static void lpc32xx_dma_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in lpc32xx_dma_read_buf()
405 static void lpc32xx_dma_write_buf(struct mtd_info *mtd, const uint8_t *buf, in lpc32xx_dma_write_buf()
412 static int lpc32xx_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in lpc32xx_read_page_hwecc()
450 static int lpc32xx_write_page_hwecc(struct mtd_info *mtd, in lpc32xx_write_page_hwecc()
479 static void lpc32xx_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in lpc32xx_read_buf()
485 static void lpc32xx_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in lpc32xx_write_buf()
492 static uint8_t lpc32xx_read_byte(struct mtd_info *mtd) in lpc32xx_read_byte()
497 static void lpc32xx_write_byte(struct mtd_info *mtd, uint8_t byte) in lpc32xx_write_byte()