Searched refs:nanddev_to_mtd (Results 1 – 9 of 9) sorted by relevance
173 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()
66 struct mtd_info *mtd = nanddev_to_mtd(nand); in nanddev_markbad()355 struct mtd_info *mtd = nanddev_to_mtd(nand); in nanddev_init()
471 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()
225 struct mtd_info *mtd = nanddev_to_mtd(nand); in mxic_ecc_init_ctx()522 struct mtd_info *mtd = nanddev_to_mtd(nand); in mxic_ecc_count_biterrs()556 struct mtd_info *mtd = nanddev_to_mtd(nand); in mxic_ecc_prepare_io_req_external()
471 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_is_strong_enough()
461 static inline struct mtd_info *nanddev_to_mtd(struct nand_device *nand) in nanddev_to_mtd() function923 struct mtd_info *mtd = nanddev_to_mtd(nand); in nanddev_io_iter_init()
472 return nanddev_to_mtd(&spinand->base); in spinand_to_mtd()
635 struct mtd_info *mtd = nanddev_to_mtd(nand); in mtk_snand_ecc_init_ctx()735 struct mtd_info *mtd = nanddev_to_mtd(nand); in mtk_snand_ecc_finish_io_req()
259 struct mtd_info *mtd = nanddev_to_mtd(nand); in spinand_ondie_ecc_init_ctx()