Lines Matching full:bbt
10 * Split BBT core and chip specific BBT.
111 bbm->bbt[i >> 3] |= 0x03 << (i & 0x6); in create_bbt()
135 * The function creates a memory based bbt by scanning the device
161 res = (bbm->bbt[block >> 3] >> (block & 0x06)) & 0x03; in onenand_isbad_bbt()
163 pr_debug("onenand_isbad_bbt: bbt info for offs 0x%08x: (block %d) 0x%02x\n", in onenand_isbad_bbt()
200 bbm->bbt = malloc(len); in onenand_scan_bbt()
201 if (!bbm->bbt) in onenand_scan_bbt()
204 memset(bbm->bbt, 0x00, len); in onenand_scan_bbt()
218 "onenand_scan_bbt: Can't scan flash and build the RAM-based BBT\n"); in onenand_scan_bbt()
219 free(bbm->bbt); in onenand_scan_bbt()
220 bbm->bbt = NULL; in onenand_scan_bbt()