Home
last modified time | relevance | path

Searched refs:mtd (Results 1 – 17 of 17) sorted by relevance

/include/linux/mtd/
Dmtd.h49 struct mtd_info *mtd; member
180 int (*_erase) (struct mtd_info *mtd, struct erase_info *instr);
181 int (*_point) (struct mtd_info *mtd, loff_t from, size_t len,
183 int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len);
184 unsigned long (*_get_unmapped_area) (struct mtd_info *mtd,
188 int (*_read) (struct mtd_info *mtd, loff_t from, size_t len,
190 int (*_write) (struct mtd_info *mtd, loff_t to, size_t len,
192 int (*_panic_write) (struct mtd_info *mtd, loff_t to, size_t len,
194 int (*_read_oob) (struct mtd_info *mtd, loff_t from,
196 int (*_write_oob) (struct mtd_info *mtd, loff_t to,
[all …]
Dnand.h30 extern int nand_scan(struct mtd_info *mtd, int max_chips);
35 extern int nand_scan_ident(struct mtd_info *mtd, int max_chips,
37 extern int nand_scan_tail(struct mtd_info *mtd);
40 extern void nand_release(struct mtd_info *mtd);
43 extern void nand_wait_ready(struct mtd_info *mtd);
46 extern int nand_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
49 extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
357 void (*hwctl)(struct mtd_info *mtd, int mode);
358 int (*calculate)(struct mtd_info *mtd, const uint8_t *dat,
360 int (*correct)(struct mtd_info *mtd, uint8_t *dat, uint8_t *read_ecc,
[all …]
Donenand.h25 extern int onenand_scan(struct mtd_info *mtd, int max_chips);
27 extern void onenand_release(struct mtd_info *mtd);
107 int (*command)(struct mtd_info *mtd, int cmd, loff_t address, size_t len);
108 int (*wait)(struct mtd_info *mtd, int state);
109 int (*bbt_wait)(struct mtd_info *mtd, int state);
110 void (*unlock_all)(struct mtd_info *mtd);
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 (*chip_probe)(struct mtd_info *mtd);
[all …]
Dnand_bch.h24 int nand_bch_calculate_ecc(struct mtd_info *mtd, const u_char *dat,
30 int nand_bch_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc,
36 nand_bch_init(struct mtd_info *mtd, unsigned int eccsize,
48 nand_bch_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in nand_bch_calculate_ecc() argument
55 nand_bch_correct_data(struct mtd_info *mtd, unsigned char *buf, in nand_bch_correct_data() argument
62 nand_bch_init(struct mtd_info *mtd, unsigned int eccsize, in nand_bch_init() argument
Dbbm.h163 int (*isbad_bbt)(struct mtd_info *mtd, loff_t ofs, int allowbbt);
172 extern int onenand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd);
173 extern int onenand_default_bbt(struct mtd_info *mtd);
Dnand_ecc.h29 int nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code);
40 int nand_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc);
Dnftl.h59 int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
61 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,
Dconcat.h31 void mtd_concat_destroy(struct mtd_info *mtd);
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,
Dblktrans.h36 struct mtd_info *mtd; member
79 void (*add_mtd)(struct mtd_blktrans_ops *tr, struct mtd_info *mtd);
Dpartitions.h82 int mtd_is_partition(struct mtd_info *mtd);
Dsh_flctl.h132 struct mtd_info mtd; member
168 return container_of(mtdinfo, struct sh_flctl, mtd); in mtd_to_flctl()
Dcfi.h531 void (*fixup)(struct mtd_info *mtd);
555 void cfi_fixup(struct mtd_info *mtd, struct cfi_fixup* fixups);
560 int cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob,
Dmap.h264 void map_destroy(struct mtd_info *mtd);
/include/mtd/
DKbuild2 header-y += mtd-abi.h
3 header-y += mtd-user.h
/include/
DKbuild7 header-y += mtd/