Lines Matching refs:mtd_info
18 static int mapram_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
19 static int mapram_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
20 static int mapram_erase (struct mtd_info *, struct erase_info *);
21 static void mapram_nop (struct mtd_info *);
22 static struct mtd_info *map_ram_probe(struct map_info *map);
23 static int mapram_point (struct mtd_info *mtd, loff_t from, size_t len,
25 static int mapram_unpoint(struct mtd_info *mtd, loff_t from, size_t len);
34 static struct mtd_info *map_ram_probe(struct map_info *map) in map_ram_probe()
36 struct mtd_info *mtd; in map_ram_probe()
86 static int mapram_point(struct mtd_info *mtd, loff_t from, size_t len, in mapram_point()
100 static int mapram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in mapram_unpoint()
105 static int mapram_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in mapram_read()
114 static int mapram_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in mapram_write()
123 static int mapram_erase (struct mtd_info *mtd, struct erase_info *instr) in mapram_erase()
137 static void mapram_nop(struct mtd_info *mtd) in mapram_nop()