Searched refs:nand_block_isbad (Results 1 – 9 of 9) sorted by relevance
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | denali_spl.c | 152 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 D | nand_util.c | 425 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 D | nand_base.c | 2937 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 D | nand.c | 140 if (nand_block_isbad(mtd, offset)) { in writeenv() 261 if (nand_block_isbad(mtd, offset)) { in readenv()
|
/openbmc/u-boot/include/ |
H A D | nand.h | 59 static inline int nand_block_isbad(struct mtd_info *info, loff_t ofs) in nand_block_isbad() function
|
/openbmc/u-boot/cmd/ |
H A D | nand.c | 363 if (nand_block_isbad(mtd, offset)) in adjust_size_for_badblocks() 448 if (nand_block_isbad(mtd, off)) in do_nand()
|
H A D | bootm.c | 478 if (nand_block_isbad(mtd, off)) in do_imls_nand()
|
/openbmc/u-boot/fs/jffs2/ |
H A D | jffs2_nand_1pass.c | 822 if (nand_block_isbad(mtd, offset)) in jffs2_1pass_build_lists()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 4751 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()
|