Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mtd/nand/spi/
Desmt.c68 struct nand_device *nand = mtd_to_nanddev(mtd); in f50l1g41lb_ooblayout_ecc()
83 struct nand_device *nand = mtd_to_nanddev(mtd); in f50l1g41lb_ooblayout_free()
Dcore.c637 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_read()
693 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_write()
746 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_isbad()
785 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_markbad()
843 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_isreserved()
1218 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_init()
/linux-6.6.21/drivers/mtd/nand/
Decc.c166 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()
Dcore.c157 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_erase()
193 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_max_bad_blocks()
Decc-mxic.c137 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()
/linux-6.6.21/include/linux/mtd/
Dspinand.h463 return container_of(mtd_to_nanddev(mtd), struct spinand_device, base); in mtd_to_spinand()
Dnand.h450 static inline struct nand_device *mtd_to_nanddev(struct mtd_info *mtd) in mtd_to_nanddev() function
/linux-6.6.21/drivers/mtd/nand/raw/
Domap2.c1776 struct nand_device *nand = mtd_to_nanddev(mtd); in omap_sw_ooblayout_ecc()
1797 struct nand_device *nand = mtd_to_nanddev(mtd); in omap_sw_ooblayout_free()
Dtegra_nand.c846 struct nand_device *base = mtd_to_nanddev(nand_to_mtd(chip)); in tegra_nand_get_strength()
Dnand_base.c5575 struct nand_device *nand = mtd_to_nanddev(nand_to_mtd(chip)); in rawnand_dt_init()
5892 struct nand_device *nanddev = mtd_to_nanddev(mtd); in nand_set_ecc_soft_ops()
6196 struct nand_device *nanddev = mtd_to_nanddev(mtd); in nand_ecc_choose_conf()
Dsunxi_nand.c1625 struct nand_device *nanddev = mtd_to_nanddev(mtd); in sunxi_nand_hw_ecc_ctrl_init()
/linux-6.6.21/drivers/spi/
Dspi-mtk-snfi.c644 struct nand_device *nand = mtd_to_nanddev(mtd); in mtk_snand_ooblayout_free()
/linux-6.6.21/drivers/mtd/nand/raw/atmel/
Dnand-controller.c1115 struct nand_device *nanddev = mtd_to_nanddev(mtd); in atmel_nand_pmecc_init()