Lines Matching defs:map_info
173 /* The map stuff is very simple. You fill in your struct map_info with
184 The mtd->priv field will point to the struct map_info, and any further
192 struct map_info {
208 map_word (*read)(struct map_info *, unsigned long);
209 void (*copy_from)(struct map_info *, void *, unsigned long, ssize_t);
211 void (*write)(struct map_info *, const map_word, unsigned long);
212 void (*copy_to)(struct map_info *, unsigned long, const void *, ssize_t);
223 void (*inval_cache)(struct map_info *, unsigned long, ssize_t);
230 void (*set_vpp)(struct map_info *, int);
241 struct mtd_info *(*probe)(struct map_info *map);
251 struct mtd_info *do_map_probe(const char *name, struct map_info *map);
322 static inline map_word map_word_load(struct map_info *map, const void *ptr)
344 static inline map_word map_word_load_partial(struct map_info *map, map_word orig, const unsigned char *buf, int start, int len)
374 static inline map_word map_word_ff(struct map_info *map)
390 static inline map_word inline_map_read(struct map_info *map, unsigned long ofs)
412 static inline void inline_map_write(struct map_info *map, const map_word datum, unsigned long ofs)
431 static inline void inline_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len)
439 static inline void inline_map_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len)
450 extern void simple_map_init(struct map_info *);