Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/nand/spi/
Dcore.c549 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_read()
599 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_write()
653 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_isbad()
694 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_markbad()
748 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_isreserved()
965 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_init()
/Linux-v4.19/drivers/mtd/nand/
Dcore.c155 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_erase()
/Linux-v4.19/include/linux/mtd/
Dspinand.h364 return container_of(mtd_to_nanddev(mtd), struct spinand_device, base); in mtd_to_spinand()
Dnand.h209 static inline struct nand_device *mtd_to_nanddev(struct mtd_info *mtd) in mtd_to_nanddev() function