/linux-master/drivers/mtd/nand/raw/ |
H A D | intel-nand-controller.c | 236 static int ebu_nand_ooblayout_ecc(struct mtd_info *mtd, int section, argument 250 static int ebu_nand_ooblayout_free(struct mtd_info *mtd, int section, argument 388 struct mtd_info *mtd local 411 struct mtd_info *mtd = nand_to_mtd(chip); local 447 struct mtd_info *mtd = nand_to_mtd(chip); local 582 struct mtd_info *mtd; local [all...] |
H A D | rockchip-nand-controller.c | 511 struct mtd_info *mtd = nand_to_mtd(chip); local 591 struct mtd_info *mtd = nand_to_mtd(chip); local 705 struct mtd_info *mtd = nand_to_mtd(chip); local 757 struct mtd_info *mtd = nand_to_mtd(chip); local 935 rk_nfc_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oob_region) argument 950 rk_nfc_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oob_region) argument 970 rk_nfc_ecc_init(struct device *dev, struct mtd_info *mtd) argument 1015 struct mtd_info *mtd = nand_to_mtd(chip); local 1108 struct mtd_info *mtd; local [all...] |
H A D | s3c2410.c | 73 static int s3c2410_ooblayout_ecc(struct mtd_info *mtd, int section, argument 85 static int s3c2410_ooblayout_free(struct mtd_info *mtd, int section, argument 186 static struct s3c2410_nand_mtd *s3c2410_nand_mtd_toours(struct mtd_info *mtd) argument 192 s3c2410_nand_mtd_toinfo(struct mtd_info *mtd) argument 443 struct mtd_info *mtd = nand_to_mtd(chip); local 460 struct mtd_info *mtd = nand_to_mtd(chip); local 479 struct mtd_info *mtd = nand_to_mtd(chip); local 486 struct mtd_info *mtd = nand_to_mtd(chip); local 493 struct mtd_info *mtd = nand_to_mtd(chip); local 503 struct mtd_info *mtd = nand_to_mtd(chip); local 615 struct mtd_info *mtd = nand_to_mtd(chip); local 630 struct mtd_info *mtd = nand_to_mtd(chip); local 646 struct mtd_info *mtd = nand_to_mtd(chip); local 670 struct mtd_info *mtd = nand_to_mtd(this); local 693 struct mtd_info *mtd = nand_to_mtd(this); local 737 s3c2410_nand_add_partition(struct s3c2410_nand_info *info, struct s3c2410_nand_mtd *mtd, struct s3c2410_nand_set *set) argument 756 struct mtd_info *mtd = nand_to_mtd(chip); local 871 struct mtd_info *mtd = nand_to_mtd(chip); local 1108 struct mtd_info *mtd = nand_to_mtd(&nmtd->chip); local [all...] |
H A D | pl35x-nand-controller.c | 157 static int pl35x_ecc_ooblayout16_ecc(struct mtd_info *mtd, int section, argument 171 static int pl35x_ecc_ooblayout16_free(struct mtd_info *mtd, int section, argument 470 struct mtd_info *mtd = nand_to_mtd(chip); local 508 struct mtd_info *mtd = nand_to_mtd(chip); local 599 struct mtd_info *mtd = nand_to_mtd(chip); local 899 struct mtd_info *mtd = nand_to_mtd(chip); local 945 struct mtd_info *mtd = nand_to_mtd(chip); local 1043 struct mtd_info *mtd; local [all...] |
H A D | mtk_nand.c | 318 static int mtk_nfc_hw_runtime_config(struct mtd_info *mtd) argument 658 static void mtk_nfc_bad_mark_swap(struct mtd_info *mtd, u argument 672 mtk_nfc_format_subpage(struct mtd_info *mtd, u32 offset, u32 len, const u8 *buf) argument 707 mtk_nfc_format_page(struct mtd_info *mtd, const u8 *buf) argument 774 mtk_nfc_do_write_page(struct mtd_info *mtd, struct nand_chip *chip, const u8 *buf, int page, int len) argument 825 mtk_nfc_write_page(struct mtd_info *mtd, struct nand_chip *chip, const u8 *buf, int page, int raw) argument 886 struct mtd_info *mtd = nand_to_mtd(chip); local 897 struct mtd_info *mtd = nand_to_mtd(chip); local 914 mtk_nfc_update_ecc_stats(struct mtd_info *mtd, u8 *buf, u32 start, u32 sectors) argument 939 mtk_nfc_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, u32 data_offs, u32 readlen, u8 *bufpoi, int page, int raw) argument 1048 struct mtd_info *mtd = nand_to_mtd(chip); local 1056 struct mtd_info *mtd = nand_to_mtd(chip); local 1121 mtk_nfc_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oob_region) argument 1140 mtk_nfc_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oob_region) argument 1162 mtk_nfc_set_fdm(struct mtk_nfc_fdm *fdm, struct mtd_info *mtd) argument 1180 mtk_nfc_set_bad_mark_ctl(struct mtk_nfc_bad_mark_ctl *bm_ctl, struct mtd_info *mtd) argument 1194 mtk_nfc_set_spare_per_sector(u32 *sps, struct mtd_info *mtd) argument 1226 mtk_nfc_ecc_init(struct device *dev, struct mtd_info *mtd) argument 1298 struct mtd_info *mtd = nand_to_mtd(chip); local 1344 struct mtd_info *mtd; local [all...] |
H A D | nandsim.c | 640 static int __init ns_init(struct mtd_info *mtd) argument 802 ns_parse_badblocks(struct nandsim *ns, struct mtd_info *mtd) argument 983 ns_setup_wear_reporting(struct mtd_info *mtd) argument [all...] |
H A D | mxc_nand.c | 247 static void copy_spare(struct mtd_info *mtd, bool bfrom, void *buf) argument 290 static void mxc_do_addr_cycle(struct mtd_info *mtd, int column, int page_addr) argument 552 send_page_v3(struct mtd_info *mtd, unsigned int ops) argument 568 send_page_v2(struct mtd_info *mtd, unsigned int ops) argument 582 send_page_v1(struct mtd_info *mtd, unsigned int ops) argument 713 struct mtd_info *mtd = nand_to_mtd(chip); local 771 struct mtd_info *mtd = nand_to_mtd(chip); local 855 struct mtd_info *mtd = nand_to_mtd(chip); local 887 struct mtd_info *mtd = nand_to_mtd(chip); local 924 struct mtd_info *mtd = nand_to_mtd(nand_chip); local 943 struct mtd_info *mtd = nand_to_mtd(nand_chip); local 1002 mxc_v1_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1016 mxc_v1_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1049 mxc_v2_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1064 mxc_v2_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1099 get_eccsize(struct mtd_info *mtd) argument 1111 preset_v1(struct mtd_info *mtd) argument 1214 preset_v2(struct mtd_info *mtd) argument 1263 preset_v3(struct mtd_info *mtd) argument 1336 struct mtd_info *mtd = nand_to_mtd(nand_chip); local 1396 struct mtd_info *mtd = nand_to_mtd(chip); local 1416 struct mtd_info *mtd = nand_to_mtd(chip); local 1613 struct mtd_info *mtd = nand_to_mtd(chip); local 1696 struct mtd_info *mtd; local [all...] |
H A D | sunxi_nand.c | 417 struct mtd_info *mtd = nand_to_mtd(nand); local 605 struct mtd_info *mtd = nand_to_mtd(nand); local 749 struct mtd_info *mtd = nand_to_mtd(nand); local 880 struct mtd_info *mtd = nand_to_mtd(nand); local 908 struct mtd_info *mtd = nand_to_mtd(nand); local 1073 struct mtd_info *mtd = nand_to_mtd(nand); local 1094 struct mtd_info *mtd = nand_to_mtd(nand); local 1153 struct mtd_info *mtd = nand_to_mtd(nand); local 1209 struct mtd_info *mtd = nand_to_mtd(nand); local 1246 struct mtd_info *mtd = nand_to_mtd(nand); local 1355 struct mtd_info *mtd = nand_to_mtd(nand); local 1559 sunxi_nand_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1574 sunxi_nand_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1624 struct mtd_info *mtd = nand_to_mtd(nand); local 1942 struct mtd_info *mtd; local [all...] |
H A D | omap2.c | 185 static inline struct omap_nand_info *mtd_to_omap(struct mtd_info *mtd) argument 447 struct mtd_info *mtd = nand_to_mtd(chip); local 468 struct mtd_info *mtd = nand_to_mtd(chip); local 535 struct mtd_info *mtd = nand_to_mtd(&info->nand); local 577 struct mtd_info *mtd = nand_to_mtd(&info->nand); local 1001 _omap_calculate_ecc_bch(struct mtd_info *mtd, const u_char *dat, u_char *ecc_calc, int i) argument 1143 omap_calculate_ecc_bch_multi(struct mtd_info *mtd, const u_char *dat, u_char *ecc_calc) argument 1387 struct mtd_info *mtd = nand_to_mtd(chip); local 1441 struct mtd_info *mtd = nand_to_mtd(chip); local 1522 struct mtd_info *mtd = nand_to_mtd(chip); local 1724 omap_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1744 omap_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1773 omap_sw_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1794 omap_sw_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1826 struct mtd_info *mtd = nand_to_mtd(chip); local 2184 struct mtd_info *mtd; local 2277 struct mtd_info *mtd = platform_get_drvdata(pdev); local [all...] |
H A D | renesas-nand-controller.c | 403 struct mtd_info *mtd = nand_to_mtd(chip); local 491 struct mtd_info *mtd = nand_to_mtd(chip); local 583 struct mtd_info *mtd = nand_to_mtd(chip); local 636 struct mtd_info *mtd = nand_to_mtd(chip); local 972 rnandc_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 987 rnandc_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1010 struct mtd_info *mtd = nand_to_mtd(chip); local 1115 struct mtd_info *mtd = nand_to_mtd(chip); local 1174 struct mtd_info *mtd; local 1201 struct mtd_info *mtd; local [all...] |
H A D | meson_nand.c | 304 struct mtd_info *mtd = nand_to_mtd(nand); local 537 struct mtd_info *mtd = nand_to_mtd(nand); local 671 struct mtd_info *mtd = nand_to_mtd(nand); local 724 struct mtd_info *mtd = nand_to_mtd(nand); local 777 struct mtd_info *mtd = nand_to_mtd(nand); local 811 struct mtd_info *mtd = nand_to_mtd(nand); local 867 struct mtd_info *mtd = nand_to_mtd(nand); local 1084 meson_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1098 meson_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1212 struct mtd_info *mtd = nand_to_mtd(nand); local 1305 struct mtd_info *mtd = nand_to_mtd(nand); local 1378 struct mtd_info *mtd; local 1449 struct mtd_info *mtd; local [all...] |
H A D | stm32_fmc2_nand.c | 697 struct mtd_info *mtd = nand_to_mtd(chip); local 761 struct mtd_info *mtd = nand_to_mtd(chip); local 986 struct mtd_info *mtd local 1047 struct mtd_info *mtd = nand_to_mtd(chip); local 1106 struct mtd_info *mtd = nand_to_mtd(chip); local 1155 struct mtd_info *mtd = nand_to_mtd(chip); local 1676 stm32_fmc2_nfc_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1691 stm32_fmc2_nfc_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1732 struct mtd_info *mtd = nand_to_mtd(chip); local 1913 struct mtd_info *mtd; local [all...] |
H A D | marvell_nand.c | 729 struct mtd_info *mtd = nand_to_mtd(chip); local 958 struct mtd_info *mtd = nand_to_mtd(chip); local 995 struct mtd_info *mtd local 1245 struct mtd_info *mtd = nand_to_mtd(chip); local 1259 struct mtd_info *mtd = nand_to_mtd(chip); local 1374 struct mtd_info *mtd = nand_to_mtd(chip); local 1632 struct mtd_info *mtd = nand_to_mtd(chip); local 1690 struct mtd_info *mtd = nand_to_mtd(chip); local 1700 struct mtd_info *mtd = nand_to_mtd(chip); local 2199 marvell_nand_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 2215 marvell_nand_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 2244 marvell_nand_hw_ecc_controller_init(struct mtd_info *mtd, struct nand_ecc_ctrl *ecc) argument 2318 marvell_nand_ecc_init(struct mtd_info *mtd, struct nand_ecc_ctrl *ecc) argument 2495 struct mtd_info *mtd = nand_to_mtd(chip); local 2605 struct mtd_info *mtd; local [all...] |
H A D | nand_base.c | 49 static int nand_pairing_dist3_get_info(struct mtd_info *mtd, int page, argument 69 nand_pairing_dist3_get_wunit(struct mtd_info *mtd, const struct mtd_pairing_info *info) argument 227 struct mtd_info *mtd = nand_to_mtd(chip); local 314 struct mtd_info *mtd = nand_to_mtd(chip); local 391 struct mtd_info *mtd = nand_to_mtd(chip); local 430 struct mtd_info *mtd = nand_to_mtd(chip); local 504 struct mtd_info *mtd = nand_to_mtd(chip); local 570 struct mtd_info *mtd = nand_to_mtd(chip); local 609 nand_block_isreserved(struct mtd_info *mtd, loff_t ofs) argument 1095 struct mtd_info *mtd = nand_to_mtd(chip); local 1140 struct mtd_info *mtd = nand_to_mtd(chip); local 1341 struct mtd_info *mtd = nand_to_mtd(chip); local 1438 struct mtd_info *mtd = nand_to_mtd(chip); local 1501 struct mtd_info *mtd = nand_to_mtd(chip); local 1528 struct mtd_info *mtd = nand_to_mtd(chip); local 1606 struct mtd_info *mtd = nand_to_mtd(chip); local 1692 struct mtd_info *mtd = nand_to_mtd(chip); local 1748 struct mtd_info *mtd = nand_to_mtd(chip); local 2937 struct mtd_info *mtd = nand_to_mtd(chip); local 2973 struct mtd_info *mtd = nand_to_mtd(chip); local 3008 struct mtd_info *mtd = nand_to_mtd(chip); local 3070 struct mtd_info *mtd = nand_to_mtd(chip); local 3117 struct mtd_info *mtd = nand_to_mtd(chip); local 3229 struct mtd_info *mtd = nand_to_mtd(chip); local 3302 struct mtd_info *mtd = nand_to_mtd(chip); local 3368 struct mtd_info *mtd = nand_to_mtd(chip); local 3457 struct mtd_info *mtd = nand_to_mtd(chip); local 3482 struct mtd_info *mtd = nand_to_mtd(chip); local 3569 struct mtd_info *mtd = nand_to_mtd(chip); local 3754 struct mtd_info *mtd = nand_to_mtd(chip); local 3768 struct mtd_info *mtd = nand_to_mtd(chip); local 3821 struct mtd_info *mtd = nand_to_mtd(chip); local 3836 struct mtd_info *mtd = nand_to_mtd(chip); local 3912 struct mtd_info *mtd = nand_to_mtd(chip); local 3991 nand_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) argument 4052 struct mtd_info *mtd = nand_to_mtd(chip); local 4089 struct mtd_info *mtd = nand_to_mtd(chip); local 4119 struct mtd_info *mtd = nand_to_mtd(chip); local 4180 struct mtd_info *mtd = nand_to_mtd(chip); local 4209 struct mtd_info *mtd = nand_to_mtd(chip); local 4256 struct mtd_info *mtd = nand_to_mtd(chip); local 4326 struct mtd_info *mtd = nand_to_mtd(chip); local 4397 struct mtd_info *mtd = nand_to_mtd(chip); local 4434 struct mtd_info *mtd = nand_to_mtd(chip); local 4567 panic_nand_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const uint8_t *buf) argument 4597 nand_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument 4634 nand_erase(struct mtd_info *mtd, struct erase_info *instr) argument 4746 nand_sync(struct mtd_info *mtd) argument 4763 nand_block_isbad(struct mtd_info *mtd, loff_t offs) argument 4787 nand_block_markbad(struct mtd_info *mtd, loff_t ofs) argument 4808 nand_suspend(struct mtd_info *mtd) argument 4827 nand_resume(struct mtd_info *mtd) argument 4850 nand_shutdown(struct mtd_info *mtd) argument 4861 nand_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument 4877 nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument 4997 struct mtd_info *mtd = nand_to_mtd(chip); local 5034 struct mtd_info *mtd = nand_to_mtd(chip); local 5057 struct mtd_info *mtd = nand_to_mtd(chip); local 5076 struct mtd_info *mtd = nand_to_mtd(chip); local 5190 struct mtd_info *mtd = nand_to_mtd(chip); local 5237 struct mtd_info *mtd = nand_to_mtd(chip); local 5671 struct mtd_info *mtd = nand_to_mtd(chip); local 5926 struct mtd_info *mtd = nand_to_mtd(chip); local 6015 struct mtd_info *mtd = nand_to_mtd(chip); local 6071 struct mtd_info *mtd = nand_to_mtd(chip); local 6152 struct mtd_info *mtd = nand_to_mtd(chip); local 6230 struct mtd_info *mtd = nand_to_mtd(chip); local 6303 struct mtd_info *mtd = nand_to_mtd(chip); local [all...] |
/linux-master/drivers/mtd/chips/ |
H A D | cfi_cmdset_0002.c | 224 fixup_amd_bootblock(struct mtd_info *mtd) argument 274 fixup_use_write_buffers(struct mtd_info *mtd) argument 290 fixup_convert_atmel_pri(struct mtd_info *mtd) argument 321 fixup_use_secsi(struct mtd_info *mtd) argument 328 fixup_use_erase_chip(struct mtd_info *mtd) argument 343 fixup_use_atmel_lock(struct mtd_info *mtd) argument 350 fixup_old_sst_eraseregion(struct mtd_info *mtd) argument 364 fixup_sst39vf(struct mtd_info *mtd) argument 375 fixup_sst39vf_rev_b(struct mtd_info *mtd) argument 388 fixup_sst38vf640x_sectorsize(struct mtd_info *mtd) argument 404 fixup_s29gl064n_sectors(struct mtd_info *mtd) argument 416 fixup_s29gl032n_sectors(struct mtd_info *mtd) argument 428 fixup_s29ns512p_sectors(struct mtd_info *mtd) argument 442 fixup_quirks(struct mtd_info *mtd) argument 604 struct mtd_info *mtd; local 765 cfi_amdstd_setup(struct mtd_info *mtd) argument 1235 cfi_amdstd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument 1343 cfi_amdstd_secsi_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument 1480 cfi_amdstd_otp_walk(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf, otp_op_t action, int user_regs) argument 1598 cfi_amdstd_get_fact_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen, struct otp_info *buf) argument 1605 cfi_amdstd_get_user_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen, struct otp_info *buf) argument 1612 cfi_amdstd_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument 1620 cfi_amdstd_read_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument 1628 cfi_amdstd_write_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, const u_char *buf) argument 1636 cfi_amdstd_lock_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len) argument 1815 cfi_amdstd_write_words(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument 2095 cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument 2307 cfi_amdstd_panic_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument 2611 cfi_amdstd_erase_varsize(struct mtd_info *mtd, struct erase_info *instr) argument 2618 cfi_amdstd_erase_chip(struct mtd_info *mtd, struct erase_info *instr) argument 2694 cfi_atmel_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument 2699 cfi_atmel_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument 2791 cfi_ppb_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument 2798 cfi_ppb_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument 2903 cfi_ppb_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument 2910 cfi_amdstd_sync(struct mtd_info *mtd) argument 2972 cfi_amdstd_suspend(struct mtd_info *mtd) argument 3027 cfi_amdstd_resume(struct mtd_info *mtd) argument 3059 cfi_amdstd_reset(struct mtd_info *mtd) argument 3089 struct mtd_info *mtd; local 3097 cfi_amdstd_destroy(struct mtd_info *mtd) argument [all...] |
/linux-master/drivers/mtd/spi-nor/ |
H A D | core.h | 688 static inline struct spi_nor *mtd_to_spi_nor(struct mtd_info *mtd) argument
|
H A D | core.c | 1789 static int spi_nor_erase(struct mtd_info *mtd, struct erase_info *instr) argument 2051 spi_nor_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument 2098 spi_nor_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument 2546 struct mtd_info *mtd = &nor->mtd; local 3239 spi_nor_suspend(struct mtd_info *mtd) argument 3253 spi_nor_resume(struct mtd_info *mtd) argument 3265 spi_nor_get_device(struct mtd_info *mtd) argument 3282 spi_nor_put_device(struct mtd_info *mtd) argument 3394 struct mtd_info *mtd = &nor->mtd; local 3421 struct mtd_info *mtd = &nor->mtd; local [all...] |
/linux-master/drivers/mtd/ |
H A D | mtdcore.c | 46 struct mtd_info *mtd = dev_get_drvdata(dev); local 53 struct mtd_info *mtd = dev_get_drvdata(dev); local 94 struct mtd_info *mtd = dev_get_drvdata(dev); local 109 struct mtd_info *mtd = container_of(kref, struct mtd_info, refcnt); local 139 struct mtd_info *mtd = dev_get_drvdata(dev); local 178 struct mtd_info *mtd = dev_get_drvdata(dev); local 187 struct mtd_info *mtd = dev_get_drvdata(dev); local 196 struct mtd_info *mtd = dev_get_drvdata(dev); local 205 struct mtd_info *mtd = dev_get_drvdata(dev); local 214 struct mtd_info *mtd = dev_get_drvdata(dev); local 224 struct mtd_info *mtd = dev_get_drvdata(dev); local 233 struct mtd_info *mtd = dev_get_drvdata(dev); local 242 struct mtd_info *mtd = dev_get_drvdata(dev); local 251 struct mtd_info *mtd = dev_get_drvdata(dev); local 260 struct mtd_info *mtd = dev_get_drvdata(dev); local 270 struct mtd_info *mtd = dev_get_drvdata(dev); local 279 struct mtd_info *mtd = dev_get_drvdata(dev); local 295 struct mtd_info *mtd = dev_get_drvdata(dev); local 305 struct mtd_info *mtd = dev_get_drvdata(dev); local 315 struct mtd_info *mtd = dev_get_drvdata(dev); local 325 struct mtd_info *mtd = dev_get_drvdata(dev); local 335 struct mtd_info *mtd = dev_get_drvdata(dev); local 362 ATTRIBUTE_GROUPS(mtd); variable 387 mtd_debugfs_populate(struct mtd_info *mtd) argument 398 mtd_mmap_capabilities(struct mtd_info *mtd) argument 417 struct mtd_info *mtd; local 451 mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit, struct mtd_pairing_info *info) argument 494 mtd_pairing_info_to_wunit(struct mtd_info *mtd, const struct mtd_pairing_info *info) argument 522 mtd_pairing_groups(struct mtd_info *mtd) argument 536 struct mtd_info *mtd = priv; local 547 mtd_nvmem_add(struct mtd_info *mtd) argument 579 mtd_check_of_node(struct mtd_info *mtd) argument 643 add_mtd_device(struct mtd_info *mtd) argument 809 del_mtd_device(struct mtd_info *mtd) argument 838 mtd_set_dev_defaults(struct mtd_info *mtd) argument 854 mtd_otp_size(struct mtd_info *mtd, bool is_user) argument 886 mtd_otp_nvmem_register(struct mtd_info *mtd, const char *compatible, int size, nvmem_reg_read_t reg_read) argument 925 struct mtd_info *mtd = priv; local 939 struct mtd_info *mtd = priv; local 950 mtd_otp_nvmem_add(struct mtd_info *mtd) argument 1051 mtd_device_parse_register(struct mtd_info *mtd, const char * const *types, struct mtd_part_parser_data *parser_data, const struct mtd_partition *parts, int nr_parts) argument 1154 struct mtd_info *mtd; local 1180 struct mtd_info *mtd; local 1206 get_mtd_device(struct mtd_info *mtd, int num) argument 1241 __get_mtd_device(struct mtd_info *mtd) argument 1278 struct mtd_info *mtd = NULL; local 1310 struct mtd_info *mtd = NULL, *other; local 1337 put_mtd_device(struct mtd_info *mtd) argument 1346 __put_mtd_device(struct mtd_info *mtd) argument 1375 mtd_erase(struct mtd_info *mtd, struct erase_info *instr) argument 1427 mtd_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, void **virt, resource_size_t *phys) argument 1449 mtd_unpoint(struct mtd_info *mtd, loff_t from, size_t len) argument 1468 mtd_get_unmapped_area(struct mtd_info *mtd, unsigned long len, unsigned long offset, unsigned long flags) argument 1486 mtd_update_ecc_stats(struct mtd_info *mtd, struct mtd_info *master, const struct mtd_ecc_stats *old_stats) argument 1505 mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument 1524 mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument 1548 mtd_panic_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument 1570 mtd_check_oob_ops(struct mtd_info *mtd, loff_t offs, struct mtd_oob_ops *ops) argument 1603 mtd_read_oob_std(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) argument 1619 mtd_write_oob_std(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument 1635 mtd_io_emulated_slc(struct mtd_info *mtd, loff_t start, bool read, struct mtd_oob_ops *ops) argument 1698 mtd_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) argument 1742 mtd_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument 1786 mtd_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobecc) argument 1820 mtd_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobfree) argument 1854 mtd_ooblayout_find_region(struct mtd_info *mtd, int byte, int *sectionp, struct mtd_oob_region *oobregion, int (*iter)(struct mtd_info *, int section, struct mtd_oob_region *oobregion)) argument 1900 mtd_ooblayout_find_eccregion(struct mtd_info *mtd, int eccbyte, int *section, struct mtd_oob_region *oobregion) argument 1923 mtd_ooblayout_get_bytes(struct mtd_info *mtd, u8 *buf, const u8 *oobbuf, int start, int nbytes, int (*iter)(struct mtd_info *, int section, struct mtd_oob_region *oobregion)) argument 1966 mtd_ooblayout_set_bytes(struct mtd_info *mtd, const u8 *buf, u8 *oobbuf, int start, int nbytes, int (*iter)(struct mtd_info *, int section, struct mtd_oob_region *oobregion)) argument 2004 mtd_ooblayout_count_bytes(struct mtd_info *mtd, int (*iter)(struct mtd_info *, int section, struct mtd_oob_region *oobregion)) argument 2038 mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, const u8 *oobbuf, int start, int nbytes) argument 2058 mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf, u8 *oobbuf, int start, int nbytes) argument 2078 mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf, const u8 *oobbuf, int start, int nbytes) argument 2098 mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf, u8 *oobbuf, int start, int nbytes) argument 2114 mtd_ooblayout_count_freebytes(struct mtd_info *mtd) argument 2128 mtd_ooblayout_count_eccbytes(struct mtd_info *mtd) argument 2139 mtd_get_fact_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen, struct otp_info *buf) argument 2152 mtd_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument 2166 mtd_get_user_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen, struct otp_info *buf) argument 2179 mtd_read_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument 2193 mtd_write_user_prot_reg(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument 2216 mtd_lock_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len) argument 2228 mtd_erase_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len) argument 2241 mtd_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument 2261 mtd_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument 2281 mtd_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len) argument 2301 mtd_block_isreserved(struct mtd_info *mtd, loff_t ofs) argument 2317 mtd_block_isbad(struct mtd_info *mtd, loff_t ofs) argument 2333 mtd_block_markbad(struct mtd_info *mtd, loff_t ofs) argument 2373 default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) argument 2405 mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) argument 2446 mtd_kmalloc_up_to(const struct mtd_info *mtd, size_t *size) argument 2478 struct mtd_info *mtd; local [all...] |
/linux-master/drivers/spi/ |
H A D | spi-mtk-snfi.c | 634 static int mtk_snand_ooblayout_ecc(struct mtd_info *mtd, int section, argument 641 static int mtk_snand_ooblayout_free(struct mtd_info *mtd, int section, argument 666 struct mtd_info *mtd = nanddev_to_mtd(nand); local 766 struct mtd_info *mtd local [all...] |
/linux-master/drivers/mtd/devices/ |
H A D | st_spi_fsm.c | 258 struct mtd_info mtd; member in struct:stfsm 1669 static int stfsm_mtd_read(struct mtd_info *mtd, loff_t from, size_t len, argument 1745 static int stfsm_mtd_write(struct mtd_info *mtd, loff_t to, size_t len, argument 1791 stfsm_mtd_erase(struct mtd_info *mtd, struct erase_info *instr) argument [all...] |
/linux-master/drivers/mtd/nand/raw/atmel/ |
H A D | nand-controller.c | 553 struct mtd_info *mtd = nand_to_mtd(&nand->base); local 720 struct mtd_info *mtd = nand_to_mtd(chip); local 743 struct mtd_info *mtd = nand_to_mtd(chip); local 764 struct mtd_info *mtd = nand_to_mtd(chip); local 818 struct mtd_info *mtd = nand_to_mtd(chip); local 853 struct mtd_info *mtd = nand_to_mtd(chip); local 904 struct mtd_info *mtd = nand_to_mtd(chip); local 945 struct mtd_info *mtd = nand_to_mtd(chip); local 986 struct mtd_info *mtd = nand_to_mtd(chip); local 1047 struct mtd_info *mtd = nand_to_mtd(chip); local 1114 struct mtd_info *mtd = nand_to_mtd(chip); local 1560 struct mtd_info *mtd = nand_to_mtd(chip); local 1609 struct mtd_info *mtd = nand_to_mtd(chip); local 1730 struct mtd_info *mtd = nand_to_mtd(chip); local 1981 struct mtd_info *mtd = nand_to_mtd(chip); local [all...] |
/linux-master/drivers/mtd/ubi/ |
H A D | ubi.h | 649 struct mtd_info *mtd; member in struct:ubi_device
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | net_driver.h | 916 struct mtd_info mtd; member in struct:ef4_mtd_partition
|
H A D | falcon.c | 859 static int falcon_mtd_read(struct mtd_info *mtd, loff_t start, argument 876 static int falcon_mtd_erase(struct mtd_info *mtd, loff_ argument 891 falcon_mtd_write(struct mtd_info *mtd, loff_t start, size_t len, size_t *retlen, const u8 *buffer) argument 908 falcon_mtd_sync(struct mtd_info *mtd) argument [all...] |
/linux-master/include/linux/mtd/ |
H A D | rawnand.h | 1348 static inline struct nand_chip *mtd_to_nand(struct mtd_info *mtd) argument [all...] |