Home
last modified time | relevance | path

Searched refs:nanddev_to_mtd (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/mtd/nand/
Decc-sw-bch.c173 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_sw_bch_init_ctx()
295 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_sw_bch_prepare_io_req()
332 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_sw_bch_finish_io_req()
Dcore.c66 struct mtd_info *mtd = nanddev_to_mtd(nand); in nanddev_markbad()
354 struct mtd_info *mtd = nanddev_to_mtd(nand); in nanddev_init()
Decc-sw-hamming.c471 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_sw_hamming_init_ctx()
549 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_sw_hamming_prepare_io_req()
586 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_sw_hamming_finish_io_req()
Decc-mxic.c225 struct mtd_info *mtd = nanddev_to_mtd(nand); in mxic_ecc_init_ctx()
523 struct mtd_info *mtd = nanddev_to_mtd(nand); in mxic_ecc_count_biterrs()
557 struct mtd_info *mtd = nanddev_to_mtd(nand); in mxic_ecc_prepare_io_req_external()
Decc.c471 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_is_strong_enough()
/linux-6.6.21/include/linux/mtd/
Dnand.h461 static inline struct mtd_info *nanddev_to_mtd(struct nand_device *nand) in nanddev_to_mtd() function
923 struct mtd_info *mtd = nanddev_to_mtd(nand); in nanddev_io_iter_init()
Dspinand.h474 return nanddev_to_mtd(&spinand->base); in spinand_to_mtd()
/linux-6.6.21/drivers/spi/
Dspi-mtk-snfi.c666 struct mtd_info *mtd = nanddev_to_mtd(nand); in mtk_snand_ecc_init_ctx()
766 struct mtd_info *mtd = nanddev_to_mtd(nand); in mtk_snand_ecc_finish_io_req()
/linux-6.6.21/drivers/mtd/nand/spi/
Dcore.c259 struct mtd_info *mtd = nanddev_to_mtd(nand); in spinand_ondie_ecc_init_ctx()