Home
last modified time | relevance | path

Searched refs:mtd_block_isbad (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/u-boot/cmd/
H A Donenand.c79 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 Dmtd.c331 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 Dredboot.c96 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions()
106 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions()
H A Dscpart.c113 !mtd_block_isbad(master, offs)) { in scpart_find_partmap()
H A Dsharpslpart.c197 if (mtd_block_isbad(mtd, block_adr)) in sharpsl_nand_init_ftl()
/openbmc/linux/drivers/mtd/tests/
H A Dmtd_test.c35 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
/openbmc/linux/drivers/mtd/
H A Dssfdc.c122 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 Dmtdoops.c127 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 Dnftlmount.c235 if (mtd_block_isbad(nftl->mbd.mtd, in find_boot_record()
H A Dinftlmount.c288 if (mtd_block_isbad(inftl->mbd.mtd, in find_boot_record()
H A Dmtdpstore.c38 ret = mtd_block_isbad(mtd, off); in mtdpstore_block_isbad()
H A Dmtdpart.c212 else if (mtd_block_isbad(child, offs)) in allocate_partition()
H A Dmtdswap.c331 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 Dmtdconcat.c602 res = mtd_block_isbad(subdev, ofs); in concat_block_isbad()
H A Dmtdcore.c2308 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 Dnand.h61 return mtd_block_isbad(info, ofs); in nand_block_isbad()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_mtdif2.c201 mtd_block_isbad(mtd, in nandmtd2_QueryNANDBlock()
/openbmc/u-boot/include/linux/mtd/
H A Dmtd.h445 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs);
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_util.c109 int ret = mtd_block_isbad(mtd, erase.addr); in nand_erase_opts()
/openbmc/linux/include/linux/mtd/
H A Dmtd.h543 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs);
/openbmc/u-boot/drivers/mtd/
H A Dmtdcore.c1618 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 Dmtdconcat.c624 res = mtd_block_isbad(subdev, ofs); in concat_block_isbad()
H A Dmtdpart.c766 if (mtd_block_isbad(master, offs + slave->offset)) in allocate_partition()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dio.c612 ret = mtd_block_isbad(mtd, (loff_t)pnum * ubi->peb_size); in ubi_io_is_bad()
/openbmc/linux/drivers/mtd/ubi/
H A Dio.c581 ret = mtd_block_isbad(mtd, (loff_t)pnum * ubi->peb_size); in ubi_io_is_bad()

12