Home
last modified time | relevance | path

Searched refs:allowbbt (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/mtd/onenand/
Donenand_bbt.c146 static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) in onenand_isbad_bbt() argument
163 case 0x02: return allowbbt ? 0 : 1; in onenand_isbad_bbt()
Donenand_base.c2231 static int onenand_block_isbad_nolock(struct mtd_info *mtd, loff_t ofs, int allowbbt) in onenand_block_isbad_nolock() argument
2237 return bbm->isbad_bbt(mtd, ofs, allowbbt); in onenand_block_isbad_nolock()
/linux-3.4.99/include/linux/mtd/
Dbbm.h163 int (*isbad_bbt)(struct mtd_info *mtd, loff_t ofs, int allowbbt);
Dnand.h597 extern int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt);
599 int allowbbt);
/linux-3.4.99/drivers/mtd/nand/
Dnand_base.c499 int allowbbt) in nand_block_checkbad() argument
507 return nand_isbad_bbt(mtd, ofs, allowbbt); in nand_block_checkbad()
2538 int allowbbt) in nand_erase_nand() argument
2580 if (chip->options & BBT_AUTO_REFRESH && !allowbbt) in nand_erase_nand()
2591 chip->page_shift, 0, allowbbt)) { in nand_erase_nand()
Dnand_bbt.c1382 int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) in nand_isbad_bbt() argument
1402 return allowbbt ? 0 : 1; in nand_isbad_bbt()