Lines Matching refs:nand_device
22 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isbad()
61 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_markbad()
102 bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isreserved()
126 int nanddev_erase(struct nand_device *nand, const struct nand_pos *pos) in nanddev_erase()
155 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_erase()
191 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_max_bad_blocks()
214 static int nanddev_get_ecc_engine(struct nand_device *nand) in nanddev_get_ecc_engine()
251 static int nanddev_put_ecc_engine(struct nand_device *nand) in nanddev_put_ecc_engine()
271 static int nanddev_find_ecc_configuration(struct nand_device *nand) in nanddev_find_ecc_configuration()
293 int nanddev_ecc_engine_init(struct nand_device *nand) in nanddev_ecc_engine_init()
325 void nanddev_ecc_engine_cleanup(struct nand_device *nand) in nanddev_ecc_engine_cleanup()
345 int nanddev_init(struct nand_device *nand, const struct nand_ops *ops, in nanddev_init()
390 void nanddev_cleanup(struct nand_device *nand) in nanddev_cleanup()