Home
last modified time | relevance | path

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

/AliOS-Things-master/components/drivers/peripheral/flash/include/aos/
A Dmtdnand.h88 …int(*isbad)(aos_nand_t *nand, uint32_t blk); /* if NULL OOB[0] used as bad mark(not 0xff is bad)… member
A Dmtd.h114 int(*isbad) (aos_mtd_t *mtd, uint32_t block); /* return 1 if bad, 0 not bad */ member
/AliOS-Things-master/components/drivers/peripheral/flash/src/
A Dmtd.c457 if (mtd->ops->isbad == NULL) { in aos_mtd_block_is_bad()
467 return mtd->ops->isbad(mtd->master, block + offset_blk); in aos_mtd_block_is_bad()
A Dmtdnand.c546 if (chip->ops->isbad) in nand_block_isbad()
548 ret = chip->ops->isbad(chip, blk); in nand_block_isbad()

Completed in 6 milliseconds