mtd_info           11 arch/arm/include/asm/mach/flash.h struct mtd_info;
mtd_info           31 arch/arm/include/asm/mach/flash.h 	void		(*mmcontrol)(struct mtd_info *mtd, int sync_read);
mtd_info          757 arch/arm/mach-pxa/spitz.c static int akita_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          785 arch/arm/mach-pxa/spitz.c static int akita_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info           21 arch/mips/cavium-octeon/flash_setup.c static struct mtd_info *mymtd;
mtd_info          137 drivers/firmware/broadcom/bcm47xx_nvram.c 	struct mtd_info *mtd;
mtd_info          287 drivers/media/pci/cobalt/cobalt-driver.h 	struct mtd_info *mtd;
mtd_info           88 drivers/media/pci/cobalt/cobalt-flash.c 	struct mtd_info *mtd;
mtd_info           62 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
mtd_info           63 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_write_words(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
mtd_info           64 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_write_buffers(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
mtd_info           65 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_writev(struct mtd_info *, const struct kvec *, unsigned long, loff_t, size_t *);
mtd_info           66 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_erase_varsize(struct mtd_info *, struct erase_info *);
mtd_info           67 drivers/mtd/chips/cfi_cmdset_0001.c static void cfi_intelext_sync (struct mtd_info *);
mtd_info           68 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info           69 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info           70 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_is_locked(struct mtd_info *mtd, loff_t ofs,
mtd_info           73 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_read_fact_prot_reg (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
mtd_info           74 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_read_user_prot_reg (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
mtd_info           75 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_write_user_prot_reg (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
mtd_info           76 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_lock_user_prot_reg (struct mtd_info *, loff_t, size_t);
mtd_info           77 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_get_fact_prot_info(struct mtd_info *, size_t,
mtd_info           79 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_get_user_prot_info(struct mtd_info *, size_t,
mtd_info           82 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_suspend (struct mtd_info *);
mtd_info           83 drivers/mtd/chips/cfi_cmdset_0001.c static void cfi_intelext_resume (struct mtd_info *);
mtd_info           86 drivers/mtd/chips/cfi_cmdset_0001.c static void cfi_intelext_destroy(struct mtd_info *);
mtd_info           88 drivers/mtd/chips/cfi_cmdset_0001.c struct mtd_info *cfi_cmdset_0001(struct map_info *, int);
mtd_info           90 drivers/mtd/chips/cfi_cmdset_0001.c static struct mtd_info *cfi_intelext_setup (struct mtd_info *);
mtd_info           91 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_partition_fixup(struct mtd_info *, struct cfi_private **);
mtd_info           93 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_point (struct mtd_info *mtd, loff_t from, size_t len,
mtd_info           95 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_unpoint(struct mtd_info *mtd, loff_t from, size_t len);
mtd_info          170 drivers/mtd/chips/cfi_cmdset_0001.c static void fixup_convert_atmel_pri(struct mtd_info *mtd)
mtd_info          210 drivers/mtd/chips/cfi_cmdset_0001.c static void fixup_at49bv640dx_lock(struct mtd_info *mtd)
mtd_info          222 drivers/mtd/chips/cfi_cmdset_0001.c static void fixup_intel_strataflash(struct mtd_info *mtd)
mtd_info          235 drivers/mtd/chips/cfi_cmdset_0001.c static void fixup_no_write_suspend(struct mtd_info *mtd)
mtd_info          248 drivers/mtd/chips/cfi_cmdset_0001.c static void fixup_st_m28w320ct(struct mtd_info *mtd)
mtd_info          257 drivers/mtd/chips/cfi_cmdset_0001.c static void fixup_st_m28w320cb(struct mtd_info *mtd)
mtd_info          277 drivers/mtd/chips/cfi_cmdset_0001.c static void fixup_LH28F640BF(struct mtd_info *mtd)
mtd_info          297 drivers/mtd/chips/cfi_cmdset_0001.c static void fixup_use_point(struct mtd_info *mtd)
mtd_info          306 drivers/mtd/chips/cfi_cmdset_0001.c static void fixup_use_write_buffers(struct mtd_info *mtd)
mtd_info          320 drivers/mtd/chips/cfi_cmdset_0001.c static void fixup_unlock_powerup_lock(struct mtd_info *mtd)
mtd_info          479 drivers/mtd/chips/cfi_cmdset_0001.c struct mtd_info *cfi_cmdset_0001(struct map_info *map, int primary)
mtd_info          482 drivers/mtd/chips/cfi_cmdset_0001.c 	struct mtd_info *mtd;
mtd_info          592 drivers/mtd/chips/cfi_cmdset_0001.c struct mtd_info *cfi_cmdset_0003(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0001")));
mtd_info          593 drivers/mtd/chips/cfi_cmdset_0001.c struct mtd_info *cfi_cmdset_0200(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0001")));
mtd_info          598 drivers/mtd/chips/cfi_cmdset_0001.c static struct mtd_info *cfi_intelext_setup(struct mtd_info *mtd)
mtd_info          678 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_partition_fixup(struct mtd_info *mtd,
mtd_info         1379 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_point(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info         1432 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_unpoint(struct mtd_info *mtd, loff_t from, size_t len)
mtd_info         1511 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf)
mtd_info         1623 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_write_words (struct mtd_info *mtd, loff_t to , size_t len, size_t *retlen, const u_char *buf)
mtd_info         1868 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_writev (struct mtd_info *mtd, const struct kvec *vecs,
mtd_info         1920 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_write_buffers (struct mtd_info *mtd, loff_t to,
mtd_info         2021 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_erase_varsize(struct mtd_info *mtd, struct erase_info *instr)
mtd_info         2027 drivers/mtd/chips/cfi_cmdset_0001.c static void cfi_intelext_sync (struct mtd_info *mtd)
mtd_info         2160 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         2184 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         2208 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_is_locked(struct mtd_info *mtd, loff_t ofs,
mtd_info         2295 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_otp_walk(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info         2429 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_read_fact_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info         2437 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_read_user_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info         2445 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_write_user_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info         2453 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_lock_user_prot_reg(struct mtd_info *mtd,
mtd_info         2461 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_get_fact_prot_info(struct mtd_info *mtd, size_t len,
mtd_info         2469 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_get_user_prot_info(struct mtd_info *mtd, size_t len,
mtd_info         2478 drivers/mtd/chips/cfi_cmdset_0001.c static void cfi_intelext_save_locks(struct mtd_info *mtd)
mtd_info         2504 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_suspend(struct mtd_info *mtd)
mtd_info         2578 drivers/mtd/chips/cfi_cmdset_0001.c static void cfi_intelext_restore_locks(struct mtd_info *mtd)
mtd_info         2598 drivers/mtd/chips/cfi_cmdset_0001.c static void cfi_intelext_resume(struct mtd_info *mtd)
mtd_info         2629 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_reset(struct mtd_info *mtd)
mtd_info         2657 drivers/mtd/chips/cfi_cmdset_0001.c 	struct mtd_info *mtd;
mtd_info         2659 drivers/mtd/chips/cfi_cmdset_0001.c 	mtd = container_of(nb, struct mtd_info, reboot_notifier);
mtd_info         2664 drivers/mtd/chips/cfi_cmdset_0001.c static void cfi_intelext_destroy(struct mtd_info *mtd)
mtd_info           62 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
mtd_info           63 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_write_words(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
mtd_info           65 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_write_buffers(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
mtd_info           67 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_erase_chip(struct mtd_info *, struct erase_info *);
mtd_info           68 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_erase_varsize(struct mtd_info *, struct erase_info *);
mtd_info           69 drivers/mtd/chips/cfi_cmdset_0002.c static void cfi_amdstd_sync (struct mtd_info *);
mtd_info           70 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_suspend (struct mtd_info *);
mtd_info           71 drivers/mtd/chips/cfi_cmdset_0002.c static void cfi_amdstd_resume (struct mtd_info *);
mtd_info           73 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_get_fact_prot_info(struct mtd_info *, size_t,
mtd_info           75 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_get_user_prot_info(struct mtd_info *, size_t,
mtd_info           77 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_secsi_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
mtd_info           78 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_read_fact_prot_reg(struct mtd_info *, loff_t, size_t,
mtd_info           80 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_read_user_prot_reg(struct mtd_info *, loff_t, size_t,
mtd_info           82 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_write_user_prot_reg(struct mtd_info *, loff_t, size_t,
mtd_info           84 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_lock_user_prot_reg(struct mtd_info *, loff_t, size_t);
mtd_info           86 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_panic_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info           89 drivers/mtd/chips/cfi_cmdset_0002.c static void cfi_amdstd_destroy(struct mtd_info *);
mtd_info           91 drivers/mtd/chips/cfi_cmdset_0002.c struct mtd_info *cfi_cmdset_0002(struct map_info *, int);
mtd_info           92 drivers/mtd/chips/cfi_cmdset_0002.c static struct mtd_info *cfi_amdstd_setup (struct mtd_info *);
mtd_info           98 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_atmel_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info           99 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_atmel_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          101 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_ppb_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          102 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_ppb_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          103 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_ppb_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          221 drivers/mtd/chips/cfi_cmdset_0002.c static void fixup_amd_bootblock(struct mtd_info *mtd)
mtd_info          271 drivers/mtd/chips/cfi_cmdset_0002.c static void fixup_use_write_buffers(struct mtd_info *mtd)
mtd_info          283 drivers/mtd/chips/cfi_cmdset_0002.c static void fixup_convert_atmel_pri(struct mtd_info *mtd)
mtd_info          314 drivers/mtd/chips/cfi_cmdset_0002.c static void fixup_use_secsi(struct mtd_info *mtd)
mtd_info          321 drivers/mtd/chips/cfi_cmdset_0002.c static void fixup_use_erase_chip(struct mtd_info *mtd)
mtd_info          336 drivers/mtd/chips/cfi_cmdset_0002.c static void fixup_use_atmel_lock(struct mtd_info *mtd)
mtd_info          343 drivers/mtd/chips/cfi_cmdset_0002.c static void fixup_old_sst_eraseregion(struct mtd_info *mtd)
mtd_info          357 drivers/mtd/chips/cfi_cmdset_0002.c static void fixup_sst39vf(struct mtd_info *mtd)
mtd_info          368 drivers/mtd/chips/cfi_cmdset_0002.c static void fixup_sst39vf_rev_b(struct mtd_info *mtd)
mtd_info          381 drivers/mtd/chips/cfi_cmdset_0002.c static void fixup_sst38vf640x_sectorsize(struct mtd_info *mtd)
mtd_info          397 drivers/mtd/chips/cfi_cmdset_0002.c static void fixup_s29gl064n_sectors(struct mtd_info *mtd)
mtd_info          409 drivers/mtd/chips/cfi_cmdset_0002.c static void fixup_s29gl032n_sectors(struct mtd_info *mtd)
mtd_info          421 drivers/mtd/chips/cfi_cmdset_0002.c static void fixup_s29ns512p_sectors(struct mtd_info *mtd)
mtd_info          583 drivers/mtd/chips/cfi_cmdset_0002.c struct mtd_info *cfi_cmdset_0002(struct map_info *map, int primary)
mtd_info          587 drivers/mtd/chips/cfi_cmdset_0002.c 	struct mtd_info *mtd;
mtd_info          742 drivers/mtd/chips/cfi_cmdset_0002.c struct mtd_info *cfi_cmdset_0006(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0002")));
mtd_info          743 drivers/mtd/chips/cfi_cmdset_0002.c struct mtd_info *cfi_cmdset_0701(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0002")));
mtd_info          748 drivers/mtd/chips/cfi_cmdset_0002.c static struct mtd_info *cfi_amdstd_setup(struct mtd_info *mtd)
mtd_info         1240 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf)
mtd_info         1348 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_secsi_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf)
mtd_info         1485 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_otp_walk(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info         1603 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_get_fact_prot_info(struct mtd_info *mtd, size_t len,
mtd_info         1610 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_get_user_prot_info(struct mtd_info *mtd, size_t len,
mtd_info         1617 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_read_fact_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info         1625 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_read_user_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info         1633 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_write_user_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info         1641 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_lock_user_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info         1820 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_write_words(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info         2100 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info         2312 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_panic_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info         2614 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_erase_varsize(struct mtd_info *mtd, struct erase_info *instr)
mtd_info         2621 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_erase_chip(struct mtd_info *mtd, struct erase_info *instr)
mtd_info         2697 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_atmel_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         2702 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_atmel_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         2794 drivers/mtd/chips/cfi_cmdset_0002.c static int __maybe_unused cfi_ppb_lock(struct mtd_info *mtd, loff_t ofs,
mtd_info         2801 drivers/mtd/chips/cfi_cmdset_0002.c static int __maybe_unused cfi_ppb_unlock(struct mtd_info *mtd, loff_t ofs,
mtd_info         2906 drivers/mtd/chips/cfi_cmdset_0002.c static int __maybe_unused cfi_ppb_is_locked(struct mtd_info *mtd, loff_t ofs,
mtd_info         2913 drivers/mtd/chips/cfi_cmdset_0002.c static void cfi_amdstd_sync (struct mtd_info *mtd)
mtd_info         2975 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_suspend(struct mtd_info *mtd)
mtd_info         3029 drivers/mtd/chips/cfi_cmdset_0002.c static void cfi_amdstd_resume(struct mtd_info *mtd)
mtd_info         3061 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_reset(struct mtd_info *mtd)
mtd_info         3091 drivers/mtd/chips/cfi_cmdset_0002.c 	struct mtd_info *mtd;
mtd_info         3093 drivers/mtd/chips/cfi_cmdset_0002.c 	mtd = container_of(nb, struct mtd_info, reboot_notifier);
mtd_info         3099 drivers/mtd/chips/cfi_cmdset_0002.c static void cfi_amdstd_destroy(struct mtd_info *mtd)
mtd_info           37 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_read(struct mtd_info *, loff_t, size_t, size_t *, u_char *);
mtd_info           38 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_write_buffers(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
mtd_info           39 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_writev(struct mtd_info *mtd, const struct kvec *vecs,
mtd_info           41 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_erase_varsize(struct mtd_info *, struct erase_info *);
mtd_info           42 drivers/mtd/chips/cfi_cmdset_0020.c static void cfi_staa_sync (struct mtd_info *);
mtd_info           43 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info           44 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info           45 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_suspend (struct mtd_info *);
mtd_info           46 drivers/mtd/chips/cfi_cmdset_0020.c static void cfi_staa_resume (struct mtd_info *);
mtd_info           48 drivers/mtd/chips/cfi_cmdset_0020.c static void cfi_staa_destroy(struct mtd_info *);
mtd_info           50 drivers/mtd/chips/cfi_cmdset_0020.c struct mtd_info *cfi_cmdset_0020(struct map_info *, int);
mtd_info           52 drivers/mtd/chips/cfi_cmdset_0020.c static struct mtd_info *cfi_staa_setup (struct map_info *);
mtd_info          113 drivers/mtd/chips/cfi_cmdset_0020.c struct mtd_info *cfi_cmdset_0020(struct map_info *map, int primary)
mtd_info          166 drivers/mtd/chips/cfi_cmdset_0020.c static struct mtd_info *cfi_staa_setup(struct map_info *map)
mtd_info          169 drivers/mtd/chips/cfi_cmdset_0020.c 	struct mtd_info *mtd;
mtd_info          384 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf)
mtd_info          608 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_write_buffers (struct mtd_info *mtd, loff_t to,
mtd_info          665 drivers/mtd/chips/cfi_cmdset_0020.c cfi_staa_writev(struct mtd_info *mtd, const struct kvec *vecs,
mtd_info          893 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_erase_varsize(struct mtd_info *mtd,
mtd_info          975 drivers/mtd/chips/cfi_cmdset_0020.c static void cfi_staa_sync (struct mtd_info *mtd)
mtd_info         1130 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         1277 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         1316 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_suspend(struct mtd_info *mtd)
mtd_info         1372 drivers/mtd/chips/cfi_cmdset_0020.c static void cfi_staa_resume(struct mtd_info *mtd)
mtd_info         1396 drivers/mtd/chips/cfi_cmdset_0020.c static void cfi_staa_destroy(struct mtd_info *mtd)
mtd_info           31 drivers/mtd/chips/cfi_probe.c struct mtd_info *cfi_probe(struct map_info *map);
mtd_info          431 drivers/mtd/chips/cfi_probe.c struct mtd_info *cfi_probe(struct map_info *map)
mtd_info          342 drivers/mtd/chips/cfi_util.c void cfi_fixup(struct mtd_info *mtd, struct cfi_fixup *fixups)
mtd_info          358 drivers/mtd/chips/cfi_util.c int cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob,
mtd_info           58 drivers/mtd/chips/chipreg.c struct mtd_info *do_map_probe(const char *name, struct map_info *map)
mtd_info           61 drivers/mtd/chips/chipreg.c 	struct mtd_info *ret;
mtd_info           86 drivers/mtd/chips/chipreg.c void map_destroy(struct mtd_info *mtd)
mtd_info           80 drivers/mtd/chips/fwh_lock.h static int fwh_lock_varsize(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info           91 drivers/mtd/chips/fwh_lock.h static int fwh_unlock_varsize(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info          101 drivers/mtd/chips/fwh_lock.h static void fixup_use_fwh_lock(struct mtd_info *mtd)
mtd_info           15 drivers/mtd/chips/gen_probe.c static struct mtd_info *check_cmd_set(struct map_info *, int);
mtd_info           21 drivers/mtd/chips/gen_probe.c struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp)
mtd_info           23 drivers/mtd/chips/gen_probe.c 	struct mtd_info *mtd;
mtd_info          193 drivers/mtd/chips/gen_probe.c typedef struct mtd_info *cfi_cmdset_fn_t(struct map_info *, int);
mtd_info          199 drivers/mtd/chips/gen_probe.c static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map,
mtd_info          220 drivers/mtd/chips/gen_probe.c 		struct mtd_info *mtd;
mtd_info          233 drivers/mtd/chips/gen_probe.c static struct mtd_info *check_cmd_set(struct map_info *map, int primary)
mtd_info         2284 drivers/mtd/chips/jedec_probe.c static struct mtd_info *jedec_probe(struct map_info *map)
mtd_info           30 drivers/mtd/chips/map_absent.c static int map_absent_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
mtd_info           31 drivers/mtd/chips/map_absent.c static int map_absent_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
mtd_info           32 drivers/mtd/chips/map_absent.c static int map_absent_erase (struct mtd_info *, struct erase_info *);
mtd_info           33 drivers/mtd/chips/map_absent.c static void map_absent_sync (struct mtd_info *);
mtd_info           34 drivers/mtd/chips/map_absent.c static struct mtd_info *map_absent_probe(struct map_info *map);
mtd_info           35 drivers/mtd/chips/map_absent.c static void map_absent_destroy (struct mtd_info *);
mtd_info           45 drivers/mtd/chips/map_absent.c static struct mtd_info *map_absent_probe(struct map_info *map)
mtd_info           47 drivers/mtd/chips/map_absent.c 	struct mtd_info *mtd;
mtd_info           72 drivers/mtd/chips/map_absent.c static int map_absent_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf)
mtd_info           77 drivers/mtd/chips/map_absent.c static int map_absent_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf)
mtd_info           82 drivers/mtd/chips/map_absent.c static int map_absent_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info           87 drivers/mtd/chips/map_absent.c static void map_absent_sync(struct mtd_info *mtd)
mtd_info           92 drivers/mtd/chips/map_absent.c static void map_absent_destroy(struct mtd_info *mtd)
mtd_info           18 drivers/mtd/chips/map_ram.c static int mapram_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
mtd_info           19 drivers/mtd/chips/map_ram.c static int mapram_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
mtd_info           20 drivers/mtd/chips/map_ram.c static int mapram_erase (struct mtd_info *, struct erase_info *);
mtd_info           21 drivers/mtd/chips/map_ram.c static void mapram_nop (struct mtd_info *);
mtd_info           22 drivers/mtd/chips/map_ram.c static struct mtd_info *map_ram_probe(struct map_info *map);
mtd_info           23 drivers/mtd/chips/map_ram.c static int mapram_point (struct mtd_info *mtd, loff_t from, size_t len,
mtd_info           25 drivers/mtd/chips/map_ram.c static int mapram_unpoint(struct mtd_info *mtd, loff_t from, size_t len);
mtd_info           34 drivers/mtd/chips/map_ram.c static struct mtd_info *map_ram_probe(struct map_info *map)
mtd_info           36 drivers/mtd/chips/map_ram.c 	struct mtd_info *mtd;
mtd_info           86 drivers/mtd/chips/map_ram.c static int mapram_point(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          100 drivers/mtd/chips/map_ram.c static int mapram_unpoint(struct mtd_info *mtd, loff_t from, size_t len)
mtd_info          105 drivers/mtd/chips/map_ram.c static int mapram_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf)
mtd_info          114 drivers/mtd/chips/map_ram.c static int mapram_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf)
mtd_info          123 drivers/mtd/chips/map_ram.c static int mapram_erase (struct mtd_info *mtd, struct erase_info *instr)
mtd_info          137 drivers/mtd/chips/map_ram.c static void mapram_nop(struct mtd_info *mtd)
mtd_info           18 drivers/mtd/chips/map_rom.c static int maprom_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
mtd_info           19 drivers/mtd/chips/map_rom.c static int maprom_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
mtd_info           20 drivers/mtd/chips/map_rom.c static void maprom_nop (struct mtd_info *);
mtd_info           21 drivers/mtd/chips/map_rom.c static struct mtd_info *map_rom_probe(struct map_info *map);
mtd_info           22 drivers/mtd/chips/map_rom.c static int maprom_erase (struct mtd_info *mtd, struct erase_info *info);
mtd_info           23 drivers/mtd/chips/map_rom.c static int maprom_point (struct mtd_info *mtd, loff_t from, size_t len,
mtd_info           25 drivers/mtd/chips/map_rom.c static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len);
mtd_info           43 drivers/mtd/chips/map_rom.c static struct mtd_info *map_rom_probe(struct map_info *map)
mtd_info           45 drivers/mtd/chips/map_rom.c 	struct mtd_info *mtd;
mtd_info           72 drivers/mtd/chips/map_rom.c static int maprom_point(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info           86 drivers/mtd/chips/map_rom.c static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len)
mtd_info           91 drivers/mtd/chips/map_rom.c static int maprom_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf)
mtd_info          100 drivers/mtd/chips/map_rom.c static void maprom_nop(struct mtd_info *mtd)
mtd_info          105 drivers/mtd/chips/map_rom.c static int maprom_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf)
mtd_info          110 drivers/mtd/chips/map_rom.c static int maprom_erase (struct mtd_info *mtd, struct erase_info *info)
mtd_info           69 drivers/mtd/devices/bcm47xxsflash.c static int bcm47xxsflash_erase(struct mtd_info *mtd, struct erase_info *erase)
mtd_info           95 drivers/mtd/devices/bcm47xxsflash.c static int bcm47xxsflash_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          128 drivers/mtd/devices/bcm47xxsflash.c static int bcm47xxsflash_write_st(struct mtd_info *mtd, u32 offset, size_t len,
mtd_info          173 drivers/mtd/devices/bcm47xxsflash.c static int bcm47xxsflash_write_at(struct mtd_info *mtd, u32 offset, size_t len,
mtd_info          216 drivers/mtd/devices/bcm47xxsflash.c static int bcm47xxsflash_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          252 drivers/mtd/devices/bcm47xxsflash.c 	struct mtd_info *mtd = &b47s->mtd;
mtd_info           78 drivers/mtd/devices/bcm47xxsflash.h 	struct mtd_info mtd;
mtd_info           38 drivers/mtd/devices/block2mtd.c 	struct mtd_info mtd;
mtd_info           84 drivers/mtd/devices/block2mtd.c static int block2mtd_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info          101 drivers/mtd/devices/block2mtd.c static int block2mtd_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          175 drivers/mtd/devices/block2mtd.c static int block2mtd_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          191 drivers/mtd/devices/block2mtd.c static void block2mtd_sync(struct mtd_info *mtd)
mtd_info           56 drivers/mtd/devices/docg3.c static int docg3_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           69 drivers/mtd/devices/docg3.c static int docg3_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          865 drivers/mtd/devices/docg3.c static int doc_read_oob(struct mtd_info *mtd, loff_t from,
mtd_info         1005 drivers/mtd/devices/docg3.c static int doc_block_isbad(struct mtd_info *mtd, loff_t from)
mtd_info         1176 drivers/mtd/devices/docg3.c static int doc_erase(struct mtd_info *mtd, struct erase_info *info)
mtd_info         1374 drivers/mtd/devices/docg3.c static int doc_write_oob(struct mtd_info *mtd, loff_t ofs,
mtd_info         1459 drivers/mtd/devices/docg3.c 	struct mtd_info **docg3_floors = dev_get_drvdata(dev);
mtd_info         1717 drivers/mtd/devices/docg3.c static void __init doc_dbg_register(struct mtd_info *floor)
mtd_info         1745 drivers/mtd/devices/docg3.c static int __init doc_set_driver_info(int chip_id, struct mtd_info *mtd)
mtd_info         1797 drivers/mtd/devices/docg3.c static struct mtd_info * __init
mtd_info         1803 drivers/mtd/devices/docg3.c 	struct mtd_info *mtd;
mtd_info         1809 drivers/mtd/devices/docg3.c 	mtd = kzalloc(sizeof(struct mtd_info), GFP_KERNEL);
mtd_info         1868 drivers/mtd/devices/docg3.c static void doc_release_device(struct mtd_info *mtd)
mtd_info         1888 drivers/mtd/devices/docg3.c 	struct mtd_info **docg3_floors, *mtd;
mtd_info         1915 drivers/mtd/devices/docg3.c 	struct mtd_info **docg3_floors, *mtd;
mtd_info         1966 drivers/mtd/devices/docg3.c 	struct mtd_info *mtd;
mtd_info          265 drivers/mtd/devices/docg3.h 	struct mtd_info *floors[DOC_MAX_NBFLOORS];
mtd_info          358 drivers/mtd/devices/lart.c static int flash_erase (struct mtd_info *mtd,struct erase_info *instr)
mtd_info          425 drivers/mtd/devices/lart.c static int flash_read (struct mtd_info *mtd,loff_t from,size_t len,size_t *retlen,u_char *buf)
mtd_info          500 drivers/mtd/devices/lart.c static int flash_write (struct mtd_info *mtd,loff_t to,size_t len,size_t *retlen,const u_char *buf)
mtd_info          560 drivers/mtd/devices/lart.c static struct mtd_info mtd;
mtd_info           30 drivers/mtd/devices/mchp23k256.c 	struct mtd_info		mtd;
mtd_info           60 drivers/mtd/devices/mchp23k256.c static int mchp23k256_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info           99 drivers/mtd/devices/mchp23k256.c static int mchp23k256_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info           50 drivers/mtd/devices/ms02-nv.c static struct mtd_info *root_ms02nv_mtd;
mtd_info           53 drivers/mtd/devices/ms02-nv.c static int ms02nv_read(struct mtd_info *mtd, loff_t from,
mtd_info           63 drivers/mtd/devices/ms02-nv.c static int ms02nv_write(struct mtd_info *mtd, loff_t to,
mtd_info          106 drivers/mtd/devices/ms02-nv.c 	struct mtd_info *mtd;
mtd_info          248 drivers/mtd/devices/ms02-nv.c 	struct mtd_info *mtd = root_ms02nv_mtd;
mtd_info           91 drivers/mtd/devices/ms02-nv.h 	struct mtd_info *next;
mtd_info           96 drivers/mtd/devices/mtd_dataflash.c 	struct mtd_info		mtd;
mtd_info          148 drivers/mtd/devices/mtd_dataflash.c static int dataflash_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info          229 drivers/mtd/devices/mtd_dataflash.c static int dataflash_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          293 drivers/mtd/devices/mtd_dataflash.c static int dataflash_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          436 drivers/mtd/devices/mtd_dataflash.c static int dataflash_get_otp_info(struct mtd_info *mtd, size_t len,
mtd_info          495 drivers/mtd/devices/mtd_dataflash.c static int dataflash_read_fact_otp(struct mtd_info *mtd,
mtd_info          512 drivers/mtd/devices/mtd_dataflash.c static int dataflash_read_user_otp(struct mtd_info *mtd,
mtd_info          529 drivers/mtd/devices/mtd_dataflash.c static int dataflash_write_user_otp(struct mtd_info *mtd,
mtd_info          585 drivers/mtd/devices/mtd_dataflash.c static char *otp_setup(struct mtd_info *device, char revision)
mtd_info          603 drivers/mtd/devices/mtd_dataflash.c static char *otp_setup(struct mtd_info *device, char revision)
mtd_info          619 drivers/mtd/devices/mtd_dataflash.c 	struct mtd_info			*device;
mtd_info           35 drivers/mtd/devices/mtdram.c static struct mtd_info *mtd_info;
mtd_info           37 drivers/mtd/devices/mtdram.c static int check_offs_len(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info           56 drivers/mtd/devices/mtdram.c static int ram_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info           65 drivers/mtd/devices/mtdram.c static int ram_point(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info           94 drivers/mtd/devices/mtdram.c static int ram_unpoint(struct mtd_info *mtd, loff_t from, size_t len)
mtd_info           99 drivers/mtd/devices/mtdram.c static int ram_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          107 drivers/mtd/devices/mtdram.c static int ram_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          117 drivers/mtd/devices/mtdram.c 	if (mtd_info) {
mtd_info          118 drivers/mtd/devices/mtdram.c 		mtd_device_unregister(mtd_info);
mtd_info          119 drivers/mtd/devices/mtdram.c 		vfree(mtd_info->priv);
mtd_info          120 drivers/mtd/devices/mtdram.c 		kfree(mtd_info);
mtd_info          124 drivers/mtd/devices/mtdram.c int mtdram_init_device(struct mtd_info *mtd, void *mapped_address,
mtd_info          161 drivers/mtd/devices/mtdram.c 	mtd_info = kmalloc(sizeof(struct mtd_info), GFP_KERNEL);
mtd_info          162 drivers/mtd/devices/mtdram.c 	if (!mtd_info)
mtd_info          167 drivers/mtd/devices/mtdram.c 		kfree(mtd_info);
mtd_info          168 drivers/mtd/devices/mtdram.c 		mtd_info = NULL;
mtd_info          171 drivers/mtd/devices/mtdram.c 	err = mtdram_init_device(mtd_info, addr, MTDRAM_TOTAL_SIZE, "mtdram test device");
mtd_info          174 drivers/mtd/devices/mtdram.c 		kfree(mtd_info);
mtd_info          175 drivers/mtd/devices/mtdram.c 		mtd_info = NULL;
mtd_info          178 drivers/mtd/devices/mtdram.c 	memset(mtd_info->priv, 0xff, MTDRAM_TOTAL_SIZE);
mtd_info           31 drivers/mtd/devices/phram.c 	struct mtd_info mtd;
mtd_info           37 drivers/mtd/devices/phram.c static int phram_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info           46 drivers/mtd/devices/phram.c static int phram_point(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info           54 drivers/mtd/devices/phram.c static int phram_unpoint(struct mtd_info *mtd, loff_t from, size_t len)
mtd_info           59 drivers/mtd/devices/phram.c static int phram_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info           69 drivers/mtd/devices/phram.c static int phram_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          127 drivers/mtd/devices/pmc551.c 	struct mtd_info *nextpmc551;
mtd_info          130 drivers/mtd/devices/pmc551.c static struct mtd_info *pmc551list;
mtd_info          132 drivers/mtd/devices/pmc551.c static int pmc551_point(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          135 drivers/mtd/devices/pmc551.c static int pmc551_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info          189 drivers/mtd/devices/pmc551.c static int pmc551_point(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          215 drivers/mtd/devices/pmc551.c static int pmc551_unpoint(struct mtd_info *mtd, loff_t from, size_t len)
mtd_info          223 drivers/mtd/devices/pmc551.c static int pmc551_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          279 drivers/mtd/devices/pmc551.c static int pmc551_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          656 drivers/mtd/devices/pmc551.c 	struct mtd_info *mtd;
mtd_info          718 drivers/mtd/devices/pmc551.c 		mtd = kzalloc(sizeof(struct mtd_info), GFP_KERNEL);
mtd_info          823 drivers/mtd/devices/pmc551.c 	struct mtd_info *mtd;
mtd_info           31 drivers/mtd/devices/powernv_flash.c 	struct mtd_info	mtd;
mtd_info           46 drivers/mtd/devices/powernv_flash.c static int powernv_flash_async_op(struct mtd_info *mtd, enum flash_op op,
mtd_info          137 drivers/mtd/devices/powernv_flash.c static int powernv_flash_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          153 drivers/mtd/devices/powernv_flash.c static int powernv_flash_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          165 drivers/mtd/devices/powernv_flash.c static int powernv_flash_erase(struct mtd_info *mtd, struct erase_info *erase)
mtd_info          183 drivers/mtd/devices/powernv_flash.c 		struct mtd_info *mtd)
mtd_info           61 drivers/mtd/devices/slram.c 	struct mtd_info *mtdinfo;
mtd_info           76 drivers/mtd/devices/slram.c static int slram_erase(struct mtd_info *, struct erase_info *);
mtd_info           77 drivers/mtd/devices/slram.c static int slram_point(struct mtd_info *, loff_t, size_t, size_t *, void **,
mtd_info           79 drivers/mtd/devices/slram.c static int slram_unpoint(struct mtd_info *, loff_t, size_t);
mtd_info           80 drivers/mtd/devices/slram.c static int slram_read(struct mtd_info *, loff_t, size_t, size_t *, u_char *);
mtd_info           81 drivers/mtd/devices/slram.c static int slram_write(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
mtd_info           83 drivers/mtd/devices/slram.c static int slram_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info           92 drivers/mtd/devices/slram.c static int slram_point(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          102 drivers/mtd/devices/slram.c static int slram_unpoint(struct mtd_info *mtd, loff_t from, size_t len)
mtd_info          107 drivers/mtd/devices/slram.c static int slram_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          117 drivers/mtd/devices/slram.c static int slram_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          143 drivers/mtd/devices/slram.c 	(*curmtd)->mtdinfo = kzalloc(sizeof(struct mtd_info), GFP_KERNEL);
mtd_info          199 drivers/mtd/devices/spear_smi.c 	struct mtd_info mtd;
mtd_info          208 drivers/mtd/devices/spear_smi.c static inline struct spear_snor_flash *get_flash_data(struct mtd_info *mtd)
mtd_info          494 drivers/mtd/devices/spear_smi.c static int spear_mtd_erase(struct mtd_info *mtd, struct erase_info *e_info)
mtd_info          545 drivers/mtd/devices/spear_smi.c static int spear_mtd_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          674 drivers/mtd/devices/spear_smi.c static int spear_mtd_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info           49 drivers/mtd/devices/sst25l.c 	struct mtd_info		mtd;
mtd_info          166 drivers/mtd/devices/sst25l.c static int sst25l_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info          206 drivers/mtd/devices/sst25l.c static int sst25l_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          249 drivers/mtd/devices/sst25l.c static int sst25l_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          259 drivers/mtd/devices/st_spi_fsm.c 	struct mtd_info		mtd;
mtd_info         1670 drivers/mtd/devices/st_spi_fsm.c static int stfsm_mtd_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info         1746 drivers/mtd/devices/st_spi_fsm.c static int stfsm_mtd_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info         1792 drivers/mtd/devices/st_spi_fsm.c static int stfsm_mtd_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info         1006 drivers/mtd/ftl.c static void ftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
mtd_info           35 drivers/mtd/inftlcore.c static void inftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
mtd_info          136 drivers/mtd/inftlcore.c int inftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
mtd_info          156 drivers/mtd/inftlcore.c int inftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
mtd_info          176 drivers/mtd/inftlcore.c static int inftl_write(struct mtd_info *mtd, loff_t offs, size_t len,
mtd_info          241 drivers/mtd/inftlcore.c 	struct mtd_info *mtd = inftl->mbd.mtd;
mtd_info          465 drivers/mtd/inftlcore.c 	struct mtd_info *mtd = inftl->mbd.mtd;
mtd_info          627 drivers/mtd/inftlcore.c 	struct mtd_info *mtd = inftl->mbd.mtd;
mtd_info          749 drivers/mtd/inftlcore.c 	struct mtd_info *mtd = inftl->mbd.mtd;
mtd_info          858 drivers/mtd/inftlcore.c 	struct mtd_info *mtd = inftl->mbd.mtd;
mtd_info           38 drivers/mtd/inftlmount.c 	struct mtd_info *mtd = inftl->mbd.mtd;
mtd_info          326 drivers/mtd/inftlmount.c 	struct mtd_info *mtd = inftl->mbd.mtd;
mtd_info          373 drivers/mtd/inftlmount.c 	struct mtd_info *mtd = inftl->mbd.mtd;
mtd_info          535 drivers/mtd/inftlmount.c 	struct mtd_info *mtd = s->mbd.mtd;
mtd_info          233 drivers/mtd/lpddr/lpddr2_nvm.c static int lpddr2_nvm_do_block_op(struct mtd_info *mtd, loff_t start_add,
mtd_info          298 drivers/mtd/lpddr/lpddr2_nvm.c static int lpddr2_nvm_read(struct mtd_info *mtd, loff_t start_add,
mtd_info          316 drivers/mtd/lpddr/lpddr2_nvm.c static int lpddr2_nvm_write(struct mtd_info *mtd, loff_t start_add,
mtd_info          372 drivers/mtd/lpddr/lpddr2_nvm.c static int lpddr2_nvm_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info          381 drivers/mtd/lpddr/lpddr2_nvm.c static int lpddr2_nvm_unlock(struct mtd_info *mtd, loff_t start_add,
mtd_info          390 drivers/mtd/lpddr/lpddr2_nvm.c static int lpddr2_nvm_lock(struct mtd_info *mtd, loff_t start_add,
mtd_info          402 drivers/mtd/lpddr/lpddr2_nvm.c 	struct mtd_info *mtd;
mtd_info          447 drivers/mtd/lpddr/lpddr2_nvm.c 	*mtd = (struct mtd_info) {
mtd_info           19 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_read(struct mtd_info *mtd, loff_t adr, size_t len,
mtd_info           21 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_write_buffers(struct mtd_info *mtd, loff_t to,
mtd_info           23 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_writev(struct mtd_info *mtd, const struct kvec *vecs,
mtd_info           25 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_erase(struct mtd_info *mtd, struct erase_info *instr);
mtd_info           26 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info           27 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info           28 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_point(struct mtd_info *mtd, loff_t adr, size_t len,
mtd_info           30 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_unpoint(struct mtd_info *mtd, loff_t adr, size_t len);
mtd_info           35 drivers/mtd/lpddr/lpddr_cmds.c struct mtd_info *lpddr_cmdset(struct map_info *map)
mtd_info           40 drivers/mtd/lpddr/lpddr_cmds.c 	struct mtd_info *mtd;
mtd_info          457 drivers/mtd/lpddr/lpddr_cmds.c static int do_erase_oneblock(struct mtd_info *mtd, loff_t adr)
mtd_info          484 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_read(struct mtd_info *mtd, loff_t adr, size_t len,
mtd_info          508 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_point(struct mtd_info *mtd, loff_t adr, size_t len,
mtd_info          561 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_unpoint (struct mtd_info *mtd, loff_t adr, size_t len)
mtd_info          606 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_write_buffers(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          618 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_writev(struct mtd_info *mtd, const struct kvec *vecs,
mtd_info          665 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info          689 drivers/mtd/lpddr/lpddr_cmds.c static int do_xxlock(struct mtd_info *mtd, loff_t adr, uint32_t len, int thunk)
mtd_info          724 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info          729 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info           21 drivers/mtd/lpddr/qinfo_probe.c struct mtd_info *lpddr_probe(struct map_info *map);
mtd_info          184 drivers/mtd/lpddr/qinfo_probe.c struct mtd_info *lpddr_probe(struct map_info *map)
mtd_info          186 drivers/mtd/lpddr/qinfo_probe.c 	struct mtd_info *mtd = NULL;
mtd_info           43 drivers/mtd/maps/amd76xrom.c 	struct mtd_info *mtd;
mtd_info           89 drivers/mtd/maps/cfi_flagadm.c static struct mtd_info *mymtd;
mtd_info           47 drivers/mtd/maps/ck804xrom.c 	struct mtd_info *mtd;
mtd_info           24 drivers/mtd/maps/dc21285.c static struct mtd_info *dc21285_mtd;
mtd_info          109 drivers/mtd/maps/esb2rom.c 	struct mtd_info *mtd;
mtd_info           48 drivers/mtd/maps/ichxrom.c 	struct mtd_info *mtd;
mtd_info           27 drivers/mtd/maps/impa7.c static struct mtd_info *impa7_mtd[NUM_FLASHBANKS];
mtd_info           45 drivers/mtd/maps/intel_vr_nor.c 	struct mtd_info *info;
mtd_info          147 drivers/mtd/maps/ixp4xx.c 	struct mtd_info *mtd;
mtd_info           27 drivers/mtd/maps/l440gx.c static struct mtd_info *mymtd;
mtd_info           41 drivers/mtd/maps/lantiq-flash.c 	struct mtd_info *mtd;
mtd_info           78 drivers/mtd/maps/netsc520.c static struct mtd_info *mymtd;
mtd_info           58 drivers/mtd/maps/nettel.c static struct mtd_info *intel_mtd;
mtd_info           60 drivers/mtd/maps/nettel.c static struct mtd_info *amd_mtd;
mtd_info          256 drivers/mtd/maps/pci.c 	struct mtd_info *mtd = NULL;
mtd_info          307 drivers/mtd/maps/pci.c 	struct mtd_info *mtd = pci_get_drvdata(dev);
mtd_info           37 drivers/mtd/maps/pcmciamtd.c 	struct mtd_info	*mtd_info;
mtd_info          466 drivers/mtd/maps/pcmciamtd.c 	struct mtd_info *mtd = NULL;
mtd_info          588 drivers/mtd/maps/pcmciamtd.c 	dev->mtd_info = mtd;
mtd_info          625 drivers/mtd/maps/pcmciamtd.c 		dev->mtd_info = NULL;
mtd_info          661 drivers/mtd/maps/pcmciamtd.c 	if(dev->mtd_info) {
mtd_info          662 drivers/mtd/maps/pcmciamtd.c 		mtd_device_unregister(dev->mtd_info);
mtd_info          664 drivers/mtd/maps/pcmciamtd.c 			 dev->mtd_info->index);
mtd_info          665 drivers/mtd/maps/pcmciamtd.c 		map_destroy(dev->mtd_info);
mtd_info           48 drivers/mtd/maps/physmap-core.c 	struct mtd_info		**mtds;
mtd_info           49 drivers/mtd/maps/physmap-core.c 	struct mtd_info		*cmtd;
mtd_info           31 drivers/mtd/maps/plat-ram.c 	struct mtd_info		*mtd;
mtd_info           45 drivers/mtd/maps/pmcmsp-flash.c static struct mtd_info **msp_flash;
mtd_info           40 drivers/mtd/maps/pxa2xx-flash.c 	struct mtd_info		*mtd;
mtd_info           22 drivers/mtd/maps/rbtx4939-flash.c 	struct mtd_info *mtd;
mtd_info           30 drivers/mtd/maps/sa1100-flash.c 	struct mtd_info *mtd;
mtd_info           35 drivers/mtd/maps/sa1100-flash.c 	struct mtd_info		*mtd;
mtd_info          226 drivers/mtd/maps/sa1100-flash.c 		struct mtd_info **cdev;
mtd_info          168 drivers/mtd/maps/sbc_gxx.c static struct mtd_info *all_mtd;
mtd_info           95 drivers/mtd/maps/sc520cdp.c static struct mtd_info *mymtd[NUM_FLASH_BANKS];
mtd_info           96 drivers/mtd/maps/sc520cdp.c static struct mtd_info *merged_mtd;
mtd_info           64 drivers/mtd/maps/scb2_flash.c static struct mtd_info *scb2_mtd;
mtd_info           72 drivers/mtd/maps/scb2_flash.c static int scb2_fixup_mtd(struct mtd_info *mtd)
mtd_info           46 drivers/mtd/maps/scx200_docflash.c static struct mtd_info *mymtd;
mtd_info           19 drivers/mtd/maps/solutionengine.c static struct mtd_info *flash_mtd;
mtd_info           20 drivers/mtd/maps/solutionengine.c static struct mtd_info *eprom_mtd;
mtd_info           42 drivers/mtd/maps/sun_uflash.c 	struct mtd_info		*mtd;	/* mtd info */
mtd_info           53 drivers/mtd/maps/ts5500_flash.c static struct mtd_info *mymtd;
mtd_info           73 drivers/mtd/maps/tsunami_flash.c static struct mtd_info *tsunami_flash_mtd;
mtd_info           77 drivers/mtd/maps/tsunami_flash.c 	struct mtd_info *mtd;
mtd_info           42 drivers/mtd/maps/uclinux.c static struct mtd_info *uclinux_ram_mtdinfo;
mtd_info           54 drivers/mtd/maps/uclinux.c static int uclinux_point(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info           69 drivers/mtd/maps/uclinux.c 	struct mtd_info *mtd;
mtd_info           48 drivers/mtd/maps/vmu-flash.c 	struct mtd_info *mtd;
mtd_info           57 drivers/mtd/maps/vmu-flash.c 	struct mtd_info *mtd, int partition)
mtd_info          110 drivers/mtd/maps/vmu-flash.c 	struct mtd_info *mtd)
mtd_info          227 drivers/mtd/maps/vmu-flash.c 	struct mtd_info *mtd)
mtd_info          303 drivers/mtd/maps/vmu-flash.c 	struct mtd_info *mtd)
mtd_info          350 drivers/mtd/maps/vmu-flash.c static int vmu_flash_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          416 drivers/mtd/maps/vmu-flash.c static int vmu_flash_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          493 drivers/mtd/maps/vmu-flash.c static void vmu_flash_sync(struct mtd_info *mtd)
mtd_info          507 drivers/mtd/maps/vmu-flash.c 	struct mtd_info *mtd_cur;
mtd_info          637 drivers/mtd/maps/vmu-flash.c 	card->mtd = kmalloc_array(card->partitions, sizeof(struct mtd_info),
mtd_info          717 drivers/mtd/maps/vmu-flash.c 	struct mtd_info *mtd;
mtd_info          521 drivers/mtd/mtd_blkdevs.c static void blktrans_notify_remove(struct mtd_info *mtd)
mtd_info          532 drivers/mtd/mtd_blkdevs.c static void blktrans_notify_add(struct mtd_info *mtd)
mtd_info          550 drivers/mtd/mtd_blkdevs.c 	struct mtd_info *mtd;
mtd_info           44 drivers/mtd/mtdblock.c static int erase_write (struct mtd_info *mtd, unsigned long pos,
mtd_info           80 drivers/mtd/mtdblock.c 	struct mtd_info *mtd = mtdblk->mbd.mtd;
mtd_info          110 drivers/mtd/mtdblock.c 	struct mtd_info *mtd = mtdblk->mbd.mtd;
mtd_info          180 drivers/mtd/mtdblock.c 	struct mtd_info *mtd = mtdblk->mbd.mtd;
mtd_info          305 drivers/mtd/mtdblock.c static void mtdblock_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
mtd_info           35 drivers/mtd/mtdblock_ro.c static void mtdblock_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
mtd_info           37 drivers/mtd/mtdchar.c 	struct mtd_info *mtd;
mtd_info           52 drivers/mtd/mtdchar.c 	struct mtd_info *mtd;
mtd_info          102 drivers/mtd/mtdchar.c 	struct mtd_info *mtd = mfi->mtd;
mtd_info          139 drivers/mtd/mtdchar.c 	struct mtd_info *mtd = mfi->mtd;
mtd_info          229 drivers/mtd/mtdchar.c 	struct mtd_info *mtd = mfi->mtd;
mtd_info          320 drivers/mtd/mtdchar.c 	struct mtd_info *mtd = mfi->mtd;
mtd_info          348 drivers/mtd/mtdchar.c static int mtdchar_writeoob(struct file *file, struct mtd_info *mtd,
mtd_info          392 drivers/mtd/mtdchar.c static int mtdchar_readoob(struct file *file, struct mtd_info *mtd,
mtd_info          453 drivers/mtd/mtdchar.c static int shrink_ecclayout(struct mtd_info *mtd,
mtd_info          501 drivers/mtd/mtdchar.c static int get_oobinfo(struct mtd_info *mtd, struct nand_oobinfo *to)
mtd_info          551 drivers/mtd/mtdchar.c static int mtdchar_blkpg_ioctl(struct mtd_info *mtd,
mtd_info          586 drivers/mtd/mtdchar.c static int mtdchar_write_ioctl(struct mtd_info *mtd,
mtd_info          637 drivers/mtd/mtdchar.c 	struct mtd_info *mtd = mfi->mtd;
mtd_info         1020 drivers/mtd/mtdchar.c 	struct mtd_info *mtd = mfi->mtd;
mtd_info         1102 drivers/mtd/mtdchar.c 	struct mtd_info *mtd = mfi->mtd;
mtd_info         1135 drivers/mtd/mtdchar.c 	struct mtd_info *mtd = mfi->mtd;
mtd_info           30 drivers/mtd/mtdconcat.c 	struct mtd_info mtd;
mtd_info           32 drivers/mtd/mtdconcat.c 	struct mtd_info **subdev;
mtd_info           40 drivers/mtd/mtdconcat.c 	((sizeof(struct mtd_concat) + (num_subdev) * sizeof(struct mtd_info *)))
mtd_info           54 drivers/mtd/mtdconcat.c concat_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info           62 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
mtd_info          106 drivers/mtd/mtdconcat.c concat_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          114 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
mtd_info          144 drivers/mtd/mtdconcat.c concat_writev(struct mtd_info *mtd, const struct kvec *vecs,
mtd_info          172 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
mtd_info          219 drivers/mtd/mtdconcat.c concat_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops)
mtd_info          228 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
mtd_info          276 drivers/mtd/mtdconcat.c concat_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops)
mtd_info          288 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
mtd_info          322 drivers/mtd/mtdconcat.c static int concat_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info          325 drivers/mtd/mtdconcat.c 	struct mtd_info *subdev;
mtd_info          440 drivers/mtd/mtdconcat.c static int concat_xxlock(struct mtd_info *mtd, loff_t ofs, uint64_t len,
mtd_info          447 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
mtd_info          478 drivers/mtd/mtdconcat.c static int concat_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info          483 drivers/mtd/mtdconcat.c static int concat_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info          488 drivers/mtd/mtdconcat.c static int concat_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info          494 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
mtd_info          510 drivers/mtd/mtdconcat.c static void concat_sync(struct mtd_info *mtd)
mtd_info          516 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
mtd_info          521 drivers/mtd/mtdconcat.c static int concat_suspend(struct mtd_info *mtd)
mtd_info          527 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
mtd_info          534 drivers/mtd/mtdconcat.c static void concat_resume(struct mtd_info *mtd)
mtd_info          540 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
mtd_info          545 drivers/mtd/mtdconcat.c static int concat_block_isbad(struct mtd_info *mtd, loff_t ofs)
mtd_info          554 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
mtd_info          568 drivers/mtd/mtdconcat.c static int concat_block_markbad(struct mtd_info *mtd, loff_t ofs)
mtd_info          574 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
mtd_info          596 drivers/mtd/mtdconcat.c struct mtd_info *mtd_concat_create(struct mtd_info *subdev[],	/* subdevices to concatenate */
mtd_info          621 drivers/mtd/mtdconcat.c 	concat->subdev = (struct mtd_info **) (concat + 1);
mtd_info          848 drivers/mtd/mtdconcat.c void mtd_concat_destroy(struct mtd_info *mtd)
mtd_info           43 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info           50 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info           76 drivers/mtd/mtdcore.c struct mtd_info *__mtd_next_device(int i)
mtd_info           92 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          102 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          141 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          150 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          160 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          169 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          178 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          188 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          197 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          206 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          216 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          225 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          235 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          244 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          262 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          272 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          283 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          293 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          303 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          340 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = s->private;
mtd_info          361 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = s->private;
mtd_info          382 drivers/mtd/mtdcore.c static void mtd_debugfs_populate(struct mtd_info *mtd)
mtd_info          415 drivers/mtd/mtdcore.c unsigned mtd_mmap_capabilities(struct mtd_info *mtd)
mtd_info          434 drivers/mtd/mtdcore.c 	struct mtd_info *mtd;
mtd_info          436 drivers/mtd/mtdcore.c 	mtd = container_of(n, struct mtd_info, reboot_notifier);
mtd_info          468 drivers/mtd/mtdcore.c int mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit,
mtd_info          510 drivers/mtd/mtdcore.c int mtd_pairing_info_to_wunit(struct mtd_info *mtd,
mtd_info          537 drivers/mtd/mtdcore.c int mtd_pairing_groups(struct mtd_info *mtd)
mtd_info          549 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = priv;
mtd_info          560 drivers/mtd/mtdcore.c static int mtd_nvmem_add(struct mtd_info *mtd)
mtd_info          600 drivers/mtd/mtdcore.c int add_mtd_device(struct mtd_info *mtd)
mtd_info          723 drivers/mtd/mtdcore.c int del_mtd_device(struct mtd_info *mtd)
mtd_info          769 drivers/mtd/mtdcore.c static void mtd_set_dev_defaults(struct mtd_info *mtd)
mtd_info          811 drivers/mtd/mtdcore.c int mtd_device_parse_register(struct mtd_info *mtd, const char * const *types,
mtd_info          869 drivers/mtd/mtdcore.c int mtd_device_unregister(struct mtd_info *master)
mtd_info          897 drivers/mtd/mtdcore.c 	struct mtd_info *mtd;
mtd_info          923 drivers/mtd/mtdcore.c 	struct mtd_info *mtd;
mtd_info          949 drivers/mtd/mtdcore.c struct mtd_info *get_mtd_device(struct mtd_info *mtd, int num)
mtd_info          951 drivers/mtd/mtdcore.c 	struct mtd_info *ret = NULL, *other;
mtd_info          984 drivers/mtd/mtdcore.c int __get_mtd_device(struct mtd_info *mtd)
mtd_info         1012 drivers/mtd/mtdcore.c struct mtd_info *get_mtd_device_nm(const char *name)
mtd_info         1015 drivers/mtd/mtdcore.c 	struct mtd_info *mtd = NULL, *other;
mtd_info         1042 drivers/mtd/mtdcore.c void put_mtd_device(struct mtd_info *mtd)
mtd_info         1051 drivers/mtd/mtdcore.c void __put_mtd_device(struct mtd_info *mtd)
mtd_info         1068 drivers/mtd/mtdcore.c int mtd_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info         1091 drivers/mtd/mtdcore.c int mtd_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen,
mtd_info         1109 drivers/mtd/mtdcore.c int mtd_unpoint(struct mtd_info *mtd, loff_t from, size_t len)
mtd_info         1126 drivers/mtd/mtdcore.c unsigned long mtd_get_unmapped_area(struct mtd_info *mtd, unsigned long len,
mtd_info         1144 drivers/mtd/mtdcore.c int mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen,
mtd_info         1160 drivers/mtd/mtdcore.c int mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
mtd_info         1183 drivers/mtd/mtdcore.c int mtd_panic_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
mtd_info         1202 drivers/mtd/mtdcore.c static int mtd_check_oob_ops(struct mtd_info *mtd, loff_t offs,
mtd_info         1235 drivers/mtd/mtdcore.c int mtd_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops)
mtd_info         1270 drivers/mtd/mtdcore.c int mtd_write_oob(struct mtd_info *mtd, loff_t to,
mtd_info         1314 drivers/mtd/mtdcore.c int mtd_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info         1346 drivers/mtd/mtdcore.c int mtd_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info         1378 drivers/mtd/mtdcore.c static int mtd_ooblayout_find_region(struct mtd_info *mtd, int byte,
mtd_info         1380 drivers/mtd/mtdcore.c 				int (*iter)(struct mtd_info *,
mtd_info         1424 drivers/mtd/mtdcore.c int mtd_ooblayout_find_eccregion(struct mtd_info *mtd, int eccbyte,
mtd_info         1447 drivers/mtd/mtdcore.c static int mtd_ooblayout_get_bytes(struct mtd_info *mtd, u8 *buf,
mtd_info         1449 drivers/mtd/mtdcore.c 				int (*iter)(struct mtd_info *,
mtd_info         1490 drivers/mtd/mtdcore.c static int mtd_ooblayout_set_bytes(struct mtd_info *mtd, const u8 *buf,
mtd_info         1492 drivers/mtd/mtdcore.c 				int (*iter)(struct mtd_info *,
mtd_info         1528 drivers/mtd/mtdcore.c static int mtd_ooblayout_count_bytes(struct mtd_info *mtd,
mtd_info         1529 drivers/mtd/mtdcore.c 				int (*iter)(struct mtd_info *,
mtd_info         1562 drivers/mtd/mtdcore.c int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf,
mtd_info         1582 drivers/mtd/mtdcore.c int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf,
mtd_info         1602 drivers/mtd/mtdcore.c int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf,
mtd_info         1622 drivers/mtd/mtdcore.c int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf,
mtd_info         1638 drivers/mtd/mtdcore.c int mtd_ooblayout_count_freebytes(struct mtd_info *mtd)
mtd_info         1652 drivers/mtd/mtdcore.c int mtd_ooblayout_count_eccbytes(struct mtd_info *mtd)
mtd_info         1663 drivers/mtd/mtdcore.c int mtd_get_fact_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen,
mtd_info         1674 drivers/mtd/mtdcore.c int mtd_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info         1686 drivers/mtd/mtdcore.c int mtd_get_user_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen,
mtd_info         1697 drivers/mtd/mtdcore.c int mtd_read_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info         1709 drivers/mtd/mtdcore.c int mtd_write_user_prot_reg(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info         1731 drivers/mtd/mtdcore.c int mtd_lock_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len)
mtd_info         1742 drivers/mtd/mtdcore.c int mtd_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         1754 drivers/mtd/mtdcore.c int mtd_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         1766 drivers/mtd/mtdcore.c int mtd_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         1778 drivers/mtd/mtdcore.c int mtd_block_isreserved(struct mtd_info *mtd, loff_t ofs)
mtd_info         1788 drivers/mtd/mtdcore.c int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs)
mtd_info         1798 drivers/mtd/mtdcore.c int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs)
mtd_info         1821 drivers/mtd/mtdcore.c static int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
mtd_info         1853 drivers/mtd/mtdcore.c int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
mtd_info         1889 drivers/mtd/mtdcore.c void *mtd_kmalloc_up_to(const struct mtd_info *mtd, size_t *size)
mtd_info         1921 drivers/mtd/mtdcore.c 	struct mtd_info *mtd;
mtd_info           10 drivers/mtd/mtdcore.h struct mtd_info *__mtd_next_device(int i);
mtd_info           11 drivers/mtd/mtdcore.h int __must_check add_mtd_device(struct mtd_info *mtd);
mtd_info           12 drivers/mtd/mtdcore.h int del_mtd_device(struct mtd_info *mtd);
mtd_info           13 drivers/mtd/mtdcore.h int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, int);
mtd_info           14 drivers/mtd/mtdcore.h int del_mtd_partitions(struct mtd_info *);
mtd_info           18 drivers/mtd/mtdcore.h int parse_mtd_partitions(struct mtd_info *master, const char * const *types,
mtd_info           49 drivers/mtd/mtdoops.c 	struct mtd_info *mtd;
mtd_info           75 drivers/mtd/mtdoops.c 	struct mtd_info *mtd = cxt->mtd;
mtd_info          124 drivers/mtd/mtdoops.c 	struct mtd_info *mtd = cxt->mtd;
mtd_info          178 drivers/mtd/mtdoops.c 	struct mtd_info *mtd = cxt->mtd;
mtd_info          218 drivers/mtd/mtdoops.c 	struct mtd_info *mtd = cxt->mtd;
mtd_info          290 drivers/mtd/mtdoops.c static void mtdoops_notify_add(struct mtd_info *mtd)
mtd_info          344 drivers/mtd/mtdoops.c static void mtdoops_notify_remove(struct mtd_info *mtd)
mtd_info           35 drivers/mtd/mtdpart.c 	struct mtd_info mtd;
mtd_info           36 drivers/mtd/mtdpart.c 	struct mtd_info *parent;
mtd_info           45 drivers/mtd/mtdpart.c static inline struct mtd_part *mtd_to_part(const struct mtd_info *mtd)
mtd_info           50 drivers/mtd/mtdpart.c static u64 part_absolute_offset(struct mtd_info *mtd)
mtd_info           65 drivers/mtd/mtdpart.c static int part_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info           84 drivers/mtd/mtdpart.c static int part_point(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info           93 drivers/mtd/mtdpart.c static int part_unpoint(struct mtd_info *mtd, loff_t from, size_t len)
mtd_info          100 drivers/mtd/mtdpart.c static int part_read_oob(struct mtd_info *mtd, loff_t from,
mtd_info          118 drivers/mtd/mtdpart.c static int part_read_user_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info          126 drivers/mtd/mtdpart.c static int part_get_user_prot_info(struct mtd_info *mtd, size_t len,
mtd_info          134 drivers/mtd/mtdpart.c static int part_read_fact_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info          142 drivers/mtd/mtdpart.c static int part_get_fact_prot_info(struct mtd_info *mtd, size_t len,
mtd_info          150 drivers/mtd/mtdpart.c static int part_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          158 drivers/mtd/mtdpart.c static int part_panic_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          166 drivers/mtd/mtdpart.c static int part_write_oob(struct mtd_info *mtd, loff_t to,
mtd_info          174 drivers/mtd/mtdpart.c static int part_write_user_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info          182 drivers/mtd/mtdpart.c static int part_lock_user_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info          189 drivers/mtd/mtdpart.c static int part_writev(struct mtd_info *mtd, const struct kvec *vecs,
mtd_info          197 drivers/mtd/mtdpart.c static int part_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info          211 drivers/mtd/mtdpart.c static int part_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info          217 drivers/mtd/mtdpart.c static int part_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info          223 drivers/mtd/mtdpart.c static int part_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info          229 drivers/mtd/mtdpart.c static void part_sync(struct mtd_info *mtd)
mtd_info          235 drivers/mtd/mtdpart.c static int part_suspend(struct mtd_info *mtd)
mtd_info          241 drivers/mtd/mtdpart.c static void part_resume(struct mtd_info *mtd)
mtd_info          247 drivers/mtd/mtdpart.c static int part_block_isreserved(struct mtd_info *mtd, loff_t ofs)
mtd_info          254 drivers/mtd/mtdpart.c static int part_block_isbad(struct mtd_info *mtd, loff_t ofs)
mtd_info          261 drivers/mtd/mtdpart.c static int part_block_markbad(struct mtd_info *mtd, loff_t ofs)
mtd_info          273 drivers/mtd/mtdpart.c static int part_get_device(struct mtd_info *mtd)
mtd_info          279 drivers/mtd/mtdpart.c static void part_put_device(struct mtd_info *mtd)
mtd_info          285 drivers/mtd/mtdpart.c static int part_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          293 drivers/mtd/mtdpart.c static int part_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          306 drivers/mtd/mtdpart.c static int part_max_bad_blocks(struct mtd_info *mtd, loff_t ofs, size_t len)
mtd_info          320 drivers/mtd/mtdpart.c static struct mtd_part *allocate_partition(struct mtd_info *parent,
mtd_info          559 drivers/mtd/mtdpart.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          580 drivers/mtd/mtdpart.c int mtd_add_partition(struct mtd_info *parent, const char *name,
mtd_info          666 drivers/mtd/mtdpart.c int del_mtd_partitions(struct mtd_info *mtd)
mtd_info          683 drivers/mtd/mtdpart.c int mtd_del_partition(struct mtd_info *mtd, int partno)
mtd_info          710 drivers/mtd/mtdpart.c int add_mtd_partitions(struct mtd_info *master,
mtd_info          831 drivers/mtd/mtdpart.c 			     struct mtd_info *master,
mtd_info          890 drivers/mtd/mtdpart.c static int mtd_part_of_parse(struct mtd_info *master,
mtd_info          960 drivers/mtd/mtdpart.c int parse_mtd_partitions(struct mtd_info *master, const char *const *types,
mtd_info         1026 drivers/mtd/mtdpart.c int mtd_is_partition(const struct mtd_info *mtd)
mtd_info         1044 drivers/mtd/mtdpart.c uint64_t mtd_get_device_size(const struct mtd_info *mtd)
mtd_info           27 drivers/mtd/mtdsuper.c 	struct mtd_info *mtd = fc->sget_key;
mtd_info           57 drivers/mtd/mtdsuper.c 		      struct mtd_info *mtd,
mtd_info          102 drivers/mtd/mtdsuper.c 	struct mtd_info *mtd;
mtd_info          142 drivers/mtd/mtdsuper.c 			struct mtd_info *mtd;
mtd_info          102 drivers/mtd/mtdswap.c 	struct mtd_info *mtd;
mtd_info          528 drivers/mtd/mtdswap.c 	struct mtd_info *mtd = d->mtd;
mtd_info          617 drivers/mtd/mtdswap.c 	struct mtd_info *mtd = d->mtd;
mtd_info          678 drivers/mtd/mtdswap.c 	struct mtd_info *mtd = d->mtd;
mtd_info          877 drivers/mtd/mtdswap.c 	struct mtd_info *mtd = d->mtd;
mtd_info         1005 drivers/mtd/mtdswap.c static unsigned int mtdswap_badblocks(struct mtd_info *mtd, uint64_t size)
mtd_info         1082 drivers/mtd/mtdswap.c 	struct mtd_info *mtd = d->mtd;
mtd_info         1281 drivers/mtd/mtdswap.c 	struct mtd_info *mtd = d->mbd_dev->mtd;
mtd_info         1340 drivers/mtd/mtdswap.c static void mtdswap_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
mtd_info           63 drivers/mtd/nand/core.c 	struct mtd_info *mtd = nanddev_to_mtd(nand);
mtd_info          153 drivers/mtd/nand/core.c int nanddev_mtd_erase(struct mtd_info *mtd, struct erase_info *einfo)
mtd_info          189 drivers/mtd/nand/core.c int nanddev_mtd_max_bad_blocks(struct mtd_info *mtd, loff_t offs, size_t len)
mtd_info          224 drivers/mtd/nand/core.c 	struct mtd_info *mtd = nanddev_to_mtd(nand);
mtd_info           28 drivers/mtd/nand/onenand/generic.c 	struct mtd_info		mtd;
mtd_info           38 drivers/mtd/nand/onenand/omap2.c 	struct mtd_info mtd;
mtd_info          142 drivers/mtd/nand/onenand/omap2.c static int omap2_onenand_wait(struct mtd_info *mtd, int state)
mtd_info          310 drivers/mtd/nand/onenand/omap2.c static inline int omap2_onenand_bufferram_offset(struct mtd_info *mtd, int area)
mtd_info          360 drivers/mtd/nand/onenand/omap2.c static int omap2_onenand_read_bufferram(struct mtd_info *mtd, int area,
mtd_info          408 drivers/mtd/nand/onenand/omap2.c static int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area,
mtd_info           66 drivers/mtd/nand/onenand/onenand_base.c static int flexonenand_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           78 drivers/mtd/nand/onenand/onenand_base.c static int flexonenand_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          102 drivers/mtd/nand/onenand/onenand_base.c static int onenand_ooblayout_128_ecc(struct mtd_info *mtd, int section,
mtd_info          114 drivers/mtd/nand/onenand/onenand_base.c static int onenand_ooblayout_128_free(struct mtd_info *mtd, int section,
mtd_info          138 drivers/mtd/nand/onenand/onenand_base.c static int onenand_ooblayout_32_64_ecc(struct mtd_info *mtd, int section,
mtd_info          150 drivers/mtd/nand/onenand/onenand_base.c static int onenand_ooblayout_32_64_free(struct mtd_info *mtd, int section,
mtd_info          377 drivers/mtd/nand/onenand/onenand_base.c int flexonenand_region(struct mtd_info *mtd, loff_t addr)
mtd_info          398 drivers/mtd/nand/onenand/onenand_base.c static int onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, size_t len)
mtd_info          553 drivers/mtd/nand/onenand/onenand_base.c static int onenand_wait(struct mtd_info *mtd, int state)
mtd_info          651 drivers/mtd/nand/onenand/onenand_base.c static int onenand_interrupt_wait(struct mtd_info *mtd, int state)
mtd_info          667 drivers/mtd/nand/onenand/onenand_base.c static int onenand_try_interrupt_wait(struct mtd_info *mtd, int state)
mtd_info          698 drivers/mtd/nand/onenand/onenand_base.c static void onenand_setup_wait(struct mtd_info *mtd)
mtd_info          733 drivers/mtd/nand/onenand/onenand_base.c static inline int onenand_bufferram_offset(struct mtd_info *mtd, int area)
mtd_info          758 drivers/mtd/nand/onenand/onenand_base.c static int onenand_read_bufferram(struct mtd_info *mtd, int area,
mtd_info          794 drivers/mtd/nand/onenand/onenand_base.c static int onenand_sync_read_bufferram(struct mtd_info *mtd, int area,
mtd_info          834 drivers/mtd/nand/onenand/onenand_base.c static int onenand_write_bufferram(struct mtd_info *mtd, int area,
mtd_info          873 drivers/mtd/nand/onenand/onenand_base.c static int onenand_get_2x_blockpage(struct mtd_info *mtd, loff_t addr)
mtd_info          897 drivers/mtd/nand/onenand/onenand_base.c static int onenand_check_bufferram(struct mtd_info *mtd, loff_t addr)
mtd_info          939 drivers/mtd/nand/onenand/onenand_base.c static void onenand_update_bufferram(struct mtd_info *mtd, loff_t addr,
mtd_info          972 drivers/mtd/nand/onenand/onenand_base.c static void onenand_invalidate_bufferram(struct mtd_info *mtd, loff_t addr,
mtd_info          994 drivers/mtd/nand/onenand/onenand_base.c static int onenand_get_device(struct mtd_info *mtd, int new_state)
mtd_info         1031 drivers/mtd/nand/onenand/onenand_base.c static void onenand_release_device(struct mtd_info *mtd)
mtd_info         1051 drivers/mtd/nand/onenand/onenand_base.c static int onenand_transfer_auto_oob(struct mtd_info *mtd, uint8_t *buf, int column,
mtd_info         1080 drivers/mtd/nand/onenand/onenand_base.c static int onenand_recover_lsb(struct mtd_info *mtd, loff_t addr, int status)
mtd_info         1119 drivers/mtd/nand/onenand/onenand_base.c static int onenand_mlc_read_ops_nolock(struct mtd_info *mtd, loff_t from,
mtd_info         1220 drivers/mtd/nand/onenand/onenand_base.c static int onenand_read_ops_nolock(struct mtd_info *mtd, loff_t from,
mtd_info         1349 drivers/mtd/nand/onenand/onenand_base.c static int onenand_read_oob_nolock(struct mtd_info *mtd, loff_t from,
mtd_info         1444 drivers/mtd/nand/onenand/onenand_base.c static int onenand_read_oob(struct mtd_info *mtd, loff_t from,
mtd_info         1479 drivers/mtd/nand/onenand/onenand_base.c static int onenand_bbt_wait(struct mtd_info *mtd, int state)
mtd_info         1531 drivers/mtd/nand/onenand/onenand_base.c int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from, 
mtd_info         1606 drivers/mtd/nand/onenand/onenand_base.c static int onenand_verify_oob(struct mtd_info *mtd, const u_char *buf, loff_t to)
mtd_info         1635 drivers/mtd/nand/onenand/onenand_base.c static int onenand_verify(struct mtd_info *mtd, const u_char *buf, loff_t addr, size_t len)
mtd_info         1676 drivers/mtd/nand/onenand/onenand_base.c static void onenand_panic_wait(struct mtd_info *mtd)
mtd_info         1700 drivers/mtd/nand/onenand/onenand_base.c static int onenand_panic_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info         1776 drivers/mtd/nand/onenand/onenand_base.c static int onenand_fill_auto_oob(struct mtd_info *mtd, u_char *oob_buf,
mtd_info         1790 drivers/mtd/nand/onenand/onenand_base.c static int onenand_write_ops_nolock(struct mtd_info *mtd, loff_t to,
mtd_info         1974 drivers/mtd/nand/onenand/onenand_base.c static int onenand_write_oob_nolock(struct mtd_info *mtd, loff_t to,
mtd_info         2082 drivers/mtd/nand/onenand/onenand_base.c static int onenand_write_oob(struct mtd_info *mtd, loff_t to,
mtd_info         2116 drivers/mtd/nand/onenand/onenand_base.c static int onenand_block_isbad_nolock(struct mtd_info *mtd, loff_t ofs, int allowbbt)
mtd_info         2126 drivers/mtd/nand/onenand/onenand_base.c static int onenand_multiblock_erase_verify(struct mtd_info *mtd,
mtd_info         2158 drivers/mtd/nand/onenand/onenand_base.c static int onenand_multiblock_erase(struct mtd_info *mtd,
mtd_info         2269 drivers/mtd/nand/onenand/onenand_base.c static int onenand_block_by_block_erase(struct mtd_info *mtd,
mtd_info         2339 drivers/mtd/nand/onenand/onenand_base.c static int onenand_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info         2403 drivers/mtd/nand/onenand/onenand_base.c static void onenand_sync(struct mtd_info *mtd)
mtd_info         2421 drivers/mtd/nand/onenand/onenand_base.c static int onenand_block_isbad(struct mtd_info *mtd, loff_t ofs)
mtd_info         2439 drivers/mtd/nand/onenand/onenand_base.c static int onenand_default_block_markbad(struct mtd_info *mtd, loff_t ofs)
mtd_info         2473 drivers/mtd/nand/onenand/onenand_base.c static int onenand_block_markbad(struct mtd_info *mtd, loff_t ofs)
mtd_info         2501 drivers/mtd/nand/onenand/onenand_base.c static int onenand_do_lock_cmd(struct mtd_info *mtd, loff_t ofs, size_t len, int cmd)
mtd_info         2580 drivers/mtd/nand/onenand/onenand_base.c static int onenand_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         2598 drivers/mtd/nand/onenand/onenand_base.c static int onenand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         2648 drivers/mtd/nand/onenand/onenand_base.c static void onenand_unlock_all(struct mtd_info *mtd)
mtd_info         2696 drivers/mtd/nand/onenand/onenand_base.c static int onenand_otp_command(struct mtd_info *mtd, int cmd, loff_t addr,
mtd_info         2774 drivers/mtd/nand/onenand/onenand_base.c static int onenand_otp_write_oob_nolock(struct mtd_info *mtd, loff_t to,
mtd_info         2892 drivers/mtd/nand/onenand/onenand_base.c typedef int (*otp_op_t)(struct mtd_info *mtd, loff_t form, size_t len,
mtd_info         2905 drivers/mtd/nand/onenand/onenand_base.c static int do_otp_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info         2942 drivers/mtd/nand/onenand/onenand_base.c static int do_otp_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info         2986 drivers/mtd/nand/onenand/onenand_base.c static int do_otp_lock(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info         3036 drivers/mtd/nand/onenand/onenand_base.c static int onenand_otp_walk(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info         3114 drivers/mtd/nand/onenand/onenand_base.c static int onenand_get_fact_prot_info(struct mtd_info *mtd, size_t len,
mtd_info         3131 drivers/mtd/nand/onenand/onenand_base.c static int onenand_read_fact_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info         3146 drivers/mtd/nand/onenand/onenand_base.c static int onenand_get_user_prot_info(struct mtd_info *mtd, size_t len,
mtd_info         3163 drivers/mtd/nand/onenand/onenand_base.c static int onenand_read_user_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info         3179 drivers/mtd/nand/onenand/onenand_base.c static int onenand_write_user_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info         3193 drivers/mtd/nand/onenand/onenand_base.c static int onenand_lock_user_prot_reg(struct mtd_info *mtd, loff_t from,
mtd_info         3248 drivers/mtd/nand/onenand/onenand_base.c static void onenand_check_features(struct mtd_info *mtd)
mtd_info         3391 drivers/mtd/nand/onenand/onenand_base.c static int flexonenand_get_boundary(struct mtd_info *mtd)
mtd_info         3432 drivers/mtd/nand/onenand/onenand_base.c static void flexonenand_get_size(struct mtd_info *mtd)
mtd_info         3513 drivers/mtd/nand/onenand/onenand_base.c static int flexonenand_check_blocks_erased(struct mtd_info *mtd, int start, int end)
mtd_info         3560 drivers/mtd/nand/onenand/onenand_base.c static int flexonenand_set_boundary(struct mtd_info *mtd, int die,
mtd_info         3653 drivers/mtd/nand/onenand/onenand_base.c static int onenand_chip_probe(struct mtd_info *mtd)
mtd_info         3698 drivers/mtd/nand/onenand/onenand_base.c static int onenand_probe(struct mtd_info *mtd)
mtd_info         3793 drivers/mtd/nand/onenand/onenand_base.c static int onenand_suspend(struct mtd_info *mtd)
mtd_info         3802 drivers/mtd/nand/onenand/onenand_base.c static void onenand_resume(struct mtd_info *mtd)
mtd_info         3823 drivers/mtd/nand/onenand/onenand_base.c int onenand_scan(struct mtd_info *mtd, int maxchips)
mtd_info         3995 drivers/mtd/nand/onenand/onenand_base.c void onenand_release(struct mtd_info *mtd)
mtd_info           56 drivers/mtd/nand/onenand/onenand_bbt.c static int create_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *bd, int chip)
mtd_info          131 drivers/mtd/nand/onenand/onenand_bbt.c static inline int onenand_memory_bbt (struct mtd_info *mtd, struct nand_bbt_descr *bd)
mtd_info          144 drivers/mtd/nand/onenand/onenand_bbt.c static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt)
mtd_info          181 drivers/mtd/nand/onenand/onenand_bbt.c static int onenand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd)
mtd_info          229 drivers/mtd/nand/onenand/onenand_bbt.c int onenand_default_bbt(struct mtd_info *mtd)
mtd_info          123 drivers/mtd/nand/onenand/samsung.c 	struct mtd_info	*mtd;
mtd_info          310 drivers/mtd/nand/onenand/samsung.c static int s3c_onenand_wait(struct mtd_info *mtd, int state)
mtd_info          376 drivers/mtd/nand/onenand/samsung.c static int s3c_onenand_command(struct mtd_info *mtd, int cmd, loff_t addr,
mtd_info          474 drivers/mtd/nand/onenand/samsung.c static unsigned char *s3c_get_bufferram(struct mtd_info *mtd, int area)
mtd_info          493 drivers/mtd/nand/onenand/samsung.c static int onenand_read_bufferram(struct mtd_info *mtd, int area,
mtd_info          504 drivers/mtd/nand/onenand/samsung.c static int onenand_write_bufferram(struct mtd_info *mtd, int area,
mtd_info          615 drivers/mtd/nand/onenand/samsung.c static int s5pc110_read_bufferram(struct mtd_info *mtd, int area,
mtd_info          687 drivers/mtd/nand/onenand/samsung.c static int s5pc110_chip_probe(struct mtd_info *mtd)
mtd_info          693 drivers/mtd/nand/onenand/samsung.c static int s3c_onenand_bbt_wait(struct mtd_info *mtd, int state)
mtd_info          726 drivers/mtd/nand/onenand/samsung.c static void s3c_onenand_check_lock_status(struct mtd_info *mtd)
mtd_info          746 drivers/mtd/nand/onenand/samsung.c static void s3c_onenand_do_lock_cmd(struct mtd_info *mtd, loff_t ofs,
mtd_info          772 drivers/mtd/nand/onenand/samsung.c static void s3c_unlock_all(struct mtd_info *mtd)
mtd_info          801 drivers/mtd/nand/onenand/samsung.c static void s3c_onenand_setup(struct mtd_info *mtd)
mtd_info          838 drivers/mtd/nand/onenand/samsung.c 	struct mtd_info *mtd;
mtd_info          845 drivers/mtd/nand/onenand/samsung.c 	size = sizeof(struct mtd_info) + sizeof(struct onenand_chip);
mtd_info          948 drivers/mtd/nand/onenand/samsung.c 	struct mtd_info *mtd = platform_get_drvdata(pdev);
mtd_info          957 drivers/mtd/nand/onenand/samsung.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          966 drivers/mtd/nand/onenand/samsung.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          225 drivers/mtd/nand/raw/ams-delta.c 	struct mtd_info *mtd;
mtd_info          337 drivers/mtd/nand/raw/ams-delta.c 	struct mtd_info *mtd = nand_to_mtd(&priv->nand_chip);
mtd_info          520 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          649 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          672 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          693 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          747 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          782 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          831 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          872 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          907 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          979 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1046 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1474 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1545 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1668 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1920 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          168 drivers/mtd/nand/raw/au1550nd.c static void au1550_hwcontrol(struct mtd_info *mtd, int cmd)
mtd_info          242 drivers/mtd/nand/raw/au1550nd.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          381 drivers/mtd/nand/raw/au1550nd.c 	struct mtd_info *mtd;
mtd_info           26 drivers/mtd/nand/raw/bcm47xxnflash/main.c 	struct mtd_info *mtd;
mtd_info           85 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c static void bcm47xxnflash_ops_bcm4706_read(struct mtd_info *mtd, uint8_t *buf,
mtd_info          135 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c static void bcm47xxnflash_ops_bcm4706_write(struct mtd_info *mtd,
mtd_info          213 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c 	struct mtd_info *mtd = nand_to_mtd(nand_chip);
mtd_info          309 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c 	struct mtd_info *mtd = nand_to_mtd(nand_chip);
mtd_info          680 drivers/mtd/nand/raw/brcmnand/brcmnand.c static void brcmnand_set_cmd_addr(struct mtd_info *mtd, u64 addr)
mtd_info          980 drivers/mtd/nand/raw/brcmnand/brcmnand.c static int brcmnand_hamming_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          998 drivers/mtd/nand/raw/brcmnand/brcmnand.c static int brcmnand_hamming_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info         1038 drivers/mtd/nand/raw/brcmnand/brcmnand.c static int brcmnand_bch_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info         1056 drivers/mtd/nand/raw/brcmnand/brcmnand.c static int brcmnand_bch_ooblayout_free_lp(struct mtd_info *mtd, int section,
mtd_info         1082 drivers/mtd/nand/raw/brcmnand/brcmnand.c static int brcmnand_bch_ooblayout_free_sp(struct mtd_info *mtd, int section,
mtd_info         1118 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	struct mtd_info *mtd = nand_to_mtd(&host->chip);
mtd_info         1155 drivers/mtd/nand/raw/brcmnand/brcmnand.c static void brcmnand_wp(struct mtd_info *mtd, int wp)
mtd_info         1355 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1452 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1725 drivers/mtd/nand/raw/brcmnand/brcmnand.c static int brcmnand_read_by_pio(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info         1787 drivers/mtd/nand/raw/brcmnand/brcmnand.c static int brcmstb_nand_verify_erased_page(struct mtd_info *mtd,
mtd_info         1822 drivers/mtd/nand/raw/brcmnand/brcmnand.c static int brcmnand_read(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info         1905 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1919 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1934 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1943 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1954 drivers/mtd/nand/raw/brcmnand/brcmnand.c static int brcmnand_write(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info         2022 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2035 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2056 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2204 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	struct mtd_info *mtd = nand_to_mtd(&host->chip);
mtd_info         2335 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2371 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	struct mtd_info *mtd;
mtd_info          163 drivers/mtd/nand/raw/cafe_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          333 drivers/mtd/nand/raw/cafe_nand.c 	struct mtd_info *mtd = id;
mtd_info          347 drivers/mtd/nand/raw/cafe_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          356 drivers/mtd/nand/raw/cafe_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          373 drivers/mtd/nand/raw/cafe_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          450 drivers/mtd/nand/raw/cafe_nand.c static int cafe_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          464 drivers/mtd/nand/raw/cafe_nand.c static int cafe_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          537 drivers/mtd/nand/raw/cafe_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          598 drivers/mtd/nand/raw/cafe_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          669 drivers/mtd/nand/raw/cafe_nand.c 	struct mtd_info *mtd;
mtd_info          814 drivers/mtd/nand/raw/cafe_nand.c 	struct mtd_info *mtd = pci_get_drvdata(pdev);
mtd_info          839 drivers/mtd/nand/raw/cafe_nand.c 	struct mtd_info *mtd = pci_get_drvdata(pdev);
mtd_info           31 drivers/mtd/nand/raw/cmx270_nand.c static struct mtd_info *cmx270_nand_mtd;
mtd_info          169 drivers/mtd/nand/raw/cs553x_nand.c static struct mtd_info *cs553x_mtd[4];
mtd_info          175 drivers/mtd/nand/raw/cs553x_nand.c 	struct mtd_info *new_mtd;
mtd_info          315 drivers/mtd/nand/raw/cs553x_nand.c 		struct mtd_info *mtd = cs553x_mtd[i];
mtd_info           64 drivers/mtd/nand/raw/davinci_nand.c static inline struct davinci_nand_info *to_davinci_nand(struct mtd_info *mtd)
mtd_info          127 drivers/mtd/nand/raw/davinci_nand.c static inline uint32_t nand_davinci_readecc_1bit(struct mtd_info *mtd)
mtd_info          463 drivers/mtd/nand/raw/davinci_nand.c static int hwecc4_ooblayout_small_ecc(struct mtd_info *mtd, int section,
mtd_info          483 drivers/mtd/nand/raw/davinci_nand.c static int hwecc4_ooblayout_small_free(struct mtd_info *mtd, int section,
mtd_info          592 drivers/mtd/nand/raw/davinci_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          698 drivers/mtd/nand/raw/davinci_nand.c 	struct mtd_info			*mtd;
mtd_info          197 drivers/mtd/nand/raw/denali.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          246 drivers/mtd/nand/raw/denali.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          283 drivers/mtd/nand/raw/denali.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          728 drivers/mtd/nand/raw/denali.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          760 drivers/mtd/nand/raw/denali.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          900 drivers/mtd/nand/raw/denali.c static int denali_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          915 drivers/mtd/nand/raw/denali.c static int denali_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          938 drivers/mtd/nand/raw/denali.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          993 drivers/mtd/nand/raw/denali.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1161 drivers/mtd/nand/raw/denali.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info           58 drivers/mtd/nand/raw/diskonchip.c static struct mtd_info *doclist = NULL;
mtd_info           71 drivers/mtd/nand/raw/diskonchip.c 	struct mtd_info *nextdoc;
mtd_info           74 drivers/mtd/nand/raw/diskonchip.c 	int (*late_init)(struct mtd_info *mtd);
mtd_info          369 drivers/mtd/nand/raw/diskonchip.c static uint16_t __init doc200x_ident_chip(struct mtd_info *mtd, int nr)
mtd_info          415 drivers/mtd/nand/raw/diskonchip.c static void __init doc2000_count_chips(struct mtd_info *mtd)
mtd_info          644 drivers/mtd/nand/raw/diskonchip.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          933 drivers/mtd/nand/raw/diskonchip.c static int doc200x_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          945 drivers/mtd/nand/raw/diskonchip.c static int doc200x_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          985 drivers/mtd/nand/raw/diskonchip.c static int __init find_media_headers(struct mtd_info *mtd, u_char *buf, const char *id, int findmirror)
mtd_info         1028 drivers/mtd/nand/raw/diskonchip.c static inline int __init nftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts)
mtd_info         1134 drivers/mtd/nand/raw/diskonchip.c static inline int __init inftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts)
mtd_info         1253 drivers/mtd/nand/raw/diskonchip.c static int __init nftl_scan_bbt(struct mtd_info *mtd)
mtd_info         1288 drivers/mtd/nand/raw/diskonchip.c static int __init inftl_scan_bbt(struct mtd_info *mtd)
mtd_info         1342 drivers/mtd/nand/raw/diskonchip.c static inline int __init doc2000_init(struct mtd_info *mtd)
mtd_info         1358 drivers/mtd/nand/raw/diskonchip.c static inline int __init doc2001_init(struct mtd_info *mtd)
mtd_info         1388 drivers/mtd/nand/raw/diskonchip.c static inline int __init doc2001plus_init(struct mtd_info *mtd)
mtd_info         1413 drivers/mtd/nand/raw/diskonchip.c 	struct mtd_info *mtd;
mtd_info         1644 drivers/mtd/nand/raw/diskonchip.c 	struct mtd_info *mtd, *nextmtd;
mtd_info           69 drivers/mtd/nand/raw/fsl_elbc_nand.c static int fsl_elbc_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           87 drivers/mtd/nand/raw/fsl_elbc_nand.c static int fsl_elbc_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          152 drivers/mtd/nand/raw/fsl_elbc_nand.c static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob)
mtd_info          203 drivers/mtd/nand/raw/fsl_elbc_nand.c static int fsl_elbc_run_command(struct mtd_info *mtd)
mtd_info          310 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          544 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          637 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          658 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          673 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          687 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          725 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          833 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct mtd_info *mtd = nand_to_mtd(&priv->chip);
mtd_info          859 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct mtd_info *mtd;
mtd_info           84 drivers/mtd/nand/raw/fsl_ifc_nand.c static int fsl_ifc_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           98 drivers/mtd/nand/raw/fsl_ifc_nand.c static int fsl_ifc_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          139 drivers/mtd/nand/raw/fsl_ifc_nand.c static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob)
mtd_info          163 drivers/mtd/nand/raw/fsl_ifc_nand.c static int check_read_ecc(struct mtd_info *mtd, struct fsl_ifc_ctrl *ctrl,
mtd_info          172 drivers/mtd/nand/raw/fsl_ifc_nand.c static void fsl_ifc_run_command(struct mtd_info *mtd)
mtd_info          252 drivers/mtd/nand/raw/fsl_ifc_nand.c 			    struct mtd_info *mtd)
mtd_info          293 drivers/mtd/nand/raw/fsl_ifc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          511 drivers/mtd/nand/raw/fsl_ifc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          606 drivers/mtd/nand/raw/fsl_ifc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          640 drivers/mtd/nand/raw/fsl_ifc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          670 drivers/mtd/nand/raw/fsl_ifc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          698 drivers/mtd/nand/raw/fsl_ifc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          708 drivers/mtd/nand/raw/fsl_ifc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          836 drivers/mtd/nand/raw/fsl_ifc_nand.c 	struct mtd_info *mtd = nand_to_mtd(&priv->chip);
mtd_info          948 drivers/mtd/nand/raw/fsl_ifc_nand.c 	struct mtd_info *mtd = nand_to_mtd(&priv->chip);
mtd_info          985 drivers/mtd/nand/raw/fsl_ifc_nand.c 	struct mtd_info *mtd;
mtd_info           45 drivers/mtd/nand/raw/fsl_upm.c static inline struct fsl_upm_nand *to_fsl_upm_nand(struct mtd_info *mtdinfo)
mtd_info           65 drivers/mtd/nand/raw/fsl_upm.c 		struct mtd_info *mtd = nand_to_mtd(&fun->chip);
mtd_info          155 drivers/mtd/nand/raw/fsl_upm.c 	struct mtd_info *mtd = nand_to_mtd(&fun->chip);
mtd_info          320 drivers/mtd/nand/raw/fsl_upm.c 	struct mtd_info *mtd = nand_to_mtd(&fun->chip);
mtd_info          158 drivers/mtd/nand/raw/fsmc_nand.c static int fsmc_ecc1_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          172 drivers/mtd/nand/raw/fsmc_nand.c static int fsmc_ecc1_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          201 drivers/mtd/nand/raw/fsmc_nand.c static int fsmc_ecc4_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          219 drivers/mtd/nand/raw/fsmc_nand.c static int fsmc_ecc4_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          674 drivers/mtd/nand/raw/fsmc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          876 drivers/mtd/nand/raw/fsmc_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          973 drivers/mtd/nand/raw/fsmc_nand.c 	struct mtd_info *mtd;
mtd_info           40 drivers/mtd/nand/raw/gpio.c static inline struct gpiomtd *gpio_nand_getpriv(struct mtd_info *mtd)
mtd_info          209 drivers/mtd/nand/raw/gpio.c 	struct mtd_info *mtd;
mtd_info          262 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          388 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info	*mtd = nand_to_mtd(&this->nand);
mtd_info          401 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(&this->nand);
mtd_info         1002 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int gpmi_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info         1018 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int gpmi_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info         1256 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(&this->nand);
mtd_info         1340 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1456 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1573 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1663 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1693 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1723 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1810 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1890 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2002 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2067 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2167 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2558 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info  *mtd = nand_to_mtd(chip);
mtd_info          182 drivers/mtd/nand/raw/hisi504_nand.c 	struct mtd_info	*mtd = nand_to_mtd(chip);
mtd_info          254 drivers/mtd/nand/raw/hisi504_nand.c 	struct mtd_info	*mtd = nand_to_mtd(&host->chip);
mtd_info          389 drivers/mtd/nand/raw/hisi504_nand.c static void set_addr(struct mtd_info *mtd, int column, int page_addr)
mtd_info          426 drivers/mtd/nand/raw/hisi504_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          521 drivers/mtd/nand/raw/hisi504_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          553 drivers/mtd/nand/raw/hisi504_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          571 drivers/mtd/nand/raw/hisi504_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          612 drivers/mtd/nand/raw/hisi504_nand.c static int hisi_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          619 drivers/mtd/nand/raw/hisi504_nand.c static int hisi_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          642 drivers/mtd/nand/raw/hisi504_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          695 drivers/mtd/nand/raw/hisi504_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          740 drivers/mtd/nand/raw/hisi504_nand.c 	struct mtd_info   *mtd;
mtd_info           65 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c static inline struct ingenic_nand *to_ingenic_nand(struct mtd_info *mtd)
mtd_info           75 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c static int qi_lb60_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           90 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c static int qi_lb60_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          110 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c static int jz4725b_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          125 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c static int jz4725b_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          234 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          314 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c 	struct mtd_info *mtd;
mtd_info          131 drivers/mtd/nand/raw/lpc32xx_mlc.c static int lpc32xx_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          145 drivers/mtd/nand/raw/lpc32xx_mlc.c static int lpc32xx_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          323 drivers/mtd/nand/raw/lpc32xx_mlc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          343 drivers/mtd/nand/raw/lpc32xx_mlc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          392 drivers/mtd/nand/raw/lpc32xx_mlc.c static int lpc32xx_xmit_dma(struct mtd_info *mtd, void *mem, int len,
mtd_info          437 drivers/mtd/nand/raw/lpc32xx_mlc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          504 drivers/mtd/nand/raw/lpc32xx_mlc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          574 drivers/mtd/nand/raw/lpc32xx_mlc.c 	struct mtd_info *mtd = nand_to_mtd(&host->nand_chip);
mtd_info          647 drivers/mtd/nand/raw/lpc32xx_mlc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          677 drivers/mtd/nand/raw/lpc32xx_mlc.c 	struct mtd_info *mtd;
mtd_info          139 drivers/mtd/nand/raw/lpc32xx_slc.c static int lpc32xx_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          151 drivers/mtd/nand/raw/lpc32xx_slc.c static int lpc32xx_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          388 drivers/mtd/nand/raw/lpc32xx_slc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          398 drivers/mtd/nand/raw/lpc32xx_slc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          427 drivers/mtd/nand/raw/lpc32xx_slc.c static int lpc32xx_xmit_dma(struct mtd_info *mtd, dma_addr_t dma,
mtd_info          487 drivers/mtd/nand/raw/lpc32xx_slc.c static int lpc32xx_xfer(struct mtd_info *mtd, uint8_t *buf, int eccsubpages,
mtd_info          605 drivers/mtd/nand/raw/lpc32xx_slc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          653 drivers/mtd/nand/raw/lpc32xx_slc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          673 drivers/mtd/nand/raw/lpc32xx_slc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          711 drivers/mtd/nand/raw/lpc32xx_slc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          723 drivers/mtd/nand/raw/lpc32xx_slc.c 	struct mtd_info *mtd = nand_to_mtd(&host->nand_chip);
mtd_info          775 drivers/mtd/nand/raw/lpc32xx_slc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          819 drivers/mtd/nand/raw/lpc32xx_slc.c 	struct mtd_info *mtd;
mtd_info          907 drivers/mtd/nand/raw/marvell_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          944 drivers/mtd/nand/raw/marvell_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1180 drivers/mtd/nand/raw/marvell_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1194 drivers/mtd/nand/raw/marvell_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1309 drivers/mtd/nand/raw/marvell_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1566 drivers/mtd/nand/raw/marvell_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1616 drivers/mtd/nand/raw/marvell_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1626 drivers/mtd/nand/raw/marvell_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2124 drivers/mtd/nand/raw/marvell_nand.c static int marvell_nand_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info         2140 drivers/mtd/nand/raw/marvell_nand.c static int marvell_nand_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info         2169 drivers/mtd/nand/raw/marvell_nand.c static int marvell_nand_hw_ecc_ctrl_init(struct mtd_info *mtd,
mtd_info         2243 drivers/mtd/nand/raw/marvell_nand.c static int marvell_nand_ecc_init(struct mtd_info *mtd,
mtd_info         2409 drivers/mtd/nand/raw/marvell_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2519 drivers/mtd/nand/raw/marvell_nand.c 	struct mtd_info *mtd;
mtd_info          268 drivers/mtd/nand/raw/meson_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          447 drivers/mtd/nand/raw/meson_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          576 drivers/mtd/nand/raw/meson_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          629 drivers/mtd/nand/raw/meson_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          684 drivers/mtd/nand/raw/meson_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          716 drivers/mtd/nand/raw/meson_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          772 drivers/mtd/nand/raw/meson_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          952 drivers/mtd/nand/raw/meson_nand.c static int meson_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          966 drivers/mtd/nand/raw/meson_nand.c static int meson_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info         1074 drivers/mtd/nand/raw/meson_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info         1166 drivers/mtd/nand/raw/meson_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info         1232 drivers/mtd/nand/raw/meson_nand.c 	struct mtd_info *mtd;
mtd_info         1293 drivers/mtd/nand/raw/meson_nand.c 	struct mtd_info *mtd;
mtd_info          118 drivers/mtd/nand/raw/mpc5121_nfc.c static void mpc5121_nfc_done(struct mtd_info *mtd);
mtd_info          121 drivers/mtd/nand/raw/mpc5121_nfc.c static inline u16 nfc_read(struct mtd_info *mtd, uint reg)
mtd_info          130 drivers/mtd/nand/raw/mpc5121_nfc.c static inline void nfc_write(struct mtd_info *mtd, uint reg, u16 val)
mtd_info          139 drivers/mtd/nand/raw/mpc5121_nfc.c static inline void nfc_set(struct mtd_info *mtd, uint reg, u16 bits)
mtd_info          145 drivers/mtd/nand/raw/mpc5121_nfc.c static inline void nfc_clear(struct mtd_info *mtd, uint reg, u16 bits)
mtd_info          151 drivers/mtd/nand/raw/mpc5121_nfc.c static inline void mpc5121_nfc_send_addr(struct mtd_info *mtd, u16 addr)
mtd_info          159 drivers/mtd/nand/raw/mpc5121_nfc.c static inline void mpc5121_nfc_send_cmd(struct mtd_info *mtd, u16 cmd)
mtd_info          167 drivers/mtd/nand/raw/mpc5121_nfc.c static inline void mpc5121_nfc_send_prog_page(struct mtd_info *mtd)
mtd_info          175 drivers/mtd/nand/raw/mpc5121_nfc.c static inline void mpc5121_nfc_send_read_page(struct mtd_info *mtd)
mtd_info          183 drivers/mtd/nand/raw/mpc5121_nfc.c static inline void mpc5121_nfc_send_read_id(struct mtd_info *mtd)
mtd_info          191 drivers/mtd/nand/raw/mpc5121_nfc.c static inline void mpc5121_nfc_send_read_status(struct mtd_info *mtd)
mtd_info          201 drivers/mtd/nand/raw/mpc5121_nfc.c 	struct mtd_info *mtd = data;
mtd_info          212 drivers/mtd/nand/raw/mpc5121_nfc.c static void mpc5121_nfc_done(struct mtd_info *mtd)
mtd_info          232 drivers/mtd/nand/raw/mpc5121_nfc.c static void mpc5121_nfc_addr_cycle(struct mtd_info *mtd, int column, int page)
mtd_info          255 drivers/mtd/nand/raw/mpc5121_nfc.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          269 drivers/mtd/nand/raw/mpc5121_nfc.c static int ads5121_chipselect_init(struct mtd_info *mtd)
mtd_info          293 drivers/mtd/nand/raw/mpc5121_nfc.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          323 drivers/mtd/nand/raw/mpc5121_nfc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          393 drivers/mtd/nand/raw/mpc5121_nfc.c static void mpc5121_nfc_copy_spare(struct mtd_info *mtd, uint offset,
mtd_info          445 drivers/mtd/nand/raw/mpc5121_nfc.c static void mpc5121_nfc_buf_copy(struct mtd_info *mtd, u_char *buf, int len,
mtd_info          514 drivers/mtd/nand/raw/mpc5121_nfc.c static int mpc5121_nfc_read_hw_config(struct mtd_info *mtd)
mtd_info          593 drivers/mtd/nand/raw/mpc5121_nfc.c static void mpc5121_nfc_free(struct device *dev, struct mtd_info *mtd)
mtd_info          612 drivers/mtd/nand/raw/mpc5121_nfc.c 	struct mtd_info *mtd;
mtd_info          807 drivers/mtd/nand/raw/mpc5121_nfc.c 	struct mtd_info *mtd = dev_get_drvdata(dev);
mtd_info          112 drivers/mtd/nand/raw/mtk_nand.c 	void (*bm_swap)(struct mtd_info *, u8 *buf, int raw);
mtd_info          319 drivers/mtd/nand/raw/mtk_nand.c static int mtk_nfc_hw_runtime_config(struct mtd_info *mtd)
mtd_info          624 drivers/mtd/nand/raw/mtk_nand.c static void mtk_nfc_no_bad_mark_swap(struct mtd_info *a, u8 *b, int c)
mtd_info          629 drivers/mtd/nand/raw/mtk_nand.c static void mtk_nfc_bad_mark_swap(struct mtd_info *mtd, u8 *buf, int raw)
mtd_info          643 drivers/mtd/nand/raw/mtk_nand.c static int mtk_nfc_format_subpage(struct mtd_info *mtd, u32 offset,
mtd_info          678 drivers/mtd/nand/raw/mtk_nand.c static void mtk_nfc_format_page(struct mtd_info *mtd, const u8 *buf)
mtd_info          745 drivers/mtd/nand/raw/mtk_nand.c static int mtk_nfc_do_write_page(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          796 drivers/mtd/nand/raw/mtk_nand.c static int mtk_nfc_write_page(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          856 drivers/mtd/nand/raw/mtk_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          867 drivers/mtd/nand/raw/mtk_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          884 drivers/mtd/nand/raw/mtk_nand.c static int mtk_nfc_update_ecc_stats(struct mtd_info *mtd, u8 *buf, u32 start,
mtd_info          909 drivers/mtd/nand/raw/mtk_nand.c static int mtk_nfc_read_subpage(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info         1017 drivers/mtd/nand/raw/mtk_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1025 drivers/mtd/nand/raw/mtk_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1116 drivers/mtd/nand/raw/mtk_nand.c static int mtk_nfc_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info         1135 drivers/mtd/nand/raw/mtk_nand.c static int mtk_nfc_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info         1157 drivers/mtd/nand/raw/mtk_nand.c static void mtk_nfc_set_fdm(struct mtk_nfc_fdm *fdm, struct mtd_info *mtd)
mtd_info         1176 drivers/mtd/nand/raw/mtk_nand.c 				     struct mtd_info *mtd)
mtd_info         1189 drivers/mtd/nand/raw/mtk_nand.c static int mtk_nfc_set_spare_per_sector(u32 *sps, struct mtd_info *mtd)
mtd_info         1221 drivers/mtd/nand/raw/mtk_nand.c static int mtk_nfc_ecc_init(struct device *dev, struct mtd_info *mtd)
mtd_info         1291 drivers/mtd/nand/raw/mtk_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1336 drivers/mtd/nand/raw/mtk_nand.c 	struct mtd_info *mtd;
mtd_info          127 drivers/mtd/nand/raw/mxc_nand.c 	void (*preset)(struct mtd_info *);
mtd_info          132 drivers/mtd/nand/raw/mxc_nand.c 	void (*send_page)(struct mtd_info *, unsigned int);
mtd_info          250 drivers/mtd/nand/raw/mxc_nand.c static void copy_spare(struct mtd_info *mtd, bool bfrom, void *buf)
mtd_info          293 drivers/mtd/nand/raw/mxc_nand.c static void mxc_do_addr_cycle(struct mtd_info *mtd, int column, int page_addr)
mtd_info          555 drivers/mtd/nand/raw/mxc_nand.c static void send_page_v3(struct mtd_info *mtd, unsigned int ops)
mtd_info          571 drivers/mtd/nand/raw/mxc_nand.c static void send_page_v2(struct mtd_info *mtd, unsigned int ops)
mtd_info          585 drivers/mtd/nand/raw/mxc_nand.c static void send_page_v1(struct mtd_info *mtd, unsigned int ops)
mtd_info          716 drivers/mtd/nand/raw/mxc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          774 drivers/mtd/nand/raw/mxc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          858 drivers/mtd/nand/raw/mxc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          890 drivers/mtd/nand/raw/mxc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          927 drivers/mtd/nand/raw/mxc_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand_chip);
mtd_info          946 drivers/mtd/nand/raw/mxc_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand_chip);
mtd_info         1005 drivers/mtd/nand/raw/mxc_nand.c static int mxc_v1_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info         1019 drivers/mtd/nand/raw/mxc_nand.c static int mxc_v1_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info         1052 drivers/mtd/nand/raw/mxc_nand.c static int mxc_v2_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info         1067 drivers/mtd/nand/raw/mxc_nand.c static int mxc_v2_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info         1102 drivers/mtd/nand/raw/mxc_nand.c static int get_eccsize(struct mtd_info *mtd)
mtd_info         1114 drivers/mtd/nand/raw/mxc_nand.c static void preset_v1(struct mtd_info *mtd)
mtd_info         1216 drivers/mtd/nand/raw/mxc_nand.c static void preset_v2(struct mtd_info *mtd)
mtd_info         1265 drivers/mtd/nand/raw/mxc_nand.c static void preset_v3(struct mtd_info *mtd)
mtd_info         1338 drivers/mtd/nand/raw/mxc_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand_chip);
mtd_info         1398 drivers/mtd/nand/raw/mxc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1418 drivers/mtd/nand/raw/mxc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1679 drivers/mtd/nand/raw/mxc_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1757 drivers/mtd/nand/raw/mxc_nand.c 	struct mtd_info *mtd;
mtd_info          486 drivers/mtd/nand/raw/mxic_nand.c 	struct mtd_info *mtd;
mtd_info           13 drivers/mtd/nand/raw/nand_amd.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info           49 drivers/mtd/nand/raw/nand_base.c static int nand_ooblayout_ecc_sp(struct mtd_info *mtd, int section,
mtd_info           75 drivers/mtd/nand/raw/nand_base.c static int nand_ooblayout_free_sp(struct mtd_info *mtd, int section,
mtd_info          104 drivers/mtd/nand/raw/nand_base.c static int nand_ooblayout_ecc_lp(struct mtd_info *mtd, int section,
mtd_info          119 drivers/mtd/nand/raw/nand_base.c static int nand_ooblayout_free_lp(struct mtd_info *mtd, int section,
mtd_info          144 drivers/mtd/nand/raw/nand_base.c static int nand_ooblayout_ecc_lp_hamming(struct mtd_info *mtd, int section,
mtd_info          171 drivers/mtd/nand/raw/nand_base.c static int nand_ooblayout_free_lp_hamming(struct mtd_info *mtd, int section,
mtd_info          292 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          408 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          447 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          517 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          583 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          624 drivers/mtd/nand/raw/nand_base.c static int nand_block_isreserved(struct mtd_info *mtd, loff_t ofs)
mtd_info          973 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1016 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1108 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1198 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1261 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1286 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1374 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1459 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1504 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2609 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2639 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2701 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2748 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2860 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2934 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3001 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3090 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3157 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3327 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3341 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3394 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3409 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3485 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3560 drivers/mtd/nand/raw/nand_base.c static int nand_read_oob(struct mtd_info *mtd, loff_t from,
mtd_info         3613 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3644 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3705 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3734 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3781 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3851 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3922 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         3959 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         4085 drivers/mtd/nand/raw/nand_base.c static int panic_nand_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info         4115 drivers/mtd/nand/raw/nand_base.c static int nand_write_oob(struct mtd_info *mtd, loff_t to,
mtd_info         4154 drivers/mtd/nand/raw/nand_base.c static int nand_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info         4263 drivers/mtd/nand/raw/nand_base.c static void nand_sync(struct mtd_info *mtd)
mtd_info         4280 drivers/mtd/nand/raw/nand_base.c static int nand_block_isbad(struct mtd_info *mtd, loff_t offs)
mtd_info         4306 drivers/mtd/nand/raw/nand_base.c static int nand_block_markbad(struct mtd_info *mtd, loff_t ofs)
mtd_info         4325 drivers/mtd/nand/raw/nand_base.c static int nand_suspend(struct mtd_info *mtd)
mtd_info         4340 drivers/mtd/nand/raw/nand_base.c static void nand_resume(struct mtd_info *mtd)
mtd_info         4358 drivers/mtd/nand/raw/nand_base.c static void nand_shutdown(struct mtd_info *mtd)
mtd_info         4473 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         4510 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         4533 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         4550 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         4651 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         4999 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         5084 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         5196 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         5250 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         5331 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         5408 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         5442 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         5515 drivers/mtd/nand/raw/nand_base.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          169 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          262 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          290 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          315 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          356 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          371 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          392 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          417 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          465 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          527 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          717 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info         1043 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info         1100 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info         1161 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info         1213 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          106 drivers/mtd/nand/raw/nand_bch.c struct nand_bch_control *nand_bch_init(struct mtd_info *mtd)
mtd_info          411 drivers/mtd/nand/raw/nand_hynix.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          607 drivers/mtd/nand/raw/nand_hynix.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info           24 drivers/mtd/nand/raw/nand_jedec.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          251 drivers/mtd/nand/raw/nand_legacy.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          388 drivers/mtd/nand/raw/nand_legacy.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          612 drivers/mtd/nand/raw/nand_legacy.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          100 drivers/mtd/nand/raw/nand_micron.c static int micron_nand_on_die_4_ooblayout_ecc(struct mtd_info *mtd,
mtd_info          113 drivers/mtd/nand/raw/nand_micron.c static int micron_nand_on_die_4_ooblayout_free(struct mtd_info *mtd,
mtd_info          131 drivers/mtd/nand/raw/nand_micron.c static int micron_nand_on_die_8_ooblayout_ecc(struct mtd_info *mtd,
mtd_info          146 drivers/mtd/nand/raw/nand_micron.c static int micron_nand_on_die_8_ooblayout_free(struct mtd_info *mtd,
mtd_info          193 drivers/mtd/nand/raw/nand_micron.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          257 drivers/mtd/nand/raw/nand_micron.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          287 drivers/mtd/nand/raw/nand_micron.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          434 drivers/mtd/nand/raw/nand_micron.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          142 drivers/mtd/nand/raw/nand_onfi.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info           13 drivers/mtd/nand/raw/nand_samsung.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          119 drivers/mtd/nand/raw/nand_samsung.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info           19 drivers/mtd/nand/raw/nand_toshiba.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info           70 drivers/mtd/nand/raw/nand_toshiba.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info           94 drivers/mtd/nand/raw/nand_toshiba.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          433 drivers/mtd/nand/raw/nandsim.c static struct mtd_info *nsmtd;
mtd_info          623 drivers/mtd/nand/raw/nandsim.c static int __init init_nandsim(struct mtd_info *mtd)
mtd_info          768 drivers/mtd/nand/raw/nandsim.c static int parse_badblocks(struct nandsim *ns, struct mtd_info *mtd)
mtd_info          967 drivers/mtd/nand/raw/nandsim.c static int setup_wear_reporting(struct mtd_info *mtd)
mtd_info          137 drivers/mtd/nand/raw/ndfc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          247 drivers/mtd/nand/raw/ndfc.c 	struct mtd_info *mtd = nand_to_mtd(&ndfc->chip);
mtd_info          176 drivers/mtd/nand/raw/omap2.c static inline struct omap_nand_info *mtd_to_omap(struct mtd_info *mtd)
mtd_info          271 drivers/mtd/nand/raw/omap2.c static void omap_read_buf8(struct mtd_info *mtd, u_char *buf, int len)
mtd_info          284 drivers/mtd/nand/raw/omap2.c static void omap_write_buf8(struct mtd_info *mtd, const u_char *buf, int len)
mtd_info          305 drivers/mtd/nand/raw/omap2.c static void omap_read_buf16(struct mtd_info *mtd, u_char *buf, int len)
mtd_info          318 drivers/mtd/nand/raw/omap2.c static void omap_write_buf16(struct mtd_info *mtd, const u_char * buf, int len)
mtd_info          343 drivers/mtd/nand/raw/omap2.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          391 drivers/mtd/nand/raw/omap2.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          454 drivers/mtd/nand/raw/omap2.c static inline int omap_nand_dma_transfer(struct mtd_info *mtd, void *addr,
mtd_info          537 drivers/mtd/nand/raw/omap2.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          555 drivers/mtd/nand/raw/omap2.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          619 drivers/mtd/nand/raw/omap2.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          667 drivers/mtd/nand/raw/omap2.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1140 drivers/mtd/nand/raw/omap2.c static int _omap_calculate_ecc_bch(struct mtd_info *mtd,
mtd_info         1282 drivers/mtd/nand/raw/omap2.c static int omap_calculate_ecc_bch_multi(struct mtd_info *mtd,
mtd_info         1526 drivers/mtd/nand/raw/omap2.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1567 drivers/mtd/nand/raw/omap2.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1635 drivers/mtd/nand/raw/omap2.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1816 drivers/mtd/nand/raw/omap2.c static int omap_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info         1836 drivers/mtd/nand/raw/omap2.c static int omap_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info         1865 drivers/mtd/nand/raw/omap2.c static int omap_sw_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info         1884 drivers/mtd/nand/raw/omap2.c static int omap_sw_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info         1914 drivers/mtd/nand/raw/omap2.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2176 drivers/mtd/nand/raw/omap2.c 	struct mtd_info			*mtd;
mtd_info         2287 drivers/mtd/nand/raw/omap2.c 	struct mtd_info *mtd = platform_get_drvdata(pdev);
mtd_info           88 drivers/mtd/nand/raw/orion_nand.c 	struct mtd_info *mtd;
mtd_info           80 drivers/mtd/nand/raw/oxnas_nand.c 	struct mtd_info *mtd;
mtd_info           31 drivers/mtd/nand/raw/pasemi_nand.c static struct mtd_info *pasemi_nand_mtd;
mtd_info           28 drivers/mtd/nand/raw/plat_nand.c 	struct mtd_info *mtd;
mtd_info         1583 drivers/mtd/nand/raw/qcom_nandc.c qcom_nandc_read_cw_raw(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info         1670 drivers/mtd/nand/raw/qcom_nandc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1729 drivers/mtd/nand/raw/qcom_nandc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1961 drivers/mtd/nand/raw/qcom_nandc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2072 drivers/mtd/nand/raw/qcom_nandc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2149 drivers/mtd/nand/raw/qcom_nandc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2191 drivers/mtd/nand/raw/qcom_nandc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2411 drivers/mtd/nand/raw/qcom_nandc.c static int qcom_nand_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info         2433 drivers/mtd/nand/raw/qcom_nandc.c static int qcom_nand_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info         2464 drivers/mtd/nand/raw/qcom_nandc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         2778 drivers/mtd/nand/raw/qcom_nandc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info           63 drivers/mtd/nand/raw/r852.c static inline struct r852_device *r852_get_dev(struct mtd_info *mtd)
mtd_info          520 drivers/mtd/nand/raw/r852.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          589 drivers/mtd/nand/raw/r852.c 	struct mtd_info *mtd = container_of(sys_dev, struct mtd_info, dev);
mtd_info          632 drivers/mtd/nand/raw/r852.c 	struct mtd_info *mtd = nand_to_mtd(dev->chip);
mtd_info          667 drivers/mtd/nand/raw/r852.c 	struct mtd_info *mtd = nand_to_mtd(dev->chip);
mtd_info           75 drivers/mtd/nand/raw/s3c2410.c static int s3c2410_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           87 drivers/mtd/nand/raw/s3c2410.c static int s3c2410_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          192 drivers/mtd/nand/raw/s3c2410.c static struct s3c2410_nand_mtd *s3c2410_nand_mtd_toours(struct mtd_info *mtd)
mtd_info          198 drivers/mtd/nand/raw/s3c2410.c static struct s3c2410_nand_info *s3c2410_nand_mtd_toinfo(struct mtd_info *mtd)
mtd_info          449 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          466 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          485 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          492 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          499 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          509 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          621 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          636 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          652 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          676 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          699 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(this);
mtd_info          799 drivers/mtd/nand/raw/s3c2410.c 		struct mtd_info *mtdinfo = nand_to_mtd(&mtd->chip);
mtd_info          813 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          928 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1165 drivers/mtd/nand/raw/s3c2410.c 		struct mtd_info *mtd = nand_to_mtd(&nmtd->chip);
mtd_info           32 drivers/mtd/nand/raw/sh_flctl.c static int flctl_4secc_ooblayout_sp_ecc(struct mtd_info *mtd, int section,
mtd_info           46 drivers/mtd/nand/raw/sh_flctl.c static int flctl_4secc_ooblayout_sp_free(struct mtd_info *mtd, int section,
mtd_info           63 drivers/mtd/nand/raw/sh_flctl.c static int flctl_4secc_ooblayout_lp_ecc(struct mtd_info *mtd, int section,
mtd_info           77 drivers/mtd/nand/raw/sh_flctl.c static int flctl_4secc_ooblayout_lp_free(struct mtd_info *mtd, int section,
mtd_info          223 drivers/mtd/nand/raw/sh_flctl.c static void set_addr(struct mtd_info *mtd, int column, int page_addr)
mtd_info          537 drivers/mtd/nand/raw/sh_flctl.c static void set_cmd_regs(struct mtd_info *mtd, uint32_t cmd, uint32_t flcmcdr_val)
mtd_info          602 drivers/mtd/nand/raw/sh_flctl.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          613 drivers/mtd/nand/raw/sh_flctl.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          620 drivers/mtd/nand/raw/sh_flctl.c static void execmd_read_page_sector(struct mtd_info *mtd, int page_addr)
mtd_info          669 drivers/mtd/nand/raw/sh_flctl.c static void execmd_read_oob(struct mtd_info *mtd, int page_addr)
mtd_info          690 drivers/mtd/nand/raw/sh_flctl.c static void execmd_write_page_sector(struct mtd_info *mtd)
mtd_info          716 drivers/mtd/nand/raw/sh_flctl.c static void execmd_write_oob(struct mtd_info *mtd)
mtd_info          741 drivers/mtd/nand/raw/sh_flctl.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          988 drivers/mtd/nand/raw/sh_flctl.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1115 drivers/mtd/nand/raw/sh_flctl.c 	struct mtd_info *flctl_mtd;
mtd_info           28 drivers/mtd/nand/raw/sharpsl.c static inline struct sharpsl_nand *mtd_to_sharpsl(struct mtd_info *mtd)
mtd_info          105 drivers/mtd/nand/raw/sharpsl.c 	struct mtd_info *mtd;
mtd_info           12 drivers/mtd/nand/raw/sm_common.c static int oob_sm_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           24 drivers/mtd/nand/raw/sm_common.c static int oob_sm_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info           61 drivers/mtd/nand/raw/sm_common.c static int oob_sm_small_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           73 drivers/mtd/nand/raw/sm_common.c static int oob_sm_small_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          101 drivers/mtd/nand/raw/sm_common.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          163 drivers/mtd/nand/raw/sm_common.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          185 drivers/mtd/nand/raw/sm_common.c int sm_register_device(struct mtd_info *mtd, int smartmedia)
mtd_info           36 drivers/mtd/nand/raw/sm_common.h int sm_register_device(struct mtd_info *mtd, int smartmedia);
mtd_info          125 drivers/mtd/nand/raw/socrates_nand.c 	struct mtd_info *mtd;
mtd_info          732 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          796 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1027 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1091 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1149 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1199 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1682 drivers/mtd/nand/raw/stm32_fmc2_nand.c static int stm32_fmc2_nand_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info         1697 drivers/mtd/nand/raw/stm32_fmc2_nand.c static int stm32_fmc2_nand_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info         1740 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1868 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	struct mtd_info *mtd;
mtd_info          407 drivers/mtd/nand/raw/sunxi_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          595 drivers/mtd/nand/raw/sunxi_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          750 drivers/mtd/nand/raw/sunxi_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          881 drivers/mtd/nand/raw/sunxi_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info          909 drivers/mtd/nand/raw/sunxi_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info         1069 drivers/mtd/nand/raw/sunxi_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info         1090 drivers/mtd/nand/raw/sunxi_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info         1149 drivers/mtd/nand/raw/sunxi_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info         1205 drivers/mtd/nand/raw/sunxi_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info         1242 drivers/mtd/nand/raw/sunxi_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info         1345 drivers/mtd/nand/raw/sunxi_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info         1549 drivers/mtd/nand/raw/sunxi_nand.c static int sunxi_nand_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info         1564 drivers/mtd/nand/raw/sunxi_nand.c static int sunxi_nand_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info         1611 drivers/mtd/nand/raw/sunxi_nand.c 	struct mtd_info *mtd = nand_to_mtd(nand);
mtd_info         1930 drivers/mtd/nand/raw/sunxi_nand.c 	struct mtd_info *mtd;
mtd_info          177 drivers/mtd/nand/raw/tango_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          205 drivers/mtd/nand/raw/tango_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          278 drivers/mtd/nand/raw/tango_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          301 drivers/mtd/nand/raw/tango_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          368 drivers/mtd/nand/raw/tango_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          395 drivers/mtd/nand/raw/tango_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          450 drivers/mtd/nand/raw/tango_nand.c static int oob_ecc(struct mtd_info *mtd, int idx, struct mtd_oob_region *res)
mtd_info          464 drivers/mtd/nand/raw/tango_nand.c static int oob_free(struct mtd_info *mtd, int idx, struct mtd_oob_region *res)
mtd_info          537 drivers/mtd/nand/raw/tango_nand.c 	struct mtd_info *mtd;
mtd_info          200 drivers/mtd/nand/raw/tegra_nand.c static int tegra_nand_ooblayout_rs_ecc(struct mtd_info *mtd, int section,
mtd_info          216 drivers/mtd/nand/raw/tegra_nand.c static int tegra_nand_ooblayout_no_free(struct mtd_info *mtd, int section,
mtd_info          227 drivers/mtd/nand/raw/tegra_nand.c static int tegra_nand_ooblayout_bch_ecc(struct mtd_info *mtd, int section,
mtd_info          491 drivers/mtd/nand/raw/tegra_nand.c static int tegra_nand_page_xfer(struct mtd_info *mtd, struct nand_chip *chip,
mtd_info          617 drivers/mtd/nand/raw/tegra_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          627 drivers/mtd/nand/raw/tegra_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          636 drivers/mtd/nand/raw/tegra_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          644 drivers/mtd/nand/raw/tegra_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          653 drivers/mtd/nand/raw/tegra_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          763 drivers/mtd/nand/raw/tegra_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          910 drivers/mtd/nand/raw/tegra_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info         1064 drivers/mtd/nand/raw/tegra_nand.c 	struct mtd_info *mtd;
mtd_info         1208 drivers/mtd/nand/raw/tegra_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          122 drivers/mtd/nand/raw/tmio_nand.c static inline struct tmio_nand *mtd_to_tmio(struct mtd_info *mtd)
mtd_info          367 drivers/mtd/nand/raw/tmio_nand.c 	struct mtd_info *mtd;
mtd_info           69 drivers/mtd/nand/raw/txx9ndfmc.c 	struct mtd_info *mtds[MAX_TXX9NDFMC_DEV];
mtd_info           76 drivers/mtd/nand/raw/txx9ndfmc.c static struct platform_device *mtd_to_platdev(struct mtd_info *mtd)
mtd_info          254 drivers/mtd/nand/raw/txx9ndfmc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          312 drivers/mtd/nand/raw/txx9ndfmc.c 		struct mtd_info *mtd;
mtd_info          379 drivers/mtd/nand/raw/txx9ndfmc.c 		struct mtd_info *mtd = drvdata->mtds[i];
mtd_info          514 drivers/mtd/nand/raw/vf610_nfc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          555 drivers/mtd/nand/raw/vf610_nfc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          603 drivers/mtd/nand/raw/vf610_nfc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          660 drivers/mtd/nand/raw/vf610_nfc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          690 drivers/mtd/nand/raw/vf610_nfc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          747 drivers/mtd/nand/raw/vf610_nfc.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          814 drivers/mtd/nand/raw/vf610_nfc.c 	struct mtd_info *mtd;
mtd_info           70 drivers/mtd/nand/raw/xway_nand.c static u8 xway_readb(struct mtd_info *mtd, int op)
mtd_info           78 drivers/mtd/nand/raw/xway_nand.c static void xway_writeb(struct mtd_info *mtd, int op, u8 value)
mtd_info          108 drivers/mtd/nand/raw/xway_nand.c 	struct mtd_info *mtd = nand_to_mtd(chip);
mtd_info          154 drivers/mtd/nand/raw/xway_nand.c 	struct mtd_info *mtd;
mtd_info          216 drivers/mtd/nand/spi/core.c 	struct mtd_info *mtd = nanddev_to_mtd(nand);
mtd_info          274 drivers/mtd/nand/spi/core.c 	struct mtd_info *mtd = nanddev_to_mtd(nand);
mtd_info          482 drivers/mtd/nand/spi/core.c static int spinand_mtd_read(struct mtd_info *mtd, loff_t from,
mtd_info          532 drivers/mtd/nand/spi/core.c static int spinand_mtd_write(struct mtd_info *mtd, loff_t to,
mtd_info          588 drivers/mtd/nand/spi/core.c static int spinand_mtd_block_isbad(struct mtd_info *mtd, loff_t offs)
mtd_info          627 drivers/mtd/nand/spi/core.c static int spinand_mtd_block_markbad(struct mtd_info *mtd, loff_t offs)
mtd_info          667 drivers/mtd/nand/spi/core.c static int spinand_mtd_erase(struct mtd_info *mtd,
mtd_info          680 drivers/mtd/nand/spi/core.c static int spinand_mtd_block_isreserved(struct mtd_info *mtd, loff_t offs)
mtd_info          928 drivers/mtd/nand/spi/core.c static int spinand_noecc_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          934 drivers/mtd/nand/spi/core.c static int spinand_noecc_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          955 drivers/mtd/nand/spi/core.c 	struct mtd_info *mtd = spinand_to_mtd(spinand);
mtd_info         1083 drivers/mtd/nand/spi/core.c 	struct mtd_info *mtd;
mtd_info         1117 drivers/mtd/nand/spi/core.c 	struct mtd_info *mtd;
mtd_info           47 drivers/mtd/nand/spi/gigadevice.c static int gd5fxgq4xa_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           59 drivers/mtd/nand/spi/gigadevice.c static int gd5fxgq4xa_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          105 drivers/mtd/nand/spi/gigadevice.c static int gd5fxgq4_variant2_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          117 drivers/mtd/nand/spi/gigadevice.c static int gd5fxgq4_variant2_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info           29 drivers/mtd/nand/spi/macronix.c static int mx35lfxge4ab_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           35 drivers/mtd/nand/spi/macronix.c static int mx35lfxge4ab_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info           37 drivers/mtd/nand/spi/micron.c static int mt29f2g01abagd_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           49 drivers/mtd/nand/spi/micron.c static int mt29f2g01abagd_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info           41 drivers/mtd/nand/spi/paragon.c static int pn26g0xa_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           53 drivers/mtd/nand/spi/paragon.c static int pn26g0xa_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info           28 drivers/mtd/nand/spi/toshiba.c static int tc58cxgxsx_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           40 drivers/mtd/nand/spi/toshiba.c static int tc58cxgxsx_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info           34 drivers/mtd/nand/spi/winbond.c static int w25m02gv_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info           46 drivers/mtd/nand/spi/winbond.c static int w25m02gv_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info           35 drivers/mtd/nftlcore.c static void nftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
mtd_info          123 drivers/mtd/nftlcore.c int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
mtd_info          144 drivers/mtd/nftlcore.c int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
mtd_info          167 drivers/mtd/nftlcore.c static int nftl_write(struct mtd_info *mtd, loff_t offs, size_t len,
mtd_info          233 drivers/mtd/nftlcore.c 	struct mtd_info *mtd = nftl->mbd.mtd;
mtd_info          526 drivers/mtd/nftlcore.c 	struct mtd_info *mtd = nftl->mbd.mtd;
mtd_info          705 drivers/mtd/nftlcore.c 	struct mtd_info *mtd = nftl->mbd.mtd;
mtd_info           32 drivers/mtd/nftlmount.c 	struct mtd_info *mtd = nftl->mbd.mtd;
mtd_info          265 drivers/mtd/nftlmount.c 	struct mtd_info *mtd = nftl->mbd.mtd;
mtd_info          311 drivers/mtd/nftlmount.c 	struct mtd_info *mtd = nftl->mbd.mtd;
mtd_info          374 drivers/mtd/nftlmount.c 	struct mtd_info *mtd = nftl->mbd.mtd;
mtd_info          493 drivers/mtd/nftlmount.c 	struct mtd_info *mtd = nftl->mbd.mtd;
mtd_info          554 drivers/mtd/nftlmount.c 	struct mtd_info *mtd = nftl->mbd.mtd;
mtd_info          573 drivers/mtd/nftlmount.c 	struct mtd_info *mtd = s->mbd.mtd;
mtd_info           78 drivers/mtd/parsers/afs.c static bool afs_is_v1(struct mtd_info *mtd, u_int off)
mtd_info           98 drivers/mtd/parsers/afs.c static bool afs_is_v2(struct mtd_info *mtd, u_int off)
mtd_info          119 drivers/mtd/parsers/afs.c static int afs_parse_v1_partition(struct mtd_info *mtd,
mtd_info          216 drivers/mtd/parsers/afs.c static int afs_parse_v2_partition(struct mtd_info *mtd,
mtd_info          323 drivers/mtd/parsers/afs.c static int parse_afs_partitions(struct mtd_info *mtd,
mtd_info           31 drivers/mtd/parsers/ar7part.c static int create_mtd_partitions(struct mtd_info *master,
mtd_info           86 drivers/mtd/parsers/bcm47xxpart.c static int bcm47xxpart_parse(struct mtd_info *master,
mtd_info           35 drivers/mtd/parsers/bcm63xxpart.c static int bcm63xx_detect_cfe(struct mtd_info *master)
mtd_info           59 drivers/mtd/parsers/bcm63xxpart.c static int bcm63xx_read_nvram(struct mtd_info *master,
mtd_info           88 drivers/mtd/parsers/bcm63xxpart.c static int bcm63xx_parse_cfe_nor_partitions(struct mtd_info *master,
mtd_info          134 drivers/mtd/parsers/bcm63xxpart.c static int bcm63xx_parse_cfe_partitions(struct mtd_info *master,
mtd_info          296 drivers/mtd/parsers/cmdlinepart.c static int parse_cmdline_partitions(struct mtd_info *master,
mtd_info           24 drivers/mtd/parsers/ofpart.c static int parse_fixed_partitions(struct mtd_info *master,
mtd_info          151 drivers/mtd/parsers/ofpart.c static int parse_ofoldpart_partitions(struct mtd_info *master,
mtd_info           28 drivers/mtd/parsers/parser_imagetag.c static int bcm963xx_read_imagetag(struct mtd_info *master, const char *name,
mtd_info           59 drivers/mtd/parsers/parser_imagetag.c static int bcm963xx_parse_imagetag_partitions(struct mtd_info *master,
mtd_info           28 drivers/mtd/parsers/parser_trx.c static const char *parser_trx_data_part_name(struct mtd_info *master,
mtd_info           50 drivers/mtd/parsers/parser_trx.c static int parser_trx_parse(struct mtd_info *mtd,
mtd_info           45 drivers/mtd/parsers/redboot.c static void parse_redboot_of(struct mtd_info *master)
mtd_info           66 drivers/mtd/parsers/redboot.c static int parse_redboot_partitions(struct mtd_info *master,
mtd_info           70 drivers/mtd/parsers/sharpslpart.c static int sharpsl_nand_check_ooblayout(struct mtd_info *mtd)
mtd_info           98 drivers/mtd/parsers/sharpslpart.c static int sharpsl_nand_read_oob(struct mtd_info *mtd, loff_t offs, u8 *buf)
mtd_info          166 drivers/mtd/parsers/sharpslpart.c static int sharpsl_nand_init_ftl(struct mtd_info *mtd, struct sharpsl_ftl *ftl)
mtd_info          227 drivers/mtd/parsers/sharpslpart.c static int sharpsl_nand_read_laddr(struct mtd_info *mtd,
mtd_info          289 drivers/mtd/parsers/sharpslpart.c static int sharpsl_nand_read_partinfo(struct mtd_info *master,
mtd_info          325 drivers/mtd/parsers/sharpslpart.c static int sharpsl_parse_mtd_partitions(struct mtd_info *master,
mtd_info          722 drivers/mtd/rfd_ftl.c static void rfd_ftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
mtd_info          242 drivers/mtd/sm_ftl.c 	struct mtd_info *mtd = ftl->trans->mtd;
mtd_info          325 drivers/mtd/sm_ftl.c 	struct mtd_info *mtd = ftl->trans->mtd;
mtd_info          463 drivers/mtd/sm_ftl.c 	struct mtd_info *mtd = ftl->trans->mtd;
mtd_info          557 drivers/mtd/sm_ftl.c static int sm_get_media_info(struct sm_ftl *ftl, struct mtd_info *mtd)
mtd_info         1118 drivers/mtd/sm_ftl.c static void sm_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
mtd_info          766 drivers/mtd/spi-nor/aspeed-smc.c 		struct mtd_info *mtd;
mtd_info         1227 drivers/mtd/spi-nor/cadence-quadspi.c 	struct mtd_info *mtd;
mtd_info          330 drivers/mtd/spi-nor/hisi-sfc.c 	struct mtd_info *mtd;
mtd_info          535 drivers/mtd/spi-nor/spi-nor.c static struct spi_nor *mtd_to_spi_nor(struct mtd_info *mtd)
mtd_info         1239 drivers/mtd/spi-nor/spi-nor.c static int spi_nor_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info         1347 drivers/mtd/spi-nor/spi-nor.c 	struct mtd_info *mtd = &nor->mtd;
mtd_info         1435 drivers/mtd/spi-nor/spi-nor.c 	struct mtd_info *mtd = &nor->mtd;
mtd_info         1515 drivers/mtd/spi-nor/spi-nor.c 	struct mtd_info *mtd = &nor->mtd;
mtd_info         1615 drivers/mtd/spi-nor/spi-nor.c static int spi_nor_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         1630 drivers/mtd/spi-nor/spi-nor.c static int spi_nor_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         1645 drivers/mtd/spi-nor/spi-nor.c static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len)
mtd_info         2544 drivers/mtd/spi-nor/spi-nor.c static int spi_nor_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info         2583 drivers/mtd/spi-nor/spi-nor.c static int sst_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info         2667 drivers/mtd/spi-nor/spi-nor.c static int spi_nor_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info         4271 drivers/mtd/spi-nor/spi-nor.c 	struct mtd_info *mtd = &nor->mtd;
mtd_info         4716 drivers/mtd/spi-nor/spi-nor.c static void spi_nor_resume(struct mtd_info *mtd)
mtd_info         4779 drivers/mtd/spi-nor/spi-nor.c 	struct mtd_info *mtd = &nor->mtd;
mtd_info         4831 drivers/mtd/spi-nor/spi-nor.c 	struct mtd_info *mtd = &nor->mtd;
mtd_info          103 drivers/mtd/ssfdc.c static int get_valid_cis_sector(struct mtd_info *mtd)
mtd_info          149 drivers/mtd/ssfdc.c static int read_physical_sector(struct mtd_info *mtd, uint8_t *sect_buf,
mtd_info          164 drivers/mtd/ssfdc.c static int read_raw_oob(struct mtd_info *mtd, loff_t offs, uint8_t *buf)
mtd_info          245 drivers/mtd/ssfdc.c 	struct mtd_info *mtd = ssfdc->mbd.mtd;
mtd_info          284 drivers/mtd/ssfdc.c static void ssfdcr_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
mtd_info           10 drivers/mtd/tests/mtd_test.c int mtdtest_erase_eraseblock(struct mtd_info *mtd, unsigned int ebnum)
mtd_info           29 drivers/mtd/tests/mtd_test.c static int is_block_bad(struct mtd_info *mtd, unsigned int ebnum)
mtd_info           41 drivers/mtd/tests/mtd_test.c int mtdtest_scan_for_bad_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
mtd_info           61 drivers/mtd/tests/mtd_test.c int mtdtest_erase_good_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
mtd_info           79 drivers/mtd/tests/mtd_test.c int mtdtest_read(struct mtd_info *mtd, loff_t addr, size_t size, void *buf)
mtd_info           96 drivers/mtd/tests/mtd_test.c int mtdtest_write(struct mtd_info *mtd, loff_t addr, size_t size,
mtd_info           16 drivers/mtd/tests/mtd_test.h int mtdtest_erase_eraseblock(struct mtd_info *mtd, unsigned int ebnum);
mtd_info           17 drivers/mtd/tests/mtd_test.h int mtdtest_scan_for_bad_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
mtd_info           19 drivers/mtd/tests/mtd_test.h int mtdtest_erase_good_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
mtd_info           22 drivers/mtd/tests/mtd_test.h int mtdtest_read(struct mtd_info *mtd, loff_t addr, size_t size, void *buf);
mtd_info           23 drivers/mtd/tests/mtd_test.h int mtdtest_write(struct mtd_info *mtd, loff_t addr, size_t size,
mtd_info           67 drivers/mtd/tests/nandbiterrs.c static struct mtd_info *mtd;   /* MTD device */
mtd_info           31 drivers/mtd/tests/oobtest.c static struct mtd_info *mtd;
mtd_info           28 drivers/mtd/tests/pagetest.c static struct mtd_info *mtd;
mtd_info           26 drivers/mtd/tests/readtest.c static struct mtd_info *mtd;
mtd_info           33 drivers/mtd/tests/speedtest.c static struct mtd_info *mtd;
mtd_info           32 drivers/mtd/tests/stresstest.c static struct mtd_info *mtd;
mtd_info           26 drivers/mtd/tests/subpagetest.c static struct mtd_info *mtd;
mtd_info           57 drivers/mtd/tests/torturetest.c static struct mtd_info *mtd;
mtd_info          804 drivers/mtd/ubi/build.c int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num,
mtd_info         1107 drivers/mtd/ubi/build.c static struct mtd_info * __init open_mtd_by_chdev(const char *mtd_dev)
mtd_info         1149 drivers/mtd/ubi/build.c static struct mtd_info * __init open_mtd_device(const char *mtd_dev)
mtd_info         1151 drivers/mtd/ubi/build.c 	struct mtd_info *mtd;
mtd_info         1212 drivers/mtd/ubi/build.c 		struct mtd_info *mtd;
mtd_info         1017 drivers/mtd/ubi/cdev.c 		struct mtd_info *mtd;
mtd_info           44 drivers/mtd/ubi/gluebi.c 	struct mtd_info mtd;
mtd_info           84 drivers/mtd/ubi/gluebi.c static int gluebi_get_device(struct mtd_info *mtd)
mtd_info          130 drivers/mtd/ubi/gluebi.c static void gluebi_put_device(struct mtd_info *mtd)
mtd_info          153 drivers/mtd/ubi/gluebi.c static int gluebi_read(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          193 drivers/mtd/ubi/gluebi.c static int gluebi_write(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          234 drivers/mtd/ubi/gluebi.c static int gluebi_erase(struct mtd_info *mtd, struct erase_info *instr)
mtd_info          282 drivers/mtd/ubi/gluebi.c 	struct mtd_info *mtd;
mtd_info          351 drivers/mtd/ubi/gluebi.c 	struct mtd_info *mtd;
mtd_info          483 drivers/mtd/ubi/gluebi.c 		struct mtd_info *mtd = &gluebi->mtd;
mtd_info          567 drivers/mtd/ubi/io.c 	struct mtd_info *mtd = ubi->mtd;
mtd_info          597 drivers/mtd/ubi/io.c 	struct mtd_info *mtd = ubi->mtd;
mtd_info          647 drivers/mtd/ubi/ubi.h 	struct mtd_info *mtd;
mtd_info          939 drivers/mtd/ubi/ubi.h int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num,
mtd_info          859 drivers/net/ethernet/sfc/falcon/falcon.c static int falcon_mtd_read(struct mtd_info *mtd, loff_t start,
mtd_info          876 drivers/net/ethernet/sfc/falcon/falcon.c static int falcon_mtd_erase(struct mtd_info *mtd, loff_t start, size_t len)
mtd_info          891 drivers/net/ethernet/sfc/falcon/falcon.c static int falcon_mtd_write(struct mtd_info *mtd, loff_t start,
mtd_info          908 drivers/net/ethernet/sfc/falcon/falcon.c static int falcon_mtd_sync(struct mtd_info *mtd)
mtd_info           21 drivers/net/ethernet/sfc/falcon/mtd.c static int ef4_mtd_erase(struct mtd_info *mtd, struct erase_info *erase)
mtd_info           28 drivers/net/ethernet/sfc/falcon/mtd.c static void ef4_mtd_sync(struct mtd_info *mtd)
mtd_info          916 drivers/net/ethernet/sfc/falcon/net_driver.h 	struct mtd_info mtd;
mtd_info         1131 drivers/net/ethernet/sfc/falcon/net_driver.h 	int (*mtd_read)(struct mtd_info *mtd, loff_t start, size_t len,
mtd_info         1133 drivers/net/ethernet/sfc/falcon/net_driver.h 	int (*mtd_erase)(struct mtd_info *mtd, loff_t start, size_t len);
mtd_info         1134 drivers/net/ethernet/sfc/falcon/net_driver.h 	int (*mtd_write)(struct mtd_info *mtd, loff_t start, size_t len,
mtd_info         1136 drivers/net/ethernet/sfc/falcon/net_driver.h 	int (*mtd_sync)(struct mtd_info *mtd);
mtd_info         2201 drivers/net/ethernet/sfc/mcdi.c int efx_mcdi_mtd_read(struct mtd_info *mtd, loff_t start,
mtd_info         2225 drivers/net/ethernet/sfc/mcdi.c int efx_mcdi_mtd_erase(struct mtd_info *mtd, loff_t start, size_t len)
mtd_info         2255 drivers/net/ethernet/sfc/mcdi.c int efx_mcdi_mtd_write(struct mtd_info *mtd, loff_t start,
mtd_info         2286 drivers/net/ethernet/sfc/mcdi.c int efx_mcdi_mtd_sync(struct mtd_info *mtd)
mtd_info          374 drivers/net/ethernet/sfc/mcdi.h int efx_mcdi_mtd_read(struct mtd_info *mtd, loff_t start, size_t len,
mtd_info          376 drivers/net/ethernet/sfc/mcdi.h int efx_mcdi_mtd_erase(struct mtd_info *mtd, loff_t start, size_t len);
mtd_info          377 drivers/net/ethernet/sfc/mcdi.h int efx_mcdi_mtd_write(struct mtd_info *mtd, loff_t start, size_t len,
mtd_info          379 drivers/net/ethernet/sfc/mcdi.h int efx_mcdi_mtd_sync(struct mtd_info *mtd);
mtd_info           21 drivers/net/ethernet/sfc/mtd.c static int efx_mtd_erase(struct mtd_info *mtd, struct erase_info *erase)
mtd_info           28 drivers/net/ethernet/sfc/mtd.c static void efx_mtd_sync(struct mtd_info *mtd)
mtd_info         1107 drivers/net/ethernet/sfc/net_driver.h 	struct mtd_info mtd;
mtd_info         1376 drivers/net/ethernet/sfc/net_driver.h 	int (*mtd_read)(struct mtd_info *mtd, loff_t start, size_t len,
mtd_info         1378 drivers/net/ethernet/sfc/net_driver.h 	int (*mtd_erase)(struct mtd_info *mtd, loff_t start, size_t len);
mtd_info         1379 drivers/net/ethernet/sfc/net_driver.h 	int (*mtd_write)(struct mtd_info *mtd, loff_t start, size_t len,
mtd_info         1381 drivers/net/ethernet/sfc/net_driver.h 	int (*mtd_sync)(struct mtd_info *mtd);
mtd_info           17 drivers/net/wireless/mediatek/mt76/eeprom.c 	struct mtd_info *mtd;
mtd_info           49 fs/jffs2/jffs2_fs_sb.h 	struct mtd_info *mtd;
mtd_info           25 fs/romfs/mmap-nommu.c 	struct mtd_info *mtd = inode->i_sb->s_mtd;
mtd_info           71 fs/romfs/mmap-nommu.c 	struct mtd_info *mtd = file_inode(file)->i_sb->s_mtd;
mtd_info          590 include/linux/bcma/bcma_driver_chipcommon.h struct mtd_info;
mtd_info         1458 include/linux/fs.h 	struct mtd_info		*s_mtd;
mtd_info          132 include/linux/mtd/bbm.h 	int (*isbad_bbt)(struct mtd_info *mtd, loff_t ofs, int allowbbt);
mtd_info          141 include/linux/mtd/bbm.h extern int onenand_default_bbt(struct mtd_info *mtd);
mtd_info           14 include/linux/mtd/blktrans.h struct mtd_info;
mtd_info           22 include/linux/mtd/blktrans.h 	struct mtd_info *mtd;
mtd_info           66 include/linux/mtd/blktrans.h 	void (*add_mtd)(struct mtd_blktrans_ops *tr, struct mtd_info *mtd);
mtd_info          281 include/linux/mtd/cfi.h 	struct mtd_info *(*cmdset_setup)(struct map_info *);
mtd_info          352 include/linux/mtd/cfi.h 	void (*fixup)(struct mtd_info *mtd);
mtd_info          377 include/linux/mtd/cfi.h void cfi_fixup(struct mtd_info *mtd, struct cfi_fixup* fixups);
mtd_info          382 include/linux/mtd/cfi.h int cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob,
mtd_info           12 include/linux/mtd/concat.h struct mtd_info *mtd_concat_create(
mtd_info           13 include/linux/mtd/concat.h     struct mtd_info *subdev[],  /* subdevices to concatenate */
mtd_info           17 include/linux/mtd/concat.h void mtd_concat_destroy(struct mtd_info *mtd);
mtd_info          200 include/linux/mtd/doc2000.h 	struct mtd_info *nextdoc;
mtd_info           21 include/linux/mtd/gen_probe.h struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp);
mtd_info           28 include/linux/mtd/hyperbus.h 	struct mtd_info *mtd;
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          240 include/linux/mtd/map.h 	struct mtd_info *(*probe)(struct map_info *map);
mtd_info          241 include/linux/mtd/map.h 	void (*destroy)(struct mtd_info *);
mtd_info          250 include/linux/mtd/map.h struct mtd_info *do_map_probe(const char *name, struct map_info *map);
mtd_info          251 include/linux/mtd/map.h void map_destroy(struct mtd_info *mtd);
mtd_info           22 include/linux/mtd/mtd.h struct mtd_info;
mtd_info          101 include/linux/mtd/mtd.h 	int (*ecc)(struct mtd_info *mtd, int section,
mtd_info          103 include/linux/mtd/mtd.h 	int (*free)(struct mtd_info *mtd, int section,
mtd_info          177 include/linux/mtd/mtd.h 	int (*get_info)(struct mtd_info *mtd, int wunit,
mtd_info          179 include/linux/mtd/mtd.h 	int (*get_wunit)(struct mtd_info *mtd,
mtd_info          276 include/linux/mtd/mtd.h 	int (*_erase) (struct mtd_info *mtd, struct erase_info *instr);
mtd_info          277 include/linux/mtd/mtd.h 	int (*_point) (struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          279 include/linux/mtd/mtd.h 	int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len);
mtd_info          280 include/linux/mtd/mtd.h 	int (*_read) (struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          282 include/linux/mtd/mtd.h 	int (*_write) (struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          284 include/linux/mtd/mtd.h 	int (*_panic_write) (struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          286 include/linux/mtd/mtd.h 	int (*_read_oob) (struct mtd_info *mtd, loff_t from,
mtd_info          288 include/linux/mtd/mtd.h 	int (*_write_oob) (struct mtd_info *mtd, loff_t to,
mtd_info          290 include/linux/mtd/mtd.h 	int (*_get_fact_prot_info) (struct mtd_info *mtd, size_t len,
mtd_info          292 include/linux/mtd/mtd.h 	int (*_read_fact_prot_reg) (struct mtd_info *mtd, loff_t from,
mtd_info          294 include/linux/mtd/mtd.h 	int (*_get_user_prot_info) (struct mtd_info *mtd, size_t len,
mtd_info          296 include/linux/mtd/mtd.h 	int (*_read_user_prot_reg) (struct mtd_info *mtd, loff_t from,
mtd_info          298 include/linux/mtd/mtd.h 	int (*_write_user_prot_reg) (struct mtd_info *mtd, loff_t to,
mtd_info          300 include/linux/mtd/mtd.h 	int (*_lock_user_prot_reg) (struct mtd_info *mtd, loff_t from,
mtd_info          302 include/linux/mtd/mtd.h 	int (*_writev) (struct mtd_info *mtd, const struct kvec *vecs,
mtd_info          304 include/linux/mtd/mtd.h 	void (*_sync) (struct mtd_info *mtd);
mtd_info          305 include/linux/mtd/mtd.h 	int (*_lock) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          306 include/linux/mtd/mtd.h 	int (*_unlock) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          307 include/linux/mtd/mtd.h 	int (*_is_locked) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          308 include/linux/mtd/mtd.h 	int (*_block_isreserved) (struct mtd_info *mtd, loff_t ofs);
mtd_info          309 include/linux/mtd/mtd.h 	int (*_block_isbad) (struct mtd_info *mtd, loff_t ofs);
mtd_info          310 include/linux/mtd/mtd.h 	int (*_block_markbad) (struct mtd_info *mtd, loff_t ofs);
mtd_info          311 include/linux/mtd/mtd.h 	int (*_max_bad_blocks) (struct mtd_info *mtd, loff_t ofs, size_t len);
mtd_info          312 include/linux/mtd/mtd.h 	int (*_suspend) (struct mtd_info *mtd);
mtd_info          313 include/linux/mtd/mtd.h 	void (*_resume) (struct mtd_info *mtd);
mtd_info          314 include/linux/mtd/mtd.h 	void (*_reboot) (struct mtd_info *mtd);
mtd_info          319 include/linux/mtd/mtd.h 	int (*_get_device) (struct mtd_info *mtd);
mtd_info          320 include/linux/mtd/mtd.h 	void (*_put_device) (struct mtd_info *mtd);
mtd_info          344 include/linux/mtd/mtd.h int mtd_ooblayout_ecc(struct mtd_info *mtd, int section,
mtd_info          346 include/linux/mtd/mtd.h int mtd_ooblayout_find_eccregion(struct mtd_info *mtd, int eccbyte,
mtd_info          349 include/linux/mtd/mtd.h int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf,
mtd_info          351 include/linux/mtd/mtd.h int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf,
mtd_info          353 include/linux/mtd/mtd.h int mtd_ooblayout_free(struct mtd_info *mtd, int section,
mtd_info          355 include/linux/mtd/mtd.h int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf,
mtd_info          357 include/linux/mtd/mtd.h int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf,
mtd_info          359 include/linux/mtd/mtd.h int mtd_ooblayout_count_freebytes(struct mtd_info *mtd);
mtd_info          360 include/linux/mtd/mtd.h int mtd_ooblayout_count_eccbytes(struct mtd_info *mtd);
mtd_info          362 include/linux/mtd/mtd.h static inline void mtd_set_ooblayout(struct mtd_info *mtd,
mtd_info          368 include/linux/mtd/mtd.h static inline void mtd_set_pairing_scheme(struct mtd_info *mtd,
mtd_info          374 include/linux/mtd/mtd.h static inline void mtd_set_of_node(struct mtd_info *mtd,
mtd_info          382 include/linux/mtd/mtd.h static inline struct device_node *mtd_get_of_node(struct mtd_info *mtd)
mtd_info          387 include/linux/mtd/mtd.h static inline u32 mtd_oobavail(struct mtd_info *mtd, struct mtd_oob_ops *ops)
mtd_info          392 include/linux/mtd/mtd.h static inline int mtd_max_bad_blocks(struct mtd_info *mtd,
mtd_info          404 include/linux/mtd/mtd.h int mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit,
mtd_info          406 include/linux/mtd/mtd.h int mtd_pairing_info_to_wunit(struct mtd_info *mtd,
mtd_info          408 include/linux/mtd/mtd.h int mtd_pairing_groups(struct mtd_info *mtd);
mtd_info          409 include/linux/mtd/mtd.h int mtd_erase(struct mtd_info *mtd, struct erase_info *instr);
mtd_info          410 include/linux/mtd/mtd.h int mtd_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen,
mtd_info          412 include/linux/mtd/mtd.h int mtd_unpoint(struct mtd_info *mtd, loff_t from, size_t len);
mtd_info          413 include/linux/mtd/mtd.h unsigned long mtd_get_unmapped_area(struct mtd_info *mtd, unsigned long len,
mtd_info          415 include/linux/mtd/mtd.h int mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen,
mtd_info          417 include/linux/mtd/mtd.h int mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
mtd_info          419 include/linux/mtd/mtd.h int mtd_panic_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
mtd_info          422 include/linux/mtd/mtd.h int mtd_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops);
mtd_info          423 include/linux/mtd/mtd.h int mtd_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops);
mtd_info          425 include/linux/mtd/mtd.h int mtd_get_fact_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen,
mtd_info          427 include/linux/mtd/mtd.h int mtd_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          429 include/linux/mtd/mtd.h int mtd_get_user_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen,
mtd_info          431 include/linux/mtd/mtd.h int mtd_read_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len,
mtd_info          433 include/linux/mtd/mtd.h int mtd_write_user_prot_reg(struct mtd_info *mtd, loff_t to, size_t len,
mtd_info          435 include/linux/mtd/mtd.h int mtd_lock_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len);
mtd_info          437 include/linux/mtd/mtd.h int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
mtd_info          440 include/linux/mtd/mtd.h static inline void mtd_sync(struct mtd_info *mtd)
mtd_info          446 include/linux/mtd/mtd.h int mtd_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          447 include/linux/mtd/mtd.h int mtd_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          448 include/linux/mtd/mtd.h int mtd_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len);
mtd_info          449 include/linux/mtd/mtd.h int mtd_block_isreserved(struct mtd_info *mtd, loff_t ofs);
mtd_info          450 include/linux/mtd/mtd.h int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs);
mtd_info          451 include/linux/mtd/mtd.h int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs);
mtd_info          453 include/linux/mtd/mtd.h static inline int mtd_suspend(struct mtd_info *mtd)
mtd_info          458 include/linux/mtd/mtd.h static inline void mtd_resume(struct mtd_info *mtd)
mtd_info          464 include/linux/mtd/mtd.h static inline uint32_t mtd_div_by_eb(uint64_t sz, struct mtd_info *mtd)
mtd_info          472 include/linux/mtd/mtd.h static inline uint32_t mtd_mod_by_eb(uint64_t sz, struct mtd_info *mtd)
mtd_info          488 include/linux/mtd/mtd.h static inline void mtd_align_erase_req(struct mtd_info *mtd,
mtd_info          507 include/linux/mtd/mtd.h static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd)
mtd_info          515 include/linux/mtd/mtd.h static inline uint32_t mtd_mod_by_ws(uint64_t sz, struct mtd_info *mtd)
mtd_info          522 include/linux/mtd/mtd.h static inline int mtd_wunit_per_eb(struct mtd_info *mtd)
mtd_info          527 include/linux/mtd/mtd.h static inline int mtd_offset_to_wunit(struct mtd_info *mtd, loff_t offs)
mtd_info          532 include/linux/mtd/mtd.h static inline loff_t mtd_wunit_to_offset(struct mtd_info *mtd, loff_t base,
mtd_info          539 include/linux/mtd/mtd.h static inline int mtd_has_oob(const struct mtd_info *mtd)
mtd_info          544 include/linux/mtd/mtd.h static inline int mtd_type_is_nand(const struct mtd_info *mtd)
mtd_info          549 include/linux/mtd/mtd.h static inline int mtd_can_have_bb(const struct mtd_info *mtd)
mtd_info          559 include/linux/mtd/mtd.h extern int mtd_device_parse_register(struct mtd_info *mtd,
mtd_info          566 include/linux/mtd/mtd.h extern int mtd_device_unregister(struct mtd_info *master);
mtd_info          567 include/linux/mtd/mtd.h extern struct mtd_info *get_mtd_device(struct mtd_info *mtd, int num);
mtd_info          568 include/linux/mtd/mtd.h extern int __get_mtd_device(struct mtd_info *mtd);
mtd_info          569 include/linux/mtd/mtd.h extern void __put_mtd_device(struct mtd_info *mtd);
mtd_info          570 include/linux/mtd/mtd.h extern struct mtd_info *get_mtd_device_nm(const char *name);
mtd_info          571 include/linux/mtd/mtd.h extern void put_mtd_device(struct mtd_info *mtd);
mtd_info          575 include/linux/mtd/mtd.h 	void (*add)(struct mtd_info *mtd);
mtd_info          576 include/linux/mtd/mtd.h 	void (*remove)(struct mtd_info *mtd);
mtd_info          583 include/linux/mtd/mtd.h void *mtd_kmalloc_up_to(const struct mtd_info *mtd, size_t *size);
mtd_info          597 include/linux/mtd/mtd.h unsigned mtd_mmap_capabilities(struct mtd_info *mtd);
mtd_info            6 include/linux/mtd/mtdram.h int mtdram_init_device(struct mtd_info *mtd, void *mapped_address,
mtd_info          180 include/linux/mtd/nand.h 	struct mtd_info mtd;
mtd_info          212 include/linux/mtd/nand.h static inline struct nand_device *mtd_to_nanddev(struct mtd_info *mtd)
mtd_info          223 include/linux/mtd/nand.h static inline struct mtd_info *nanddev_to_mtd(struct nand_device *nand)
mtd_info          630 include/linux/mtd/nand.h 	struct mtd_info *mtd = nanddev_to_mtd(nand);
mtd_info          760 include/linux/mtd/nand.h int nanddev_mtd_erase(struct mtd_info *mtd, struct erase_info *einfo);
mtd_info          761 include/linux/mtd/nand.h int nanddev_mtd_max_bad_blocks(struct mtd_info *mtd, loff_t offs, size_t len);
mtd_info           11 include/linux/mtd/nand_bch.h struct mtd_info;
mtd_info           33 include/linux/mtd/nand_bch.h struct nand_bch_control *nand_bch_init(struct mtd_info *mtd);
mtd_info           57 include/linux/mtd/nand_bch.h static inline struct nand_bch_control *nand_bch_init(struct mtd_info *mtd)
mtd_info           44 include/linux/mtd/nftl.h int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
mtd_info           46 include/linux/mtd/nftl.h int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
mtd_info           22 include/linux/mtd/onenand.h extern int onenand_scan(struct mtd_info *mtd, int max_chips);
mtd_info           24 include/linux/mtd/onenand.h extern void onenand_release(struct mtd_info *mtd);
mtd_info          104 include/linux/mtd/onenand.h 	int (*command)(struct mtd_info *mtd, int cmd, loff_t address, size_t len);
mtd_info          105 include/linux/mtd/onenand.h 	int (*wait)(struct mtd_info *mtd, int state);
mtd_info          106 include/linux/mtd/onenand.h 	int (*bbt_wait)(struct mtd_info *mtd, int state);
mtd_info          107 include/linux/mtd/onenand.h 	void (*unlock_all)(struct mtd_info *mtd);
mtd_info          108 include/linux/mtd/onenand.h 	int (*read_bufferram)(struct mtd_info *mtd, int area,
mtd_info          110 include/linux/mtd/onenand.h 	int (*write_bufferram)(struct mtd_info *mtd, int area,
mtd_info          114 include/linux/mtd/onenand.h 	void (*mmcontrol)(struct mtd_info *mtd, int sync_read);
mtd_info          115 include/linux/mtd/onenand.h 	int (*chip_probe)(struct mtd_info *mtd);
mtd_info          116 include/linux/mtd/onenand.h 	int (*block_markbad)(struct mtd_info *mtd, loff_t ofs);
mtd_info          117 include/linux/mtd/onenand.h 	int (*scan_bbt)(struct mtd_info *mtd);
mtd_info          118 include/linux/mtd/onenand.h 	int (*enable)(struct mtd_info *mtd);
mtd_info          119 include/linux/mtd/onenand.h 	int (*disable)(struct mtd_info *mtd);
mtd_info          224 include/linux/mtd/onenand.h int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from,
mtd_info          228 include/linux/mtd/onenand.h int flexonenand_region(struct mtd_info *mtd, loff_t addr);
mtd_info          233 include/linux/mtd/onenand.h 	void		(*mmcontrol)(struct mtd_info *mtd, int sync_read);
mtd_info          234 include/linux/mtd/onenand.h 	int		(*read_bufferram)(struct mtd_info *mtd, int area,
mtd_info           60 include/linux/mtd/partitions.h struct mtd_info;
mtd_info           81 include/linux/mtd/partitions.h 	int (*parse_fn)(struct mtd_info *, const struct mtd_partition **,
mtd_info          108 include/linux/mtd/partitions.h int mtd_is_partition(const struct mtd_info *mtd);
mtd_info          109 include/linux/mtd/partitions.h int mtd_add_partition(struct mtd_info *master, const char *name,
mtd_info          111 include/linux/mtd/partitions.h int mtd_del_partition(struct mtd_info *master, int partno);
mtd_info          112 include/linux/mtd/partitions.h uint64_t mtd_get_device_size(const struct mtd_info *mtd);
mtd_info           89 include/linux/mtd/qinfo.h struct mtd_info *lpddr_cmdset(struct map_info *);
mtd_info         1144 include/linux/mtd/rawnand.h static inline struct nand_chip *mtd_to_nand(struct mtd_info *mtd)
mtd_info         1149 include/linux/mtd/rawnand.h static inline struct mtd_info *nand_to_mtd(struct nand_chip *chip)
mtd_info          175 include/linux/mtd/sh_flctl.h static inline struct sh_flctl *mtd_to_flctl(struct mtd_info *mtdinfo)
mtd_info          572 include/linux/mtd/spi-nor.h 	struct mtd_info		mtd;
mtd_info          402 include/linux/mtd/spinand.h static inline struct spinand_device *mtd_to_spinand(struct mtd_info *mtd)
mtd_info          413 include/linux/mtd/spinand.h static inline struct mtd_info *spinand_to_mtd(struct spinand_device *spinand)
mtd_info           21 include/linux/platform_data/jz4740/jz4740_nand.h 	void (*ident_callback)(struct platform_device *, struct mtd_info *,