Home
last modified time | relevance | path

Searched refs:bbm (Results 1 – 4 of 4) sorted by relevance

/u-boot/drivers/mtd/onenand/
A Donenand_bbt.c67 struct bbm_info *bbm = this->bbm; in create_bbt() local
156 struct bbm_info *bbm = this->bbm; in onenand_isbad_bbt() local
196 struct bbm_info *bbm = this->bbm; in onenand_scan_bbt() local
201 bbm->bbt = malloc(len); in onenand_scan_bbt()
202 if (!bbm->bbt) in onenand_scan_bbt()
213 if (!bbm->isbad_bbt) in onenand_scan_bbt()
220 free(bbm->bbt); in onenand_scan_bbt()
221 bbm->bbt = NULL; in onenand_scan_bbt()
250 struct bbm_info *bbm; in onenand_default_bbt() local
253 if (!this->bbm) in onenand_default_bbt()
[all …]
A Donenand_base.c1717 struct bbm_info *bbm = this->bbm; in onenand_block_isbad_nolock() local
1720 return bbm->isbad_bbt(mtd, ofs, allowbbt); in onenand_block_isbad_nolock()
1898 struct bbm_info *bbm = this->bbm; in onenand_default_block_markbad() local
1910 if (bbm->bbt) in onenand_default_block_markbad()
1911 bbm->bbt[block >> 2] |= 0x01 << ((block & 0x03) << 1); in onenand_default_block_markbad()
1914 ofs += mtd->oobsize + (bbm->badblockpos & ~0x01); in onenand_default_block_markbad()
/u-boot/include/linux/mtd/
A Donenand.h123 void *bbm; member
/u-boot/drivers/mtd/nand/raw/
A Dsunxi_nand.c750 static void sunxi_nfc_randomize_bbm(struct mtd_info *mtd, int page, u8 *bbm) in sunxi_nfc_randomize_bbm() argument
754 bbm[0] ^= state; in sunxi_nfc_randomize_bbm()
755 bbm[1] ^= sunxi_nfc_randomizer_step(state, 8); in sunxi_nfc_randomize_bbm()
817 bool bbm, int page) in sunxi_nfc_hw_ecc_read_chunk() argument
896 if (bbm && nand->options & NAND_NEED_SCRAMBLING) in sunxi_nfc_hw_ecc_read_chunk()
943 int *cur_off, bool bbm, in sunxi_nfc_hw_ecc_write_chunk() argument
957 if ((nand->options & NAND_NEED_SCRAMBLING) && bbm) { in sunxi_nfc_hw_ecc_write_chunk()

Completed in 14 milliseconds