Home
last modified time | relevance | path

Searched defs:mtd (Results 101 – 125 of 206) sorted by relevance

123456789

/linux-6.3-rc2/drivers/mtd/nand/raw/
A Dvf610_nfc.c511 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_correct_data() local
552 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_read_page() local
600 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_write_page() local
657 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_write_page_raw() local
687 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_write_oob() local
744 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_attach_chip() local
810 struct mtd_info *mtd; in vf610_nfc_probe() local
A Dfsmc_nand.c167 static int fsmc_ecc1_ooblayout_ecc(struct mtd_info *mtd, int section, in fsmc_ecc1_ooblayout_ecc()
181 static int fsmc_ecc1_ooblayout_free(struct mtd_info *mtd, int section, in fsmc_ecc1_ooblayout_free()
210 static int fsmc_ecc4_ooblayout_ecc(struct mtd_info *mtd, int section, in fsmc_ecc4_ooblayout_ecc()
228 static int fsmc_ecc4_ooblayout_free(struct mtd_info *mtd, int section, in fsmc_ecc4_ooblayout_free()
708 struct mtd_info *mtd = nand_to_mtd(chip); in fsmc_read_page_hwecc() local
911 struct mtd_info *mtd = nand_to_mtd(nand); in fsmc_nand_attach_chip() local
1024 struct mtd_info *mtd; in fsmc_nand_probe() local
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
380 struct mtd_info *mtd = drvdata->mtds[i]; in txx9ndfmc_remove() local
A Dpl35x-nand-controller.c159 static int pl35x_ecc_ooblayout16_ecc(struct mtd_info *mtd, int section, in pl35x_ecc_ooblayout16_ecc()
173 static int pl35x_ecc_ooblayout16_free(struct mtd_info *mtd, int section, in pl35x_ecc_ooblayout16_free()
472 struct mtd_info *mtd = nand_to_mtd(chip); in pl35x_nand_recover_data_hwecc() local
510 struct mtd_info *mtd = nand_to_mtd(chip); in pl35x_nand_write_page_hwecc() local
592 struct mtd_info *mtd = nand_to_mtd(chip); in pl35x_nand_read_page_hwecc() local
892 struct mtd_info *mtd = nand_to_mtd(chip); in pl35x_nand_init_hw_ecc_controller() local
938 struct mtd_info *mtd = nand_to_mtd(chip); in pl35x_nand_attach_chip() local
1036 struct mtd_info *mtd; in pl35x_nand_chip_init() local
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
A Drockchip-nand-controller.c512 struct mtd_info *mtd = nand_to_mtd(chip); in rk_nfc_write_page_raw() local
591 struct mtd_info *mtd = nand_to_mtd(chip); in rk_nfc_write_page_hwecc() local
702 struct mtd_info *mtd = nand_to_mtd(chip); in rk_nfc_read_page_raw() local
754 struct mtd_info *mtd = nand_to_mtd(chip); in rk_nfc_read_page_hwecc() local
927 static int rk_nfc_ooblayout_free(struct mtd_info *mtd, int section, in rk_nfc_ooblayout_free()
946 static int rk_nfc_ooblayout_ecc(struct mtd_info *mtd, int section, in rk_nfc_ooblayout_ecc()
966 static int rk_nfc_ecc_init(struct device *dev, struct mtd_info *mtd) in rk_nfc_ecc_init()
1011 struct mtd_info *mtd = nand_to_mtd(chip); in rk_nfc_attach_chip() local
1104 struct mtd_info *mtd; in rk_nfc_nand_chip_init() local
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
1233 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_hw_ecc_hmg_write_oob_raw() local
1247 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_hw_ecc_bch_read_page_raw() local
1362 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_hw_ecc_bch_read_page() local
1620 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_hw_ecc_bch_write_page() local
1669 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_hw_ecc_bch_write_oob_raw() local
1679 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nfc_hw_ecc_bch_write_oob() local
2465 struct mtd_info *mtd = nand_to_mtd(chip); in marvell_nand_attach_chip() local
[all …]
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
A Drenesas-nand-controller.c403 struct mtd_info *mtd = nand_to_mtd(chip); in rnandc_read_page_hw_ecc() local
491 struct mtd_info *mtd = nand_to_mtd(chip); in rnandc_read_subpage_hw_ecc() local
583 struct mtd_info *mtd = nand_to_mtd(chip); in rnandc_write_page_hw_ecc() local
636 struct mtd_info *mtd = nand_to_mtd(chip); in rnandc_write_subpage_hw_ecc() local
972 static int rnandc_ooblayout_ecc(struct mtd_info *mtd, int section, in rnandc_ooblayout_ecc()
987 static int rnandc_ooblayout_free(struct mtd_info *mtd, int section, in rnandc_ooblayout_free()
1010 struct mtd_info *mtd = nand_to_mtd(chip); in rnandc_hw_ecc_controller_init() local
1115 struct mtd_info *mtd = nand_to_mtd(chip); in rnandc_attach_chip() local
1174 struct mtd_info *mtd; in rnandc_alloc_dma_buf() local
1201 struct mtd_info *mtd; in rnandc_chip_init() local
A Dstm32_fmc2_nand.c680 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_read_page() local
744 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_rw_page_init() local
969 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_seq_write() local
1030 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_seq_correct() local
1089 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_seq_read_page() local
1138 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_seq_read_page_raw() local
1645 static int stm32_fmc2_nfc_ooblayout_ecc(struct mtd_info *mtd, int section, in stm32_fmc2_nfc_ooblayout_ecc()
1660 static int stm32_fmc2_nfc_ooblayout_free(struct mtd_info *mtd, int section, in stm32_fmc2_nfc_ooblayout_free()
1701 struct mtd_info *mtd = nand_to_mtd(chip); in stm32_fmc2_nfc_attach_chip() local
1882 struct mtd_info *mtd; in stm32_fmc2_nfc_probe() local
A Dfsl_upm.c45 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
A Dnand_amd.c13 struct mtd_info *mtd = nand_to_mtd(chip); in amd_nand_decode_id() local
A Dndfc.c136 struct mtd_info *mtd = nand_to_mtd(chip); in ndfc_chip_init() local
247 struct mtd_info *mtd = nand_to_mtd(chip); in ndfc_remove() local
A Dnand_hynix.c411 struct mtd_info *mtd = nand_to_mtd(chip); in hynix_nand_extract_oobsize() local
611 struct mtd_info *mtd = nand_to_mtd(chip); in hynix_nand_decode_id() local
691 struct mtd_info *mtd = nand_to_mtd(chip); in h27ucg8t2etrbc_init() local
A Dgpio.c43 static inline struct gpiomtd *gpio_nand_getpriv(struct mtd_info *mtd) in gpio_nand_getpriv()
291 struct mtd_info *mtd; in gpio_nand_probe() local
/linux-6.3-rc2/drivers/mtd/
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()
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()
A Dmtdcore.h26 #define mtd_for_each_device(mtd) \ argument
/linux-6.3-rc2/drivers/mtd/nand/
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
A Decc-mxic.c134 static int mxic_ecc_ooblayout_ecc(struct mtd_info *mtd, int section, in mxic_ecc_ooblayout_ecc()
149 static int mxic_ecc_ooblayout_free(struct mtd_info *mtd, int section, in mxic_ecc_ooblayout_free()
225 struct mtd_info *mtd = nanddev_to_mtd(nand); in mxic_ecc_init_ctx() local
522 struct mtd_info *mtd = nanddev_to_mtd(nand); in mxic_ecc_count_biterrs() local
556 struct mtd_info *mtd = nanddev_to_mtd(nand); in mxic_ecc_prepare_io_req_external() local
/linux-6.3-rc2/drivers/mtd/maps/
A Dsa1100-flash.c30 struct mtd_info *mtd; member
35 struct mtd_info *mtd; member
/linux-6.3-rc2/drivers/mtd/spi-nor/
A Dcore.c1430 static int spi_nor_erase(struct mtd_info *mtd, struct erase_info *instr) in spi_nor_erase()
1701 static int spi_nor_read(struct mtd_info *mtd, loff_t from, size_t len, in spi_nor_read()
1745 static int spi_nor_write(struct mtd_info *mtd, loff_t to, size_t len, in spi_nor_write()
2190 struct mtd_info *mtd = &nor->mtd; in spi_nor_select_erase() local
2833 static int spi_nor_suspend(struct mtd_info *mtd) in spi_nor_suspend()
2847 static void spi_nor_resume(struct mtd_info *mtd) in spi_nor_resume()
2859 static int spi_nor_get_device(struct mtd_info *mtd) in spi_nor_get_device()
2876 static void spi_nor_put_device(struct mtd_info *mtd) in spi_nor_put_device()
2969 struct mtd_info *mtd = &nor->mtd; in spi_nor_set_mtd_info() local
3023 struct mtd_info *mtd = &nor->mtd; in spi_nor_scan() local
/linux-6.3-rc2/drivers/mtd/devices/
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-6.3-rc2/drivers/mtd/parsers/
A Dofpart_bcm4908.h8 static inline int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, in bcm4908_partitions_post_parse()
A Dofpart_linksys_ns.h10 static inline int linksys_ns_partitions_post_parse(struct mtd_info *mtd, in linksys_ns_partitions_post_parse()

Completed in 84 milliseconds

123456789