Lines Matching defs:mtd
204 struct mtd_info mtd; member
256 static void lpc32xx_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, in lpc32xx_nand_cmd_ctrl()
282 static int lpc32xx_nand_device_ready(struct mtd_info *mtd) in lpc32xx_nand_device_ready()
315 static void lpc32xx_nand_ecc_enable(struct mtd_info *mtd, int mode) in lpc32xx_nand_ecc_enable()
323 static int lpc32xx_nand_ecc_calculate(struct mtd_info *mtd, in lpc32xx_nand_ecc_calculate()
337 static uint8_t lpc32xx_nand_read_byte(struct mtd_info *mtd) in lpc32xx_nand_read_byte()
348 static void lpc32xx_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in lpc32xx_nand_read_buf()
361 static void lpc32xx_nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in lpc32xx_nand_write_buf()
374 static int lpc32xx_nand_read_oob_syndrome(struct mtd_info *mtd, in lpc32xx_nand_read_oob_syndrome()
386 static int lpc32xx_nand_write_oob_syndrome(struct mtd_info *mtd, in lpc32xx_nand_write_oob_syndrome()
425 static int lpc32xx_xmit_dma(struct mtd_info *mtd, dma_addr_t dma, in lpc32xx_xmit_dma()
485 static int lpc32xx_xfer(struct mtd_info *mtd, uint8_t *buf, int eccsubpages, in lpc32xx_xfer()
600 static int lpc32xx_nand_read_page_syndrome(struct mtd_info *mtd, in lpc32xx_nand_read_page_syndrome()
642 static int lpc32xx_nand_read_page_raw_syndrome(struct mtd_info *mtd, in lpc32xx_nand_read_page_raw_syndrome()
661 static int lpc32xx_nand_write_page_syndrome(struct mtd_info *mtd, in lpc32xx_nand_write_page_syndrome()
689 static int lpc32xx_nand_write_page_raw_syndrome(struct mtd_info *mtd, in lpc32xx_nand_write_page_raw_syndrome()
702 struct mtd_info *mtd = &host->mtd; in lpc32xx_nand_dma_setup() local
759 struct mtd_info *mtd; in lpc32xx_nand_probe() local
932 struct mtd_info *mtd = &host->mtd; in lpc32xx_nand_remove() local