Home
last modified time | relevance | path

Searched refs:mtd_info (Results 1 – 20 of 20) sorted by relevance

/include/linux/mtd/
Dmtd.h36 struct mtd_info *mtd;
103 struct mtd_info { struct
155 int (*erase) (struct mtd_info *mtd, struct erase_info *instr); argument
159 int (*point) (struct mtd_info *mtd, loff_t from, size_t len, argument
163 void (*unpoint) (struct mtd_info *mtd, loff_t from, size_t len); argument
166 int (*read) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf); argument
167 int (*write) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf); argument
176 …int (*panic_write) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf… argument
178 int (*read_oob) (struct mtd_info *mtd, loff_t from, argument
180 int (*write_oob) (struct mtd_info *mtd, loff_t to, argument
[all …]
Dnand.h25 struct mtd_info;
27 extern int nand_scan (struct mtd_info *mtd, int max_chips);
30 extern int nand_scan_ident(struct mtd_info *mtd, int max_chips);
31 extern int nand_scan_tail(struct mtd_info *mtd);
34 extern void nand_release (struct mtd_info *mtd);
37 extern void nand_wait_ready(struct mtd_info *mtd);
265 void (*hwctl)(struct mtd_info *mtd, int mode);
266 int (*calculate)(struct mtd_info *mtd,
269 int (*correct)(struct mtd_info *mtd, uint8_t *dat,
272 int (*read_page_raw)(struct mtd_info *mtd,
[all …]
Dpmc551.h30 struct mtd_info *nextpmc551;
36 static int pmc551_erase(struct mtd_info *, struct erase_info *);
37 static void pmc551_unpoint(struct mtd_info *, loff_t, size_t);
38 static int pmc551_point(struct mtd_info *mtd, loff_t from, size_t len,
40 static int pmc551_read(struct mtd_info *, loff_t, size_t, size_t *, u_char *);
41 static int pmc551_write(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
Donenand.h23 extern int onenand_scan(struct mtd_info *mtd, int max_chips);
25 extern void onenand_release(struct mtd_info *mtd);
109 int (*command)(struct mtd_info *mtd, int cmd, loff_t address, size_t len);
110 int (*wait)(struct mtd_info *mtd, int state);
111 int (*read_bufferram)(struct mtd_info *mtd, int area,
113 int (*write_bufferram)(struct mtd_info *mtd, int area,
117 void (*mmcontrol)(struct mtd_info *mtd, int sync_read);
118 int (*block_markbad)(struct mtd_info *mtd, loff_t ofs);
119 int (*scan_bbt)(struct mtd_info *mtd);
190 int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from,
Dpartitions.h43 struct mtd_info **mtdp; /* pointer to store the MTD object */
51 int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, int);
52 int del_mtd_partitions(struct mtd_info *);
62 int (*parse_fn)(struct mtd_info *, struct mtd_partition **, unsigned long);
67 extern int parse_mtd_partitions(struct mtd_info *master, const char **types,
Dconcat.h13 struct mtd_info *mtd_concat_create(
14 struct mtd_info *subdev[], /* subdevices to concatenate */
18 void mtd_concat_destroy(struct mtd_info *mtd);
Dnand_ecc.h16 struct mtd_info;
21 int nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code);
26 int nand_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc);
Dbbm.h120 int (*isbad_bbt)(struct mtd_info *mtd, loff_t ofs, int allowbbt);
129 extern int onenand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd);
130 extern int onenand_default_bbt(struct mtd_info *mtd);
Dblktrans.h14 struct mtd_info;
22 struct mtd_info *mtd;
57 void (*add_mtd)(struct mtd_blktrans_ops *tr, struct mtd_info *mtd);
Dnftl.h44 int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
46 int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
Dmtdram.h5 int mtdram_init_device(struct mtd_info *mtd, void *mapped_address,
Dinftl.h56 int inftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
58 int inftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
Dgen_probe.h20 struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp);
Dqinfo.h88 struct mtd_info *lpddr_cmdset(struct map_info *);
Dcfi.h272 struct mtd_info *(*cmdset_setup)(struct map_info *);
514 void (*fixup)(struct mtd_info *mtd, void* param);
526 void cfi_fixup(struct mtd_info *mtd, struct cfi_fixup* fixups);
531 int cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob,
Dmap.h234 struct mtd_info *(*probe)(struct map_info *map);
235 void (*destroy)(struct mtd_info *);
244 struct mtd_info *do_map_probe(const char *name, struct map_info *map);
245 void map_destroy(struct mtd_info *mtd);
Dsh_flctl.h97 struct mtd_info mtd;
Ddoc2000.h187 struct mtd_info *nextdoc;
/include/pcmcia/
Dds.h392 mtd_info_t mtd_info; member
/include/linux/
Dfs.h1168 struct mtd_info *s_mtd;