Searched refs:mtd_to_nanddev (Results 1 – 8 of 8) sorted by relevance
173 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_sp()233 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_lp()248 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_free_lp()278 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_lp_hamming()305 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_free_lp_hamming()
835 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_regular_page_read()906 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_continuous_page_read()1006 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_use_cont_read()1065 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_write()1126 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_isbad()1168 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_markbad()1226 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_isreserved()1922 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_init()
771 struct nand_device *nand = mtd_to_nanddev(mtd); in vf610_nfc_ooblayout_ecc()786 struct nand_device *nand = mtd_to_nanddev(mtd); in vf610_nfc_ooblayout_free()
846 struct nand_device *base = mtd_to_nanddev(nand_to_mtd(chip)); in tegra_nand_get_strength()
857 struct nand_device *nand = mtd_to_nanddev(mtd); in aml_sfc_layout_ecc()871 struct nand_device *nand = mtd_to_nanddev(mtd); in aml_sfc_ooblayout_free()
213 struct nand_device *nand = mtd_to_nanddev(mtd); in qcom_spi_ooblayout_ecc()237 struct nand_device *nand = mtd_to_nanddev(mtd); in qcom_spi_ooblayout_free()
644 struct nand_device *nand = mtd_to_nanddev(mtd); in mtk_snand_ooblayout_free()
455 static inline struct nand_device *mtd_to_nanddev(struct mtd_info *mtd) in mtd_to_nanddev() function