Home
last modified time | relevance | path

Searched defs:mtd (Results 76 – 100 of 172) sorted by relevance

1234567

/linux/drivers/mtd/nand/
H A Decc-sw-bch.c173 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_sw_bch_init_ctx() local
295 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_sw_bch_prepare_io_req() local
332 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_sw_bch_finish_io_req() local
H A Decc-sw-hamming.c471 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_sw_hamming_init_ctx() local
549 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_sw_hamming_prepare_io_req() local
586 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_sw_hamming_finish_io_req() local
/linux/drivers/mtd/
H A Dmtd_blkdevs.c445 static void blktrans_notify_remove(struct mtd_info *mtd) in blktrans_notify_remove()
456 static void blktrans_notify_add(struct mtd_info *mtd) in blktrans_notify_add()
474 struct mtd_info *mtd; in register_mtd_blktrans() local
H A Dmtdswap.c102 struct mtd_info *mtd; member
528 struct mtd_info *mtd = d->mtd; in mtdswap_erase_block() local
617 struct mtd_info *mtd = d->mtd; in mtdswap_write_block() local
678 struct mtd_info *mtd = d->mtd; in mtdswap_move_block() local
876 struct mtd_info *mtd = d->mtd; in mtdswap_eblk_passes() local
1004 static unsigned int mtdswap_badblocks(struct mtd_info *mtd, uint64_t size) in mtdswap_badblocks()
1080 struct mtd_info *mtd = d->mtd; in mtdswap_readsect() local
1273 struct mtd_info *mtd = d->mbd_dev->mtd; in mtdswap_init() local
1332 static void mtdswap_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in mtdswap_add_mtd()
H A Dsm_ftl.c241 struct mtd_info *mtd = ftl->trans->mtd; in sm_read_sector() local
327 struct mtd_info *mtd = ftl->trans->mtd; in sm_write_sector() local
468 struct mtd_info *mtd = ftl->trans->mtd; in sm_erase_block() local
564 static int sm_get_media_info(struct sm_ftl *ftl, struct mtd_info *mtd) in sm_get_media_info()
1132 static void sm_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in sm_add_mtd()
H A Dmtdcore.h27 #define mtd_for_each_device(mtd) \ argument
/linux/drivers/mtd/nand/raw/
H A Dmeson_nand.c318 struct mtd_info *mtd = nand_to_mtd(nand); in meson_nfc_cmd_access() local
563 struct mtd_info *mtd = nand_to_mtd(nand); in meson_nfc_ecc_correct() local
697 struct mtd_info *mtd = nand_to_mtd(nand); in meson_nfc_rw_cmd_prepare_and_execute() local
750 struct mtd_info *mtd = nand_to_mtd(nand); in meson_nfc_write_page_sub() local
796 struct mtd_info *mtd = nand_to_mtd(nand); in meson_nfc_write_page_hwecc() local
830 struct mtd_info *mtd = nand_to_mtd(nand); in meson_nfc_read_page_sub() local
879 struct mtd_info *mtd = nand_to_mtd(nand); in meson_nfc_read_page_hwecc() local
1096 static int meson_ooblayout_ecc(struct mtd_info *mtd, int section, in meson_ooblayout_ecc()
1110 static int meson_ooblayout_free(struct mtd_info *mtd, int section, in meson_ooblayout_free()
1224 struct mtd_info *mtd = nand_to_mtd(nand); in meson_chip_buffer_init() local
[all …]
H A Dqcom_nandc.c472 qcom_nandc_read_cw_raw(struct mtd_info *mtd, struct nand_chip *chip, in qcom_nandc_read_cw_raw()
565 struct mtd_info *mtd = nand_to_mtd(chip); in check_for_erased_page() local
624 struct mtd_info *mtd = nand_to_mtd(chip); in parse_read_errors() local
925 struct mtd_info *mtd = nand_to_mtd(chip); in qcom_nandc_read_page_raw() local
1044 struct mtd_info *mtd = nand_to_mtd(chip); in qcom_nandc_write_page_raw() local
1121 struct mtd_info *mtd = nand_to_mtd(chip); in qcom_nandc_write_oob() local
1163 struct mtd_info *mtd = nand_to_mtd(chip); in qcom_nandc_block_bad() local
1322 static int qcom_nand_ooblayout_ecc(struct mtd_info *mtd, int section, in qcom_nand_ooblayout_ecc()
1344 static int qcom_nand_ooblayout_free(struct mtd_info *mtd, int section, in qcom_nand_ooblayout_free()
1376 struct mtd_info *mtd = nand_to_mtd(chip); in qcom_nand_attach_chip() local
[all …]
H A Dvf610_nfc.c512 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_correct_data() local
553 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_read_page() local
601 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_write_page() local
658 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_write_page_raw() local
688 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_write_oob() local
745 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_attach_chip() local
811 struct mtd_info *mtd; in vf610_nfc_probe() local
H A Dpl35x-nand-controller.c157 static int pl35x_ecc_ooblayout16_ecc(struct mtd_info *mtd, int section, in pl35x_ecc_ooblayout16_ecc()
171 static int pl35x_ecc_ooblayout16_free(struct mtd_info *mtd, int section, in pl35x_ecc_ooblayout16_free()
470 struct mtd_info *mtd = nand_to_mtd(chip); in pl35x_nand_recover_data_hwecc() local
508 struct mtd_info *mtd = nand_to_mtd(chip); in pl35x_nand_write_page_hwecc() local
599 struct mtd_info *mtd = nand_to_mtd(chip); in pl35x_nand_read_page_hwecc() local
899 struct mtd_info *mtd = nand_to_mtd(chip); in pl35x_nand_init_hw_ecc_controller() local
945 struct mtd_info *mtd = nand_to_mtd(chip); in pl35x_nand_attach_chip() local
1043 struct mtd_info *mtd; in pl35x_nand_chip_init() local
H A Dtxx9ndfmc.c75 static struct platform_device *mtd_to_platdev(struct mtd_info *mtd) in mtd_to_platdev()
253 struct mtd_info *mtd = nand_to_mtd(chip); in txx9ndfmc_attach_chip() local
318 struct mtd_info *mtd; in txx9ndfmc_probe() local
378 struct mtd_info *mtd = drvdata->mtds[i]; in txx9ndfmc_remove() local
H A Dintel-nand-controller.c236 static int ebu_nand_ooblayout_ecc(struct mtd_info *mtd, int section, in ebu_nand_ooblayout_ecc()
250 static int ebu_nand_ooblayout_free(struct mtd_info *mtd, int section, in ebu_nand_ooblayout_free()
388 struct mtd_info *mtd = nand_to_mtd(chip); in ebu_nand_read_page_hwecc() local
411 struct mtd_info *mtd = nand_to_mtd(chip); in ebu_nand_write_page_hwecc() local
447 struct mtd_info *mtd = nand_to_mtd(chip); in ebu_nand_attach_chip() local
582 struct mtd_info *mtd; in ebu_nand_probe() local
H A Dmarvell_nand.c729 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_wait_op() local
958 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_check_empty_chunk() local
995 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_hw_ecc_check_bitflips() local
1245 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_hw_ecc_hmg_write_oob_raw() local
1259 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_hw_ecc_bch_read_page_raw() local
1374 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_hw_ecc_bch_read_page() local
1632 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_hw_ecc_bch_write_page() local
1690 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_hw_ecc_bch_write_oob_raw() local
1700 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_hw_ecc_bch_write_oob() local
2199 static int marvell_nand_ooblayout_ecc(struct mtd_info *mtd, int section, in marvell_nand_ooblayout_ecc()
[all …]
H A Dsharpsl.c27 static inline struct sharpsl_nand *mtd_to_sharpsl(struct mtd_info *mtd) in mtd_to_sharpsl()
123 struct mtd_info *mtd; in sharpsl_nand_probe() local
H A Dstm32_fmc2_nand.c698 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_read_page() local
762 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_rw_page_init() local
975 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_seq_write() local
1048 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_seq_correct() local
1107 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_seq_read_page() local
1156 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_seq_read_page_raw() local
1678 static int stm32_fmc2_nfc_ooblayout_ecc(struct mtd_info *mtd, int section, in stm32_fmc2_nfc_ooblayout_ecc()
1693 static int stm32_fmc2_nfc_ooblayout_free(struct mtd_info *mtd, int section, in stm32_fmc2_nfc_ooblayout_free()
1734 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_attach_chip() local
1912 struct mtd_info *mtd; in stm32_fmc2_nfc_probe() local
H A Dfsl_upm.c46 struct mtd_info *mtd = nand_to_mtd(&fun->chip); in fun_chip_init() local
242 struct mtd_info *mtd = nand_to_mtd(chip); in fun_remove() local
H A Dndfc.c137 struct mtd_info *mtd = nand_to_mtd(chip); in ndfc_chip_init() local
248 struct mtd_info *mtd = nand_to_mtd(chip); in ndfc_remove() local
/linux/drivers/mtd/ubi/
H A Dbuild.c849 int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, in ubi_attach_mtd_dev()
1212 struct mtd_info *mtd; in open_mtd_device() local
1232 static void ubi_notify_add(struct mtd_info *mtd) in ubi_notify_add()
1256 static void ubi_notify_remove(struct mtd_info *mtd) in ubi_notify_remove()
1273 struct mtd_info *mtd; in ubi_init_attach() local
/linux/drivers/mtd/parsers/
H A Dtplink_safeloader.c21 static void *mtd_parser_tplink_safeloader_read_table(struct mtd_info *mtd) in mtd_parser_tplink_safeloader_read_table()
73 static int mtd_parser_tplink_safeloader_parse(struct mtd_info *mtd, in mtd_parser_tplink_safeloader_parse()
H A Dofpart_bcm4908.h8 static inline int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, in bcm4908_partitions_post_parse()
/linux/drivers/mtd/devices/
H A Dmtd_intel_dg.c25 struct mtd_info mtd; member
491 static int intel_dg_mtd_erase(struct mtd_info *mtd, struct erase_info *info) in intel_dg_mtd_erase()
554 static int intel_dg_mtd_read(struct mtd_info *mtd, loff_t from, size_t len, in intel_dg_mtd_read()
593 static int intel_dg_mtd_write(struct mtd_info *mtd, loff_t to, size_t len, in intel_dg_mtd_write()
644 static int intel_dg_mtd_get_device(struct mtd_info *mtd) in intel_dg_mtd_get_device()
657 static void intel_dg_mtd_put_device(struct mtd_info *mtd) in intel_dg_mtd_put_device()
H A Dspear_smi.c199 struct mtd_info mtd; member
208 static inline struct spear_snor_flash *get_flash_data(struct mtd_info *mtd) in get_flash_data()
494 static int spear_mtd_erase(struct mtd_info *mtd, struct erase_info *e_info) in spear_mtd_erase()
545 static int spear_mtd_read(struct mtd_info *mtd, loff_t from, size_t len, in spear_mtd_read()
674 static int spear_mtd_write(struct mtd_info *mtd, loff_t to, size_t len, in spear_mtd_write()
/linux/drivers/mtd/chips/
H A Dgen_probe.c23 struct mtd_info *mtd; in mtd_do_chip_probe() local
219 struct mtd_info *mtd; in cfi_cmdset_unknown() local
/linux/drivers/mtd/maps/
H A Dsa1100-flash.c30 struct mtd_info *mtd; member
35 struct mtd_info *mtd; member
/linux/drivers/spi/
H A Dspi-qpic-snand.c106 struct mtd_info *mtd; member
206 static int qcom_spi_ooblayout_ecc(struct mtd_info *mtd, int section, in qcom_spi_ooblayout_ecc()
230 static int qcom_spi_ooblayout_free(struct mtd_info *mtd, int section, in qcom_spi_ooblayout_free()
257 struct mtd_info *mtd = nanddev_to_mtd(nand); in qcom_spi_ecc_init_ctx_pipelined() local
438 struct mtd_info *mtd = nanddev_to_mtd(nand); in qcom_spi_ecc_finish_io_req_pipelined() local
577 struct mtd_info *mtd = snandc->qspi->mtd; in qcom_spi_read_last_cw() local
711 struct mtd_info *mtd = snandc->qspi->mtd; in qcom_spi_read_cw_raw() local
1040 struct mtd_info *mtd = snandc->qspi->mtd; in qcom_spi_program_raw() local

1234567