Lines Matching defs:mtd
144 static void lpc32xx_nand_cmd_ctrl(struct mtd_info *mtd, in lpc32xx_nand_cmd_ctrl()
163 static int lpc32xx_nand_dev_ready(struct mtd_info *mtd) in lpc32xx_nand_dev_ready()
290 static void lpc32xx_nand_xfer(struct mtd_info *mtd, const u8 *buf, in lpc32xx_nand_xfer()
356 static int lpc32xx_ecc_calculate(struct mtd_info *mtd, const uint8_t *dat, in lpc32xx_ecc_calculate()
366 static void lpc32xx_hwecc_enable(struct mtd_info *mtd, int mode) in lpc32xx_hwecc_enable()
384 int lpc32xx_correct_data(struct mtd_info *mtd, u_char *dat, in lpc32xx_correct_data()
410 static void lpc32xx_dma_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in lpc32xx_dma_read_buf()
415 static void lpc32xx_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in lpc32xx_read_buf()
422 static uint8_t lpc32xx_read_byte(struct mtd_info *mtd) in lpc32xx_read_byte()
428 static void lpc32xx_dma_write_buf(struct mtd_info *mtd, const uint8_t *buf, in lpc32xx_dma_write_buf()
434 static void lpc32xx_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in lpc32xx_write_buf()
441 static void lpc32xx_write_byte(struct mtd_info *mtd, uint8_t byte) in lpc32xx_write_byte()
448 static int lpc32xx_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in lpc32xx_read_page_hwecc()
486 static int lpc32xx_write_page_hwecc(struct mtd_info *mtd, in lpc32xx_write_page_hwecc()