/openbmc/u-boot/cmd/ |
H A D | onenand.c | 79 ret = mtd_block_isbad(mtd, ofs); in onenand_block_read() 158 ret = mtd_block_isbad(mtd, ofs); in onenand_block_write() 197 ret = mtd_block_isbad(mtd, ofs); in onenand_block_erase() 263 ret = mtd_block_isbad(mtd, ofs); in onenand_block_test() 375 if (mtd_block_isbad(mtd, ofs)) in do_onenand_bad()
|
H A D | mtd.c | 331 while (mtd_block_isbad(mtd, off)) in do_mtd_io() 338 mtd_block_isbad(mtd, off)) { in do_mtd_io() 475 if (mtd_block_isbad(mtd, off)) in do_mtd_bad()
|
/openbmc/linux/drivers/mtd/parsers/ |
H A D | redboot.c | 96 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions() 106 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions()
|
H A D | scpart.c | 113 !mtd_block_isbad(master, offs)) { in scpart_find_partmap()
|
H A D | sharpslpart.c | 197 if (mtd_block_isbad(mtd, block_adr)) in sharpsl_nand_init_ftl()
|
/openbmc/linux/drivers/mtd/tests/ |
H A D | mtd_test.c | 35 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
|
/openbmc/linux/drivers/mtd/ |
H A D | ssfdc.c | 122 if (mtd_block_isbad(mtd, offset)) { in get_valid_cis_sector() 255 if (mtd_block_isbad(mtd, offset)) in build_logical_block_map()
|
H A D | mtdoops.c | 127 while ((ret = mtd_block_isbad(mtd, cxt->nextpage * record_size)) > 0) { in mtdoops_erase() 254 if (mtd_block_isbad(mtd, page * record_size)) in find_next_position()
|
H A D | nftlmount.c | 235 if (mtd_block_isbad(nftl->mbd.mtd, in find_boot_record()
|
H A D | inftlmount.c | 288 if (mtd_block_isbad(inftl->mbd.mtd, in find_boot_record()
|
H A D | mtdpstore.c | 38 ret = mtd_block_isbad(mtd, off); in mtdpstore_block_isbad()
|
H A D | mtdpart.c | 212 else if (mtd_block_isbad(child, offs)) in allocate_partition()
|
H A D | mtdswap.c | 331 if (mtd_can_have_bb(d->mtd) && mtd_block_isbad(d->mtd, offset)) in mtdswap_read_markers() 1013 if (mtd_block_isbad(mtd, offset)) in mtdswap_badblocks()
|
H A D | mtdconcat.c | 602 res = mtd_block_isbad(subdev, ofs); in concat_block_isbad()
|
H A D | mtdcore.c | 2308 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs) in mtd_block_isbad() function 2322 EXPORT_SYMBOL_GPL(mtd_block_isbad);
|
/openbmc/u-boot/include/ |
H A D | nand.h | 61 return mtd_block_isbad(info, ofs); in nand_block_isbad()
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_mtdif2.c | 201 mtd_block_isbad(mtd, in nandmtd2_QueryNANDBlock()
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | mtd.h | 445 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs);
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_util.c | 109 int ret = mtd_block_isbad(mtd, erase.addr); in nand_erase_opts()
|
/openbmc/linux/include/linux/mtd/ |
H A D | mtd.h | 543 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs);
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mtdcore.c | 1618 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs) in mtd_block_isbad() function 1626 EXPORT_SYMBOL_GPL(mtd_block_isbad);
|
H A D | mtdconcat.c | 624 res = mtd_block_isbad(subdev, ofs); in concat_block_isbad()
|
H A D | mtdpart.c | 766 if (mtd_block_isbad(master, offs + slave->offset)) in allocate_partition()
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | io.c | 612 ret = mtd_block_isbad(mtd, (loff_t)pnum * ubi->peb_size); in ubi_io_is_bad()
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | io.c | 581 ret = mtd_block_isbad(mtd, (loff_t)pnum * ubi->peb_size); in ubi_io_is_bad()
|