Lines Matching defs:mtd
207 struct mtd_info mtd; member
259 static void lpc32xx_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, in lpc32xx_nand_cmd_ctrl()
285 static int lpc32xx_nand_device_ready(struct mtd_info *mtd) in lpc32xx_nand_device_ready()
318 static void lpc32xx_nand_ecc_enable(struct mtd_info *mtd, int mode) in lpc32xx_nand_ecc_enable()
326 static int lpc32xx_nand_ecc_calculate(struct mtd_info *mtd, in lpc32xx_nand_ecc_calculate()
340 static uint8_t lpc32xx_nand_read_byte(struct mtd_info *mtd) in lpc32xx_nand_read_byte()
351 static void lpc32xx_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in lpc32xx_nand_read_buf()
364 static void lpc32xx_nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in lpc32xx_nand_write_buf()
377 static int lpc32xx_nand_read_oob_syndrome(struct mtd_info *mtd, in lpc32xx_nand_read_oob_syndrome()
389 static int lpc32xx_nand_write_oob_syndrome(struct mtd_info *mtd, in lpc32xx_nand_write_oob_syndrome()
428 static int lpc32xx_xmit_dma(struct mtd_info *mtd, dma_addr_t dma, in lpc32xx_xmit_dma()
488 static int lpc32xx_xfer(struct mtd_info *mtd, uint8_t *buf, int eccsubpages, in lpc32xx_xfer()
603 static int lpc32xx_nand_read_page_syndrome(struct mtd_info *mtd, in lpc32xx_nand_read_page_syndrome()
645 static int lpc32xx_nand_read_page_raw_syndrome(struct mtd_info *mtd, in lpc32xx_nand_read_page_raw_syndrome()
664 static int lpc32xx_nand_write_page_syndrome(struct mtd_info *mtd, in lpc32xx_nand_write_page_syndrome()
693 static int lpc32xx_nand_write_page_raw_syndrome(struct mtd_info *mtd, in lpc32xx_nand_write_page_raw_syndrome()
706 struct mtd_info *mtd = &host->mtd; in lpc32xx_nand_dma_setup() local
763 struct mtd_info *mtd; in lpc32xx_nand_probe() local
936 struct mtd_info *mtd = &host->mtd; in lpc32xx_nand_remove() local