Lines Matching defs:mtd
35 struct mtd_info *mtd; member
50 struct mtd_info *mtd; in mtdchar_open() local
94 struct mtd_info *mtd = mfi->mtd; in mtdchar_close() local
131 struct mtd_info *mtd = mfi->mtd; in mtdchar_read() local
221 struct mtd_info *mtd = mfi->mtd; in mtdchar_write() local
312 struct mtd_info *mtd = mfi->mtd; in otp_select_filemode() local
340 static int mtdchar_writeoob(struct file *file, struct mtd_info *mtd, in mtdchar_writeoob()
382 static int mtdchar_readoob(struct file *file, struct mtd_info *mtd, in mtdchar_readoob()
443 static int shrink_ecclayout(struct mtd_info *mtd, in shrink_ecclayout()
491 static int get_oobinfo(struct mtd_info *mtd, struct nand_oobinfo *to) in get_oobinfo()
541 static int mtdchar_blkpg_ioctl(struct mtd_info *mtd, in mtdchar_blkpg_ioctl()
576 static void adjust_oob_length(struct mtd_info *mtd, uint64_t start, in adjust_oob_length()
594 mtdchar_write_ioctl(struct mtd_info *mtd, struct mtd_write_req __user *argp) in mtdchar_write_ioctl()
692 mtdchar_read_ioctl(struct mtd_info *mtd, struct mtd_read_req __user *argp) in mtdchar_read_ioctl()
825 struct mtd_info *mtd = mfi->mtd; in mtdchar_ioctl() local
1234 struct mtd_info *mtd = mfi->mtd; in mtdchar_unlocked_ioctl() local
1260 struct mtd_info *mtd = mfi->mtd; in mtdchar_compat_ioctl() local
1348 struct mtd_info *mtd = mfi->mtd; in mtdchar_get_unmapped_area() local
1381 struct mtd_info *mtd = mfi->mtd; in mtdchar_mmap() local