Searched refs:bbt (Results 1 - 8 of 8) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/onenand/
H A Donenand_bbt.c104 bbm->bbt[i >> 3] |= 0x03 << (i & 0x6);
124 * The function creates a memory based bbt by scanning the device
150 res = (bbm->bbt[block >> 3] >> (block & 0x06)) & 0x03;
152 DEBUG(MTD_DEBUG_LEVEL2, "onenand_isbad_bbt: bbt info for offs 0x%08x: (block %d) 0x%02x\n",
186 bbm->bbt = kzalloc(len, GFP_KERNEL);
187 if (!bbm->bbt) {
204 kfree(bbm->bbt);
205 bbm->bbt = NULL;
H A Donenand_base.c1026 * onenand_bbt_read_oob - [MTD Interface] OneNAND read out-of-band for bbt scan
1031 * OneNAND read out-of-band data from the spare area for bbt scan
1444 * @param allowbbt 1, if its allowed to access the bbt area
1599 if (bbm->bbt)
1600 bbm->bbt[block >> 2] |= 0x01 << ((block & 0x03) << 1);
2453 kfree(bbm->bbt);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/mtd/
H A Dbbm.h23 * @pages: the page(s) where we find the bbt, used with
24 * option BBT_ABSPAGE when bbt is searched,
28 * @veroffs: offset of the bbt version counter in the oob area of the page
29 * @version: version read from the bbt page during scan
31 * @maxblocks: maximum number of blocks to search for a bbt. This
35 * (rather than bad) block in the stored bbt
58 /* The number of bits used per block in the bbt on the device */
66 /* The bbt is at the given page, else we must scan for the bbt */
68 /* The bbt i
118 uint8_t *bbt; member in struct:bbm_info
[all...]
H A Dnand.h205 /* This option skips the bbt scan during initialization. */
365 * @bbt_erase_shift: [INTERN] number of address bits in a bbt entry
381 * @bbt: [INTERN] bad block table pointer
451 uint8_t *bbt; member in struct:nand_chip
511 * @pages: the page(s) where we find the bbt, used with option BBT_ABSPAGE
512 * when bbt is searched, then we store the found bbts pages here.
515 * @veroffs: offset of the bbt version counter in the oob are of the page
516 * @version: version read from the bbt page during scan
518 * @maxblocks: maximum number of blocks to search for a bbt. This number of
522 * bad) block in the stored bbt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/nand/
H A Dnand_bbt.c18 * depending on the options in the bbt descriptor(s). If a bbt is found
19 * then the contents are read and the memory based bbt is created. If a
20 * mirrored bbt is selected then the mirror is searched too and the
22 * than the mirror bbt is used to build the memory based bbt.
24 * If one of the bbt's is out of date or does not exist it is (re)created.
25 * If no bbt exists at all then the device is scanned for factory marked
29 * the bbt is searched and read but never created
44 * 10b: block is reserved (to protect the bbt are
[all...]
H A Dnand_base.c360 if (chip->bbt)
361 chip->bbt[block >> 2] |= 0x01 << ((block & 0x03) << 1);
409 * @allowbbt: 1, if its allowed to access the bbt area
419 if (!chip->bbt)
2029 * @allowbbt: allow erasing the bbt area
2090 * can not be matched. This is also done when the bbt is actually
2791 kfree(chip->bbt);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/47xxnand/
H A Dbrcmnand_bbt.c22 * depending on the options in the bbt descriptor(s). If a bbt is found
23 * then the contents are read and the memory based bbt is created. If a
24 * mirrored bbt is selected then the mirror is searched too and the
26 * than the mirror bbt is used to build the memory based bbt.
28 * If one of the bbt's is out of date or does not exist it is (re)created.
29 * If no bbt exists at all then the device is scanned for factory marked
33 * the bbt is searched and read but never created
48 * 10b: block is reserved (to protect the bbt are
[all...]
H A Dbrcmnand_47xx.c405 * @allowbbt: 1, if its allowed to access the bbt area
416 if (!chip->bbt)
1637 /* do not allow erase of bbt */
1706 if (chip->bbt)
1707 chip->bbt[block >> 2] |= 0x01 << ((block & 0x03) << 1);

Completed in 58 milliseconds