Searched refs:bbm (Results 1 – 4 of 4) sorted by relevance
67 struct bbm_info *bbm = this->bbm; in create_bbt() local156 struct bbm_info *bbm = this->bbm; in onenand_isbad_bbt() local196 struct bbm_info *bbm = this->bbm; in onenand_scan_bbt() local201 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() local253 if (!this->bbm) in onenand_default_bbt()[all …]
1717 struct bbm_info *bbm = this->bbm; in onenand_block_isbad_nolock() local1720 return bbm->isbad_bbt(mtd, ofs, allowbbt); in onenand_block_isbad_nolock()1898 struct bbm_info *bbm = this->bbm; in onenand_default_block_markbad() local1910 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()
123 void *bbm; member
750 static void sunxi_nfc_randomize_bbm(struct mtd_info *mtd, int page, u8 *bbm) in sunxi_nfc_randomize_bbm() argument754 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() argument896 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() argument957 if ((nand->options & NAND_NEED_SCRAMBLING) && bbm) { in sunxi_nfc_hw_ecc_write_chunk()
Completed in 14 milliseconds