Home
last modified time | relevance | path

Searched refs:mtd_to_nanddev (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/mtd/nand/
H A Decc.c173 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()
/linux/drivers/mtd/nand/spi/
H A Dcore.c835 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()
/linux/drivers/mtd/nand/raw/
H A Dvf610_nfc.c771 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()
H A Dtegra_nand.c846 struct nand_device *base = mtd_to_nanddev(nand_to_mtd(chip)); in tegra_nand_get_strength()
/linux/drivers/spi/
H A Dspi-amlogic-spifc-a4.c857 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()
H A Dspi-qpic-snand.c213 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()
H A Dspi-mtk-snfi.c644 struct nand_device *nand = mtd_to_nanddev(mtd); in mtk_snand_ooblayout_free()
/linux/include/linux/mtd/
H A Dnand.h455 static inline struct nand_device *mtd_to_nanddev(struct mtd_info *mtd) in mtd_to_nanddev() function