Home
last modified time | relevance | path

Searched refs:nand_block_isbad (Results 1 – 9 of 9) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Ddenali_spl.c152 static int nand_block_isbad(void *buf, int block) in nand_block_isbad() function
192 ret = nand_block_isbad(dst, block); in nand_spl_load_image()
H A Dnand_util.c425 if (!nand_block_isbad(mtd, block_start)) in check_skip_len()
640 if (nand_block_isbad(mtd, offset & ~(mtd->erasesize - 1))) { in nand_write_skip_bad()
756 if (nand_block_isbad(mtd, offset & ~(mtd->erasesize - 1))) { in nand_read_skip_bad()
H A Dnand_base.c2937 static int nand_block_isbad(struct mtd_info *mtd, loff_t offs) in nand_block_isbad() function
2964 ret = nand_block_isbad(mtd, ofs); in nand_block_markbad()
4580 mtd->_block_isbad = nand_block_isbad; in nand_scan_tail()
/openbmc/u-boot/env/
H A Dnand.c140 if (nand_block_isbad(mtd, offset)) { in writeenv()
261 if (nand_block_isbad(mtd, offset)) { in readenv()
/openbmc/u-boot/include/
H A Dnand.h59 static inline int nand_block_isbad(struct mtd_info *info, loff_t ofs) in nand_block_isbad() function
/openbmc/u-boot/cmd/
H A Dnand.c363 if (nand_block_isbad(mtd, offset)) in adjust_size_for_badblocks()
448 if (nand_block_isbad(mtd, off)) in do_nand()
H A Dbootm.c478 if (nand_block_isbad(mtd, off)) in do_imls_nand()
/openbmc/u-boot/fs/jffs2/
H A Djffs2_nand_1pass.c822 if (nand_block_isbad(mtd, offset)) in jffs2_1pass_build_lists()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_base.c4751 static int nand_block_isbad(struct mtd_info *mtd, loff_t offs) in nand_block_isbad() function
4779 ret = nand_block_isbad(mtd, ofs); in nand_block_markbad()
6538 mtd->_block_isbad = nand_block_isbad; in nand_scan_tail()