Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A Dinternals.h87 int allowbbt);
161 int nand_isbad_bbt(struct nand_chip *chip, loff_t offs, int allowbbt);
H A Dnand_bbt.c1448 int nand_isbad_bbt(struct nand_chip *this, loff_t offs, int allowbbt) in nand_isbad_bbt() argument
1467 return allowbbt ? 0 : 1; in nand_isbad_bbt()
H A Dnand_base.c625 static int nand_block_checkbad(struct nand_chip *chip, loff_t ofs, int allowbbt) in nand_block_checkbad() argument
629 return nand_isbad_bbt(chip, ofs, allowbbt); in nand_block_checkbad()
4636 int allowbbt) in nand_erase_nand() argument
4681 chip->page_shift, allowbbt)) { in nand_erase_nand()
/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_bbt.c152 static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) in onenand_isbad_bbt() argument
172 return allowbbt ? 0 : 1; in onenand_isbad_bbt()
H A Donenand_base.c1711 static int onenand_block_isbad_nolock(struct mtd_info *mtd, loff_t ofs, int allowbbt) in onenand_block_isbad_nolock() argument
1717 return bbm->isbad_bbt(mtd, ofs, allowbbt); in onenand_block_isbad_nolock()
/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_bbt.c144 static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) in onenand_isbad_bbt() argument
161 case 0x02: return allowbbt ? 0 : 1; in onenand_isbad_bbt()
H A Donenand_base.c2120 static int onenand_block_isbad_nolock(struct mtd_info *mtd, loff_t ofs, int allowbbt) in onenand_block_isbad_nolock() argument
2126 return bbm->isbad_bbt(mtd, ofs, allowbbt); in onenand_block_isbad_nolock()
/openbmc/linux/include/linux/mtd/
H A Dbbm.h132 int (*isbad_bbt)(struct mtd_info *mtd, loff_t ofs, int allowbbt);
/openbmc/u-boot/include/linux/mtd/
H A Dbbm.h149 int (*isbad_bbt)(struct mtd_info *mtd, loff_t ofs, int allowbbt);
H A Drawnand.h1100 int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt);
1102 int allowbbt);
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dmxs_nand_spl.c161 static int is_badblock(struct mtd_info *mtd, loff_t offs, int allowbbt) in is_badblock() argument
H A Dnand_bbt.c1331 int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) in nand_isbad_bbt() argument
1348 return allowbbt ? 0 : 1; in nand_isbad_bbt()
H A Dnand_base.c525 static int nand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int allowbbt) in nand_block_checkbad() argument
539 return nand_isbad_bbt(mtd, ofs, allowbbt); in nand_block_checkbad()
2816 int allowbbt) in nand_erase_nand() argument
2860 chip->page_shift, allowbbt)) { in nand_erase_nand()