mtd_info          589 include/linux/bcma/bcma_driver_chipcommon.h 	struct mtd_info *mtd;
mtd_info          595 include/linux/bcma/bcma_driver_chipcommon.h struct mtd_info;
mtd_info          601 include/linux/bcma/bcma_driver_chipcommon.h 	struct mtd_info *mtd;
mtd_info         1225 include/linux/fs.h 	struct mtd_info		*s_mtd;
mtd_info          160 include/linux/mtd/bbm.h 	int (*isbad_bbt)(struct mtd_info *mtd, loff_t ofs, int allowbbt);
mtd_info          169 include/linux/mtd/bbm.h extern int onenand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd);
mtd_info          170 include/linux/mtd/bbm.h extern int onenand_default_bbt(struct mtd_info *mtd);
mtd_info           29 include/linux/mtd/blktrans.h struct mtd_info;
mtd_info           37 include/linux/mtd/blktrans.h 	struct mtd_info *mtd;
mtd_info           81 include/linux/mtd/blktrans.h 	void (*add_mtd)(struct mtd_blktrans_ops *tr, struct mtd_info *mtd);
mtd_info          288 include/linux/mtd/cfi.h 	struct mtd_info *(*cmdset_setup)(struct map_info *);
mtd_info          531 include/linux/mtd/cfi.h 	void (*fixup)(struct mtd_info *mtd);
mtd_info          555 include/linux/mtd/cfi.h void cfi_fixup(struct mtd_info *mtd, struct cfi_fixup* fixups);
mtd_info          560 include/linux/mtd/cfi.h int cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob,
mtd_info           26 include/linux/mtd/concat.h struct mtd_info *mtd_concat_create(
mtd_info           27 include/linux/mtd/concat.h     struct mtd_info *subdev[],  /* subdevices to concatenate */
mtd_info           31 include/linux/mtd/concat.h void mtd_concat_destroy(struct mtd_info *mtd);
mtd_info          214 include/linux/mtd/doc2000.h 	struct mtd_info *nextdoc;
mtd_info           35 include/linux/mtd/gen_probe.h struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp);
mtd_info           56 include/linux/mtd/inftl.h int inftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
mtd_info           58 include/linux/mtd/inftl.h int inftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
mtd_info          254 include/linux/mtd/map.h 	struct mtd_info *(*probe)(struct map_info *map);
mtd_info          255 include/linux/mtd/map.h 	void (*destroy)(struct mtd_info *);
mtd_info          264 include/linux/mtd/map.h struct mtd_info *do_map_probe(const char *name, struct map_info *map);
mtd_info          265 include/linux/mtd/map.h void map_destroy(struct mtd_info *mtd);
mtd_info           46 include/linux/mtd/mtd.h 	struct mtd_info *mtd;
mtd_info          189 include/linux/mtd/mtd.h 	int (*_erase) (struct mtd_info *mtd, struct erase_info *instr);
mtd_info          190 include/linux/mtd/mtd.h 	int (*_point) (struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          192 include/linux/mtd/mtd.h 	int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len);
mtd_info          193 include/linux/mtd/mtd.h 	unsigned long (*_get_unmapped_area) (struct mtd_info *mtd,
mtd_info          197 include/linux/mtd/mtd.h 	int (*_read) (struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          199 include/linux/mtd/mtd.h 	int (*_write) (struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          201 include/linux/mtd/mtd.h 	int (*_panic_write) (struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          203 include/linux/mtd/mtd.h 	int (*_read_oob) (struct mtd_info *mtd, loff_t from,
mtd_info          205 include/linux/mtd/mtd.h 	int (*_write_oob) (struct mtd_info *mtd, loff_t to,
mtd_info          207 include/linux/mtd/mtd.h 	int (*_get_fact_prot_info) (struct mtd_info *mtd, size_t len,
mtd_info          209 include/linux/mtd/mtd.h 	int (*_read_fact_prot_reg) (struct mtd_info *mtd, loff_t from,
mtd_info          211 include/linux/mtd/mtd.h 	int (*_get_user_prot_info) (struct mtd_info *mtd, size_t len,
mtd_info          213 include/linux/mtd/mtd.h 	int (*_read_user_prot_reg) (struct mtd_info *mtd, loff_t from,
mtd_info          215 include/linux/mtd/mtd.h 	int (*_write_user_prot_reg) (struct mtd_info *mtd, loff_t to,
mtd_info          217 include/linux/mtd/mtd.h 	int (*_lock_user_prot_reg) (struct mtd_info *mtd, loff_t from,
mtd_info          219 include/linux/mtd/mtd.h 	int (*_writev) (struct mtd_info *mtd, const struct kvec *vecs,
mtd_info          221 include/linux/mtd/mtd.h 	void (*_sync) (struct mtd_info *mtd);
mtd_info          222 include/linux/mtd/mtd.h 	int (*_lock) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          223 include/linux/mtd/mtd.h 	int (*_unlock) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          224 include/linux/mtd/mtd.h 	int (*_is_locked) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          225 include/linux/mtd/mtd.h 	int (*_block_isreserved) (struct mtd_info *mtd, loff_t ofs);
mtd_info          226 include/linux/mtd/mtd.h 	int (*_block_isbad) (struct mtd_info *mtd, loff_t ofs);
mtd_info          227 include/linux/mtd/mtd.h 	int (*_block_markbad) (struct mtd_info *mtd, loff_t ofs);
mtd_info          228 include/linux/mtd/mtd.h 	int (*_suspend) (struct mtd_info *mtd);
mtd_info          229 include/linux/mtd/mtd.h 	void (*_resume) (struct mtd_info *mtd);
mtd_info          234 include/linux/mtd/mtd.h 	int (*_get_device) (struct mtd_info *mtd);
mtd_info          235 include/linux/mtd/mtd.h 	void (*_put_device) (struct mtd_info *mtd);
mtd_info          256 include/linux/mtd/mtd.h int mtd_erase(struct mtd_info *mtd, struct erase_info *instr);
mtd_info          257 include/linux/mtd/mtd.h int mtd_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen,
mtd_info          259 include/linux/mtd/mtd.h int mtd_unpoint(struct mtd_info *mtd, loff_t from, size_t len);
mtd_info          260 include/linux/mtd/mtd.h unsigned long mtd_get_unmapped_area(struct mtd_info *mtd, unsigned long len,
mtd_info          262 include/linux/mtd/mtd.h int mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen,
mtd_info          264 include/linux/mtd/mtd.h int mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
mtd_info          266 include/linux/mtd/mtd.h int mtd_panic_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
mtd_info          269 include/linux/mtd/mtd.h int mtd_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops);
mtd_info          271 include/linux/mtd/mtd.h static inline int mtd_write_oob(struct mtd_info *mtd, loff_t to,
mtd_info          282 include/linux/mtd/mtd.h int mtd_get_fact_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen,
mtd_info          284 include/linux/mtd/mtd.h int mtd_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          286 include/linux/mtd/mtd.h int mtd_get_user_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen,
mtd_info          288 include/linux/mtd/mtd.h int mtd_read_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          290 include/linux/mtd/mtd.h int mtd_write_user_prot_reg(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          292 include/linux/mtd/mtd.h int mtd_lock_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len);
mtd_info          294 include/linux/mtd/mtd.h int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
mtd_info          297 include/linux/mtd/mtd.h static inline void mtd_sync(struct mtd_info *mtd)
mtd_info          303 include/linux/mtd/mtd.h int mtd_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          304 include/linux/mtd/mtd.h int mtd_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          305 include/linux/mtd/mtd.h int mtd_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          306 include/linux/mtd/mtd.h int mtd_block_isreserved(struct mtd_info *mtd, loff_t ofs);
mtd_info          307 include/linux/mtd/mtd.h int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs);
mtd_info          308 include/linux/mtd/mtd.h int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs);
mtd_info          310 include/linux/mtd/mtd.h static inline int mtd_suspend(struct mtd_info *mtd)
mtd_info          315 include/linux/mtd/mtd.h static inline void mtd_resume(struct mtd_info *mtd)
mtd_info          321 include/linux/mtd/mtd.h static inline uint32_t mtd_div_by_eb(uint64_t sz, struct mtd_info *mtd)
mtd_info          329 include/linux/mtd/mtd.h static inline uint32_t mtd_mod_by_eb(uint64_t sz, struct mtd_info *mtd)
mtd_info          336 include/linux/mtd/mtd.h static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd)
mtd_info          344 include/linux/mtd/mtd.h static inline uint32_t mtd_mod_by_ws(uint64_t sz, struct mtd_info *mtd)
mtd_info          351 include/linux/mtd/mtd.h static inline int mtd_has_oob(const struct mtd_info *mtd)
mtd_info          356 include/linux/mtd/mtd.h static inline int mtd_type_is_nand(const struct mtd_info *mtd)
mtd_info          361 include/linux/mtd/mtd.h static inline int mtd_can_have_bb(const struct mtd_info *mtd)
mtd_info          371 include/linux/mtd/mtd.h extern int mtd_device_parse_register(struct mtd_info *mtd,
mtd_info          378 include/linux/mtd/mtd.h extern int mtd_device_unregister(struct mtd_info *master);
mtd_info          379 include/linux/mtd/mtd.h extern struct mtd_info *get_mtd_device(struct mtd_info *mtd, int num);
mtd_info          380 include/linux/mtd/mtd.h extern int __get_mtd_device(struct mtd_info *mtd);
mtd_info          381 include/linux/mtd/mtd.h extern void __put_mtd_device(struct mtd_info *mtd);
mtd_info          382 include/linux/mtd/mtd.h extern struct mtd_info *get_mtd_device_nm(const char *name);
mtd_info          383 include/linux/mtd/mtd.h extern void put_mtd_device(struct mtd_info *mtd);
mtd_info          387 include/linux/mtd/mtd.h 	void (*add)(struct mtd_info *mtd);
mtd_info          388 include/linux/mtd/mtd.h 	void (*remove)(struct mtd_info *mtd);
mtd_info          395 include/linux/mtd/mtd.h void *mtd_kmalloc_up_to(const struct mtd_info *mtd, size_t *size);
mtd_info            5 include/linux/mtd/mtdram.h int mtdram_init_device(struct mtd_info *mtd, void *mapped_address,
mtd_info           27 include/linux/mtd/nand.h struct mtd_info;
mtd_info           30 include/linux/mtd/nand.h extern int nand_scan(struct mtd_info *mtd, int max_chips);
mtd_info           35 include/linux/mtd/nand.h extern int nand_scan_ident(struct mtd_info *mtd, int max_chips,
mtd_info           37 include/linux/mtd/nand.h extern int nand_scan_tail(struct mtd_info *mtd);
mtd_info           40 include/linux/mtd/nand.h extern void nand_release(struct mtd_info *mtd);
mtd_info           43 include/linux/mtd/nand.h extern void nand_wait_ready(struct mtd_info *mtd);
mtd_info           46 include/linux/mtd/nand.h extern int nand_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info           49 include/linux/mtd/nand.h extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          484 include/linux/mtd/nand.h 	void (*hwctl)(struct mtd_info *mtd, int mode);
mtd_info          485 include/linux/mtd/nand.h 	int (*calculate)(struct mtd_info *mtd, const uint8_t *dat,
mtd_info          487 include/linux/mtd/nand.h 	int (*correct)(struct mtd_info *mtd, uint8_t *dat, uint8_t *read_ecc,
mtd_info          489 include/linux/mtd/nand.h 	int (*read_page_raw)(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          491 include/linux/mtd/nand.h 	int (*write_page_raw)(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          493 include/linux/mtd/nand.h 	int (*read_page)(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          495 include/linux/mtd/nand.h 	int (*read_subpage)(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          497 include/linux/mtd/nand.h 	int (*write_subpage)(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          500 include/linux/mtd/nand.h 	int (*write_page)(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          502 include/linux/mtd/nand.h 	int (*write_oob_raw)(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          504 include/linux/mtd/nand.h 	int (*read_oob_raw)(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          506 include/linux/mtd/nand.h 	int (*read_oob)(struct mtd_info *mtd, struct nand_chip *chip, int page);
mtd_info          507 include/linux/mtd/nand.h 	int (*write_oob)(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          634 include/linux/mtd/nand.h 	uint8_t (*read_byte)(struct mtd_info *mtd);
mtd_info          635 include/linux/mtd/nand.h 	u16 (*read_word)(struct mtd_info *mtd);
mtd_info          636 include/linux/mtd/nand.h 	void (*write_byte)(struct mtd_info *mtd, uint8_t byte);
mtd_info          637 include/linux/mtd/nand.h 	void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len);
mtd_info          638 include/linux/mtd/nand.h 	void (*read_buf)(struct mtd_info *mtd, uint8_t *buf, int len);
mtd_info          639 include/linux/mtd/nand.h 	void (*select_chip)(struct mtd_info *mtd, int chip);
mtd_info          640 include/linux/mtd/nand.h 	int (*block_bad)(struct mtd_info *mtd, loff_t ofs, int getchip);
mtd_info          641 include/linux/mtd/nand.h 	int (*block_markbad)(struct mtd_info *mtd, loff_t ofs);
mtd_info          642 include/linux/mtd/nand.h 	void (*cmd_ctrl)(struct mtd_info *mtd, int dat, unsigned int ctrl);
mtd_info          643 include/linux/mtd/nand.h 	int (*init_size)(struct mtd_info *mtd, struct nand_chip *this,
mtd_info          645 include/linux/mtd/nand.h 	int (*dev_ready)(struct mtd_info *mtd);
mtd_info          646 include/linux/mtd/nand.h 	void (*cmdfunc)(struct mtd_info *mtd, unsigned command, int column,
mtd_info          648 include/linux/mtd/nand.h 	int(*waitfunc)(struct mtd_info *mtd, struct nand_chip *this);
mtd_info          649 include/linux/mtd/nand.h 	int (*erase)(struct mtd_info *mtd, int page);
mtd_info          650 include/linux/mtd/nand.h 	int (*scan_bbt)(struct mtd_info *mtd);
mtd_info          651 include/linux/mtd/nand.h 	int (*errstat)(struct mtd_info *mtd, struct nand_chip *this, int state,
mtd_info          653 include/linux/mtd/nand.h 	int (*write_page)(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          656 include/linux/mtd/nand.h 	int (*onfi_set_features)(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          658 include/linux/mtd/nand.h 	int (*onfi_get_features)(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          660 include/linux/mtd/nand.h 	int (*setup_read_retry)(struct mtd_info *mtd, int retry_mode);
mtd_info          822 include/linux/mtd/nand.h extern int nand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd);
mtd_info          823 include/linux/mtd/nand.h extern int nand_default_bbt(struct mtd_info *mtd);
mtd_info          824 include/linux/mtd/nand.h extern int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs);
mtd_info          825 include/linux/mtd/nand.h extern int nand_isreserved_bbt(struct mtd_info *mtd, loff_t offs);
mtd_info          826 include/linux/mtd/nand.h extern int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt);
mtd_info          827 include/linux/mtd/nand.h extern int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr,
mtd_info          829 include/linux/mtd/nand.h extern int nand_do_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          878 include/linux/mtd/nand.h 	void (*hwcontrol)(struct mtd_info *mtd, int cmd);
mtd_info          879 include/linux/mtd/nand.h 	int (*dev_ready)(struct mtd_info *mtd);
mtd_info          880 include/linux/mtd/nand.h 	void (*select_chip)(struct mtd_info *mtd, int chip);
mtd_info          881 include/linux/mtd/nand.h 	void (*cmd_ctrl)(struct mtd_info *mtd, int dat, unsigned int ctrl);
mtd_info          882 include/linux/mtd/nand.h 	void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len);
mtd_info          883 include/linux/mtd/nand.h 	void (*read_buf)(struct mtd_info *mtd, uint8_t *buf, int len);
mtd_info          884 include/linux/mtd/nand.h 	unsigned char (*read_byte)(struct mtd_info *mtd);
mtd_info          900 include/linux/mtd/nand.h struct platform_nand_chip *get_platform_nandchip(struct mtd_info *mtd)
mtd_info           14 include/linux/mtd/nand_bch.h struct mtd_info;
mtd_info           24 include/linux/mtd/nand_bch.h int nand_bch_calculate_ecc(struct mtd_info *mtd, const u_char *dat,
mtd_info           30 include/linux/mtd/nand_bch.h int nand_bch_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc,
mtd_info           36 include/linux/mtd/nand_bch.h nand_bch_init(struct mtd_info *mtd, unsigned int eccsize,
mtd_info           48 include/linux/mtd/nand_bch.h nand_bch_calculate_ecc(struct mtd_info *mtd, const u_char *dat,
mtd_info           55 include/linux/mtd/nand_bch.h nand_bch_correct_data(struct mtd_info *mtd, unsigned char *buf,
mtd_info           62 include/linux/mtd/nand_bch.h nand_bch_init(struct mtd_info *mtd, unsigned int eccsize,
mtd_info           18 include/linux/mtd/nand_ecc.h struct mtd_info;
mtd_info           29 include/linux/mtd/nand_ecc.h int nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code);
mtd_info           40 include/linux/mtd/nand_ecc.h int nand_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc);
mtd_info           59 include/linux/mtd/nftl.h int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
mtd_info           61 include/linux/mtd/nftl.h int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
mtd_info           25 include/linux/mtd/onenand.h extern int onenand_scan(struct mtd_info *mtd, int max_chips);
mtd_info           27 include/linux/mtd/onenand.h extern void onenand_release(struct mtd_info *mtd);
mtd_info          107 include/linux/mtd/onenand.h 	int (*command)(struct mtd_info *mtd, int cmd, loff_t address, size_t len);
mtd_info          108 include/linux/mtd/onenand.h 	int (*wait)(struct mtd_info *mtd, int state);
mtd_info          109 include/linux/mtd/onenand.h 	int (*bbt_wait)(struct mtd_info *mtd, int state);
mtd_info          110 include/linux/mtd/onenand.h 	void (*unlock_all)(struct mtd_info *mtd);
mtd_info          111 include/linux/mtd/onenand.h 	int (*read_bufferram)(struct mtd_info *mtd, int area,
mtd_info          113 include/linux/mtd/onenand.h 	int (*write_bufferram)(struct mtd_info *mtd, int area,
mtd_info          117 include/linux/mtd/onenand.h 	void (*mmcontrol)(struct mtd_info *mtd, int sync_read);
mtd_info          118 include/linux/mtd/onenand.h 	int (*chip_probe)(struct mtd_info *mtd);
mtd_info          119 include/linux/mtd/onenand.h 	int (*block_markbad)(struct mtd_info *mtd, loff_t ofs);
mtd_info          120 include/linux/mtd/onenand.h 	int (*scan_bbt)(struct mtd_info *mtd);
mtd_info          121 include/linux/mtd/onenand.h 	int (*enable)(struct mtd_info *mtd);
mtd_info          122 include/linux/mtd/onenand.h 	int (*disable)(struct mtd_info *mtd);
mtd_info          226 include/linux/mtd/onenand.h int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from,
mtd_info          230 include/linux/mtd/onenand.h int flexonenand_region(struct mtd_info *mtd, loff_t addr);
mtd_info          235 include/linux/mtd/onenand.h 	void		(*mmcontrol)(struct mtd_info *mtd, int sync_read);
mtd_info          236 include/linux/mtd/onenand.h 	int		(*read_bufferram)(struct mtd_info *mtd, int area,
mtd_info           53 include/linux/mtd/partitions.h struct mtd_info;
mtd_info           75 include/linux/mtd/partitions.h 	int (*parse_fn)(struct mtd_info *, struct mtd_partition **,
mtd_info           82 include/linux/mtd/partitions.h int mtd_is_partition(const struct mtd_info *mtd);
mtd_info           83 include/linux/mtd/partitions.h int mtd_add_partition(struct mtd_info *master, const char *name,
mtd_info           85 include/linux/mtd/partitions.h int mtd_del_partition(struct mtd_info *master, int partno);
mtd_info           86 include/linux/mtd/partitions.h uint64_t mtd_get_device_size(const struct mtd_info *mtd);
mtd_info           88 include/linux/mtd/qinfo.h struct mtd_info *lpddr_cmdset(struct map_info *);
mtd_info          146 include/linux/mtd/sh_flctl.h 	struct mtd_info		mtd;
mtd_info          187 include/linux/mtd/sh_flctl.h static inline struct sh_flctl *mtd_to_flctl(struct mtd_info *mtdinfo)
mtd_info          152 include/linux/mtd/spi-nor.h 	struct mtd_info		*mtd;
mtd_info           15 include/linux/platform_data/mtd-orion_nand.h 	int (*dev_ready)(struct mtd_info *mtd);