bbm 2119 drivers/mtd/nand/onenand/onenand_base.c struct bbm_info *bbm = this->bbm; bbm 2122 drivers/mtd/nand/onenand/onenand_base.c return bbm->isbad_bbt(mtd, ofs, allowbbt); bbm 2442 drivers/mtd/nand/onenand/onenand_base.c struct bbm_info *bbm = this->bbm; bbm 2454 drivers/mtd/nand/onenand/onenand_base.c if (bbm->bbt) bbm 2455 drivers/mtd/nand/onenand/onenand_base.c bbm->bbt[block >> 2] |= 0x01 << ((block & 0x03) << 1); bbm 4003 drivers/mtd/nand/onenand/onenand_base.c if (this->bbm) { bbm 4004 drivers/mtd/nand/onenand/onenand_base.c struct bbm_info *bbm = this->bbm; bbm 4005 drivers/mtd/nand/onenand/onenand_base.c kfree(bbm->bbt); bbm 4006 drivers/mtd/nand/onenand/onenand_base.c kfree(this->bbm); bbm 59 drivers/mtd/nand/onenand/onenand_bbt.c struct bbm_info *bbm = this->bbm; bbm 79 drivers/mtd/nand/onenand/onenand_bbt.c numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); bbm 103 drivers/mtd/nand/onenand/onenand_bbt.c bbm->bbt[i >> 3] |= 0x03 << (i & 0x6); bbm 116 drivers/mtd/nand/onenand/onenand_bbt.c from += (1 << bbm->bbt_erase_shift); bbm 147 drivers/mtd/nand/onenand/onenand_bbt.c struct bbm_info *bbm = this->bbm; bbm 153 drivers/mtd/nand/onenand/onenand_bbt.c res = (bbm->bbt[block >> 3] >> (block & 0x06)) & 0x03; bbm 184 drivers/mtd/nand/onenand/onenand_bbt.c struct bbm_info *bbm = this->bbm; bbm 189 drivers/mtd/nand/onenand/onenand_bbt.c bbm->bbt = kzalloc(len, GFP_KERNEL); bbm 190 drivers/mtd/nand/onenand/onenand_bbt.c if (!bbm->bbt) bbm 194 drivers/mtd/nand/onenand/onenand_bbt.c bbm->bbt_erase_shift = this->erase_shift; bbm 196 drivers/mtd/nand/onenand/onenand_bbt.c if (!bbm->isbad_bbt) bbm 197 drivers/mtd/nand/onenand/onenand_bbt.c bbm->isbad_bbt = onenand_isbad_bbt; bbm 202 drivers/mtd/nand/onenand/onenand_bbt.c kfree(bbm->bbt); bbm 203 drivers/mtd/nand/onenand/onenand_bbt.c bbm->bbt = NULL; bbm 232 drivers/mtd/nand/onenand/onenand_bbt.c struct bbm_info *bbm; bbm 234 drivers/mtd/nand/onenand/onenand_bbt.c this->bbm = kzalloc(sizeof(struct bbm_info), GFP_KERNEL); bbm 235 drivers/mtd/nand/onenand/onenand_bbt.c if (!this->bbm) bbm 238 drivers/mtd/nand/onenand/onenand_bbt.c bbm = this->bbm; bbm 241 drivers/mtd/nand/onenand/onenand_bbt.c if (!bbm->badblock_pattern) bbm 242 drivers/mtd/nand/onenand/onenand_bbt.c bbm->badblock_pattern = &largepage_memorybased; bbm 244 drivers/mtd/nand/onenand/onenand_bbt.c return onenand_scan_bbt(mtd, bbm->badblock_pattern); bbm 650 drivers/mtd/nand/raw/sunxi_nand.c static void sunxi_nfc_randomize_bbm(struct nand_chip *nand, int page, u8 *bbm) bbm 654 drivers/mtd/nand/raw/sunxi_nand.c bbm[0] ^= state; bbm 655 drivers/mtd/nand/raw/sunxi_nand.c bbm[1] ^= sunxi_nfc_randomizer_step(state, 8); bbm 717 drivers/mtd/nand/raw/sunxi_nand.c int step, bool bbm, int page) bbm 725 drivers/mtd/nand/raw/sunxi_nand.c if (bbm && (nand->options & NAND_NEED_SCRAMBLING)) bbm 731 drivers/mtd/nand/raw/sunxi_nand.c bool bbm, int page) bbm 737 drivers/mtd/nand/raw/sunxi_nand.c if (bbm && (nand->options & NAND_NEED_SCRAMBLING)) { bbm 801 drivers/mtd/nand/raw/sunxi_nand.c bool bbm, bool oob_required, int page) bbm 868 drivers/mtd/nand/raw/sunxi_nand.c bbm, page); bbm 1029 drivers/mtd/nand/raw/sunxi_nand.c int *cur_off, bool bbm, bbm 1049 drivers/mtd/nand/raw/sunxi_nand.c sunxi_nfc_hw_ecc_set_prot_oob_bytes(nand, oob, 0, bbm, page); bbm 135 include/linux/mtd/onenand.h void *bbm;