Home
last modified time | relevance | path

Searched refs:_block_isbad (Results 1 – 16 of 16) sorted by relevance

/openbmc/u-boot/drivers/mtd/
H A Dmtdpart.c508 return mtd->parent->_block_isbad(mtd->parent, ofs); in part_block_isbad()
661 if (master->_block_isbad) in allocate_partition()
662 slave->_block_isbad = part_block_isbad; in allocate_partition()
762 if (master->_block_isbad) { in allocate_partition()
H A Dmtdcore.c828 if (!mtd->_block_isbad) { in mtd_get_len_incl_bad()
844 if (!mtd->_block_isbad(mtd, offset & ~(mtd->erasesize - 1))) in mtd_get_len_incl_bad()
1622 if (!mtd->_block_isbad) in mtd_block_isbad()
1624 return mtd->_block_isbad(mtd, ofs); in mtd_block_isbad()
H A Dmtdconcat.c742 if (subdev[0]->_block_isbad) in mtd_concat_create()
743 concat->mtd._block_isbad = concat_block_isbad; in mtd_concat_create()
/openbmc/u-boot/include/linux/mtd/
H A Dmtd.h274 int (*_block_isbad) (struct mtd_info *mtd, loff_t ofs); member
503 return !!mtd->_block_isbad; in mtd_can_have_bb()
/openbmc/linux/include/linux/mtd/
H A Dmtd.h352 int (*_block_isbad) (struct mtd_info *mtd, loff_t ofs); member
668 return !!master->_block_isbad; in mtd_can_have_bb()
/openbmc/linux/drivers/mtd/
H A Dmtdconcat.c691 if (subdev_master->_block_isbad) in mtd_concat_create()
692 concat->mtd._block_isbad = concat_block_isbad; in mtd_concat_create()
H A Dmtdpart.c206 if (master->_block_isbad) { in allocate_partition()
H A Dinftlcore.c46 if (!mtd->_block_isbad) { in inftl_add_mtd()
H A Dmtdcore.c2314 if (!master->_block_isbad) in mtd_block_isbad()
2320 return master->_block_isbad(master, mtd_get_master_ofs(mtd, ofs)); in mtd_block_isbad()
/openbmc/u-boot/drivers/mtd/nand/spi/
H A Dcore.c1101 mtd->_block_isbad = spinand_mtd_block_isbad; in spinand_init()
/openbmc/linux/drivers/mtd/nand/spi/
H A Dcore.c1271 mtd->_block_isbad = spinand_mtd_block_isbad; in spinand_init()
/openbmc/linux/drivers/mtd/devices/
H A Ddocg3.c1784 mtd->_block_isbad = doc_block_isbad; in doc_set_driver_info()
/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_base.c2662 mtd->_block_isbad = onenand_block_isbad; in onenand_probe()
/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_base.c3969 mtd->_block_isbad = onenand_block_isbad; in onenand_scan()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_base.c4580 mtd->_block_isbad = nand_block_isbad; in nand_scan_tail()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_base.c6538 mtd->_block_isbad = nand_block_isbad; in nand_scan_tail()