Lines Matching defs:mtd
159 struct mtd_info mtd; member
323 struct mtd_info *mtd = data; in vf610_nfc_irq() local
357 static void vf610_nfc_command(struct mtd_info *mtd, unsigned command, in vf610_nfc_command()
451 static void vf610_nfc_read_buf(struct mtd_info *mtd, u_char *buf, int len) in vf610_nfc_read_buf()
464 static void vf610_nfc_write_buf(struct mtd_info *mtd, const uint8_t *buf, in vf610_nfc_write_buf()
478 static uint8_t vf610_nfc_read_byte(struct mtd_info *mtd) in vf610_nfc_read_byte()
505 static u16 vf610_nfc_read_word(struct mtd_info *mtd) in vf610_nfc_read_word()
514 static int vf610_nfc_dev_ready(struct mtd_info *mtd) in vf610_nfc_dev_ready()
523 static void vf610_nfc_select_chip(struct mtd_info *mtd, int chip) in vf610_nfc_select_chip()
557 static inline int vf610_nfc_correct_data(struct mtd_info *mtd, uint8_t *dat, in vf610_nfc_correct_data()
585 static int vf610_nfc_read_page(struct mtd_info *mtd, struct nand_chip *chip, in vf610_nfc_read_page()
606 static int vf610_nfc_write_page(struct mtd_info *mtd, struct nand_chip *chip, in vf610_nfc_write_page()
665 struct mtd_info *mtd; in vf610_nfc_probe() local
829 struct mtd_info *mtd = platform_get_drvdata(pdev); in vf610_nfc_remove() local
840 struct mtd_info *mtd = dev_get_drvdata(dev); in vf610_nfc_suspend() local
849 struct mtd_info *mtd = dev_get_drvdata(dev); in vf610_nfc_resume() local