Lines Matching defs:mtd
37 struct mtd_info *mtd; member
52 struct mtd_info *mtd; in mtdchar_open() local
102 struct mtd_info *mtd = mfi->mtd; in mtdchar_close() local
139 struct mtd_info *mtd = mfi->mtd; in mtdchar_read() local
229 struct mtd_info *mtd = mfi->mtd; in mtdchar_write() local
320 struct mtd_info *mtd = mfi->mtd; in otp_select_filemode() local
348 static int mtdchar_writeoob(struct file *file, struct mtd_info *mtd, in mtdchar_writeoob()
390 static int mtdchar_readoob(struct file *file, struct mtd_info *mtd, in mtdchar_readoob()
451 static int shrink_ecclayout(struct mtd_info *mtd, in shrink_ecclayout()
499 static int get_oobinfo(struct mtd_info *mtd, struct nand_oobinfo *to) in get_oobinfo()
549 static int mtdchar_blkpg_ioctl(struct mtd_info *mtd, in mtdchar_blkpg_ioctl()
584 static int mtdchar_write_ioctl(struct mtd_info *mtd, in mtdchar_write_ioctl()
635 struct mtd_info *mtd = mfi->mtd; in mtdchar_ioctl() local
1055 struct mtd_info *mtd = mfi->mtd; in mtdchar_compat_ioctl() local
1142 struct mtd_info *mtd = mfi->mtd; in mtdchar_get_unmapped_area() local
1175 struct mtd_info *mtd = mfi->mtd; in mtdchar_mmap() local