Searched refs:markbad (Results 1 – 4 of 4) sorted by relevance
89 … int(*markbad)(aos_nand_t *nand, uint32_t blk); /* if NULL OOB[0] used as bad mark(set to 0x00) */ member
115 int(*markbad) (aos_mtd_t *mtd, uint32_t block); /* return 0 if success */ member
436 if (mtd->ops->markbad == NULL) { in aos_mtd_block_mark_bad()446 return mtd->ops->markbad(mtd->master, block + offset_blk); in aos_mtd_block_mark_bad()
569 if (chip->ops->markbad) in nand_block_markbad()571 ret = chip->ops->markbad(chip, blk); in nand_block_markbad()
Completed in 7 milliseconds