Lines Matching refs:mtd_info
60 struct mtd_info *mtdinfo;
75 static int slram_erase(struct mtd_info *, struct erase_info *);
76 static int slram_point(struct mtd_info *, loff_t, size_t, size_t *, void **,
78 static int slram_unpoint(struct mtd_info *, loff_t, size_t);
79 static int slram_read(struct mtd_info *, loff_t, size_t, size_t *, u_char *);
80 static int slram_write(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
82 static int slram_erase(struct mtd_info *mtd, struct erase_info *instr) in slram_erase()
96 static int slram_point(struct mtd_info *mtd, loff_t from, size_t len, in slram_point()
106 static int slram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in slram_unpoint()
111 static int slram_read(struct mtd_info *mtd, loff_t from, size_t len, in slram_read()
121 static int slram_write(struct mtd_info *mtd, loff_t to, size_t len, in slram_write()
147 (*curmtd)->mtdinfo = kzalloc(sizeof(struct mtd_info), GFP_KERNEL); in register_device()