Searched refs:_block_isbad (Results 1 – 16 of 16) sorted by relevance
508 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()
828 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()
742 if (subdev[0]->_block_isbad) in mtd_concat_create()743 concat->mtd._block_isbad = concat_block_isbad; in mtd_concat_create()
274 int (*_block_isbad) (struct mtd_info *mtd, loff_t ofs); member503 return !!mtd->_block_isbad; in mtd_can_have_bb()
352 int (*_block_isbad) (struct mtd_info *mtd, loff_t ofs); member668 return !!master->_block_isbad; in mtd_can_have_bb()
691 if (subdev_master->_block_isbad) in mtd_concat_create()692 concat->mtd._block_isbad = concat_block_isbad; in mtd_concat_create()
206 if (master->_block_isbad) { in allocate_partition()
46 if (!mtd->_block_isbad) { in inftl_add_mtd()
2314 if (!master->_block_isbad) in mtd_block_isbad()2320 return master->_block_isbad(master, mtd_get_master_ofs(mtd, ofs)); in mtd_block_isbad()
1101 mtd->_block_isbad = spinand_mtd_block_isbad; in spinand_init()
1271 mtd->_block_isbad = spinand_mtd_block_isbad; in spinand_init()
1784 mtd->_block_isbad = doc_block_isbad; in doc_set_driver_info()
2662 mtd->_block_isbad = onenand_block_isbad; in onenand_probe()
3969 mtd->_block_isbad = onenand_block_isbad; in onenand_scan()
4580 mtd->_block_isbad = nand_block_isbad; in nand_scan_tail()
6538 mtd->_block_isbad = nand_block_isbad; in nand_scan_tail()