Lines Matching refs:nand_device
22 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isbad()
64 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_markbad()
105 bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isreserved()
129 int nanddev_erase(struct nand_device *nand, const struct nand_pos *pos) in nanddev_erase()
158 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_erase()
194 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_max_bad_blocks()
217 static int nanddev_get_ecc_engine(struct nand_device *nand) in nanddev_get_ecc_engine()
256 static int nanddev_put_ecc_engine(struct nand_device *nand) in nanddev_put_ecc_engine()
276 static int nanddev_find_ecc_configuration(struct nand_device *nand) in nanddev_find_ecc_configuration()
298 int nanddev_ecc_engine_init(struct nand_device *nand) in nanddev_ecc_engine_init()
332 void nanddev_ecc_engine_cleanup(struct nand_device *nand) in nanddev_ecc_engine_cleanup()
352 int nanddev_init(struct nand_device *nand, const struct nand_ops *ops, in nanddev_init()
397 void nanddev_cleanup(struct nand_device *nand) in nanddev_cleanup()