Searched refs:bbt_erase_shift (Results 1 - 9 of 9) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/nand/
H A Dnand_bbt.c158 len = min(totlen, (size_t) (1 << this->bbt_erase_shift));
177 ((offs << 2) + (act >> 1)) << this->bbt_erase_shift);
185 ((offs << 2) + (act >> 1)) << this->bbt_erase_shift);
222 res = read_bbt (mtd, buf, td->pages[i], this->chipsize >> this->bbt_erase_shift, bits, offs, td->reserved_block_code);
225 offs += this->chipsize >> (this->bbt_erase_shift + 2);
228 res = read_bbt (mtd, buf, td->pages[0], mtd->size >> this->bbt_erase_shift, bits, 0, td->reserved_block_code);
383 len = 1 << (this->bbt_erase_shift - this->page_shift);
404 numblocks = mtd->size >> (this->bbt_erase_shift - 1);
413 numblocks = this->chipsize >> (this->bbt_erase_shift - 1);
416 from = startblock << (this->bbt_erase_shift
[all...]
H A Ddiskonchip.c1155 this->bbt_erase_shift += (0xff - mh->UnitSizeFactor);
1158 blocks = mtd->size >> this->bbt_erase_shift;
1181 parts[numparts].size = (mh->NumEraseUnits - numheaders) << this->bbt_erase_shift;
H A Dnand_base.c359 block = (int)(ofs >> chip->bbt_erase_shift);
2437 chip->bbt_erase_shift = chip->phys_erase_shift =
2479 DEBUG(MTD_DEBUG_LEVEL3, "NAND device: page_shift=%d pagemask=%d bbt_erase_shift=%d "
2481 chip->page_shift, chip->pagemask, chip->bbt_erase_shift,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/47xxnand/
H A Dbrcmnand_bbt.c223 len = min(totlen, (size_t) (1 << this->bbt_erase_shift));
244 << this->bbt_erase_shift);
253 ((offs << 2) + (act >> 1)) << this->bbt_erase_shift);
255 ((offs << 2) + (act >> 1)) << this->bbt_erase_shift);
294 this->chipsize >> this->bbt_erase_shift,
298 offs += this->chipsize >> (this->bbt_erase_shift + 2);
302 mtd->size >> this->bbt_erase_shift, bits, 0, td->reserved_block_code);
460 len = 1 << (this->bbt_erase_shift - this->page_shift);
482 numblocks = mtd->size >> (this->bbt_erase_shift - 1);
491 numblocks = this->chipsize >> (this->bbt_erase_shift
[all...]
H A Dbrcmnand_47xx.c1701 block = (int)(ofs >> chip->bbt_erase_shift);
1703 page = block << (chip->bbt_erase_shift - chip->page_shift);
2461 chip->bbt_erase_shift = chip->phys_erase_shift =
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/onenand/
H A Donenand_bbt.c82 numblocks = mtd->size >> (bbm->bbt_erase_shift - 1);
112 from += (1 << bbm->bbt_erase_shift);
149 block = (int) (offs >> (bbm->bbt_erase_shift - 1));
196 bbm->bbt_erase_shift = this->erase_shift;
H A Donenand_base.c1598 block = ((int) ofs) >> bbm->bbt_erase_shift;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/mtd/
H A Dbbm.h104 * @bbt_erase_shift: [INTERN] number of address bits in a bbt entry
114 int bbt_erase_shift; member in struct:bbm_info
H A Dnand.h365 * @bbt_erase_shift: [INTERN] number of address bits in a bbt entry
426 int bbt_erase_shift; member in struct:nand_chip

Completed in 60 milliseconds