Searched refs:mtd_to_nanddev (Results 1 – 17 of 17) sorted by relevance
166 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_sp()226 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_lp()241 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_free_lp()271 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_lp_hamming()298 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_free_lp_hamming()
288 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_erase()324 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_max_bad_blocks()
114 struct nand_device *nand = mtd_to_nanddev(mtd); in rtl_ecc_ooblayout_ecc()129 struct nand_device *nand = mtd_to_nanddev(mtd); in rtl_ecc_ooblayout_free()
137 struct nand_device *nand = mtd_to_nanddev(mtd); in mxic_ecc_ooblayout_ecc()152 struct nand_device *nand = mtd_to_nanddev(mtd); in mxic_ecc_ooblayout_free()
74 struct nand_device *nand = mtd_to_nanddev(mtd); in f50l1g41lb_ooblayout_ecc()89 struct nand_device *nand = mtd_to_nanddev(mtd); in f50l1g41lb_ooblayout_free()
794 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_regular_page_read()865 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_continuous_page_read()957 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_use_cont_read()1029 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_write()1090 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_isbad()1132 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_markbad()1190 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_isreserved()1827 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_init()
494 struct nand_device *nand = mtd_to_nanddev(mtd); in hwecc4_ooblayout_large_ecc()510 struct nand_device *nand = mtd_to_nanddev(mtd); in hwecc4_ooblayout_large_free()
1792 struct nand_device *nand = mtd_to_nanddev(mtd); in omap_sw_ooblayout_ecc()1813 struct nand_device *nand = mtd_to_nanddev(mtd); in omap_sw_ooblayout_free()
846 struct nand_device *base = mtd_to_nanddev(nand_to_mtd(chip)); in tegra_nand_get_strength()
5496 struct nand_device *nand = mtd_to_nanddev(nand_to_mtd(chip)); in rawnand_dt_init()5813 struct nand_device *nanddev = mtd_to_nanddev(mtd); in nand_set_ecc_soft_ops()6117 struct nand_device *nanddev = mtd_to_nanddev(mtd); in nand_ecc_choose_conf()
1798 struct nand_device *nanddev = mtd_to_nanddev(mtd); in sunxi_nand_hw_ecc_ctrl_init()
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()
206 struct nand_device *nand = mtd_to_nanddev(mtd); in qcom_spi_ooblayout_ecc()230 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()
453 static inline struct nand_device *mtd_to_nanddev(struct mtd_info *mtd) in mtd_to_nanddev() function
814 return container_of(mtd_to_nanddev(mtd), struct spinand_device, base); in mtd_to_spinand()
1115 struct nand_device *nanddev = mtd_to_nanddev(mtd); in atmel_nand_pmecc_init()