Home
last modified time | relevance | path

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

12

/linux-4.19.296/include/linux/mtd/
Dmtd.h35 struct mtd_info;
114 int (*ecc)(struct mtd_info *mtd, int section,
116 int (*free)(struct mtd_info *mtd, int section,
190 int (*get_info)(struct mtd_info *mtd, int wunit,
192 int (*get_wunit)(struct mtd_info *mtd,
207 struct mtd_info { struct
285 int (*_erase) (struct mtd_info *mtd, struct erase_info *instr); argument
286 int (*_point) (struct mtd_info *mtd, loff_t from, size_t len, argument
288 int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len); argument
289 int (*_read) (struct mtd_info *mtd, loff_t from, size_t len, argument
[all …]
Donenand.h25 extern int onenand_scan(struct mtd_info *mtd, int max_chips);
27 extern void onenand_release(struct mtd_info *mtd);
106 int (*command)(struct mtd_info *mtd, int cmd, loff_t address, size_t len);
107 int (*wait)(struct mtd_info *mtd, int state);
108 int (*bbt_wait)(struct mtd_info *mtd, int state);
109 void (*unlock_all)(struct mtd_info *mtd);
110 int (*read_bufferram)(struct mtd_info *mtd, int area,
112 int (*write_bufferram)(struct mtd_info *mtd, int area,
116 void (*mmcontrol)(struct mtd_info *mtd, int sync_read);
117 int (*chip_probe)(struct mtd_info *mtd);
[all …]
Dnand_bch.h14 struct mtd_info;
24 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,
35 struct nand_bch_control *nand_bch_init(struct mtd_info *mtd);
46 nand_bch_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in nand_bch_calculate_ecc()
53 nand_bch_correct_data(struct mtd_info *mtd, unsigned char *buf, in nand_bch_correct_data()
59 static inline struct nand_bch_control *nand_bch_init(struct mtd_info *mtd) in nand_bch_init()
Drawnand.h40 void nand_wait_ready(struct mtd_info *mtd);
650 void (*hwctl)(struct mtd_info *mtd, int mode);
651 int (*calculate)(struct mtd_info *mtd, const uint8_t *dat,
653 int (*correct)(struct mtd_info *mtd, uint8_t *dat, uint8_t *read_ecc,
655 int (*read_page_raw)(struct mtd_info *mtd, struct nand_chip *chip,
657 int (*write_page_raw)(struct mtd_info *mtd, struct nand_chip *chip,
659 int (*read_page)(struct mtd_info *mtd, struct nand_chip *chip,
661 int (*read_subpage)(struct mtd_info *mtd, struct nand_chip *chip,
663 int (*write_subpage)(struct mtd_info *mtd, struct nand_chip *chip,
666 int (*write_page)(struct mtd_info *mtd, struct nand_chip *chip,
[all …]
Dpartitions.h60 struct mtd_info;
81 int (*parse_fn)(struct mtd_info *, const struct mtd_partition **,
108 int mtd_is_partition(const struct mtd_info *mtd);
109 int mtd_add_partition(struct mtd_info *master, const char *name,
111 int mtd_del_partition(struct mtd_info *master, int partno);
112 uint64_t mtd_get_device_size(const struct mtd_info *mtd);
Dconcat.h26 struct mtd_info *mtd_concat_create(
27 struct mtd_info *subdev[], /* subdevices to concatenate */
31 void mtd_concat_destroy(struct mtd_info *mtd);
Dnand_ecc.h16 struct mtd_info;
27 int nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code);
38 int nand_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc);
Dblktrans.h29 struct mtd_info;
37 struct mtd_info *mtd;
81 void (*add_mtd)(struct mtd_blktrans_ops *tr, struct mtd_info *mtd);
Dbbm.h158 int (*isbad_bbt)(struct mtd_info *mtd, loff_t ofs, int allowbbt);
167 extern int onenand_default_bbt(struct mtd_info *mtd);
Dnftl.h58 int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
60 int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
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,
Dnand.h177 struct mtd_info mtd;
209 static inline struct nand_device *mtd_to_nanddev(struct mtd_info *mtd) in mtd_to_nanddev()
220 static inline struct mtd_info *nanddev_to_mtd(struct nand_device *nand) in nanddev_to_mtd()
601 struct mtd_info *mtd = nanddev_to_mtd(nand); in nanddev_io_iter_init()
731 int nanddev_mtd_erase(struct mtd_info *mtd, struct erase_info *einfo);
Dcfi.h288 struct mtd_info *(*cmdset_setup)(struct map_info *);
360 void (*fixup)(struct mtd_info *mtd);
384 void cfi_fixup(struct mtd_info *mtd, struct cfi_fixup* fixups);
389 int cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob,
Dmtdram.h6 int mtdram_init_device(struct mtd_info *mtd, void *mapped_address,
Dgen_probe.h35 struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp);
Dmap.h254 struct mtd_info *(*probe)(struct map_info *map);
255 void (*destroy)(struct mtd_info *);
264 struct mtd_info *do_map_probe(const char *name, struct map_info *map);
265 void map_destroy(struct mtd_info *mtd);
Dqinfo.h89 struct mtd_info *lpddr_cmdset(struct map_info *);
Dspinand.h362 static inline struct spinand_device *mtd_to_spinand(struct mtd_info *mtd) in mtd_to_spinand()
373 static inline struct mtd_info *spinand_to_mtd(struct spinand_device *spinand) in spinand_to_mtd()
Ddoc2000.h214 struct mtd_info *nextdoc;
Dsh_flctl.h187 static inline struct sh_flctl *mtd_to_flctl(struct mtd_info *mtdinfo) in mtd_to_flctl()
Dspi-nor.h284 struct mtd_info mtd;
/linux-4.19.296/fs/romfs/
Dmmap-nommu.c29 struct mtd_info *mtd = inode->i_sb->s_mtd; in romfs_get_unmapped_area()
75 struct mtd_info *mtd = file_inode(file)->i_sb->s_mtd; in romfs_mmap_capabilities()
/linux-4.19.296/include/linux/platform_data/jz4740/
Djz4740_nand.h30 void (*ident_callback)(struct platform_device *, struct mtd_info *,
/linux-4.19.296/fs/jffs2/
Djffs2_fs_sb.h49 struct mtd_info *mtd;
/linux-4.19.296/include/linux/bcma/
Dbcma_driver_chipcommon.h590 struct mtd_info;

12