• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/nand/

Lines Matching refs:bbt_erase_shift

158 		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 - 1);
439 from += (1 << this->bbt_erase_shift);
468 int blocktopage = this->bbt_erase_shift - this->page_shift;
472 startblock = (mtd->size >> this->bbt_erase_shift) - 1;
482 bbtblocks = this->chipsize >> this->bbt_erase_shift;
486 bbtblocks = mtd->size >> this->bbt_erase_shift;
500 loff_t offs = actblock << this->bbt_erase_shift;
512 startblock += this->chipsize >> this->bbt_erase_shift;
583 numblocks = (int)(this->chipsize >> this->bbt_erase_shift);
592 numblocks = (int)(mtd->size >> this->bbt_erase_shift);
628 (this->bbt_erase_shift - this->page_shift);
663 to &= ~((loff_t) ((1 << this->bbt_erase_shift) - 1));
664 len = 1 << this->bbt_erase_shift;
725 einfo.len = 1 << this->bbt_erase_shift;
898 nrblocks = (int)(this->chipsize >> this->bbt_erase_shift);
901 nrblocks = (int)(mtd->size >> this->bbt_erase_shift);
909 block = td->pages[i] >> (this->bbt_erase_shift - this->page_shift);
915 nand_update_bbt(mtd, block << (this->bbt_erase_shift - 1));
936 nand_update_bbt(mtd, (block - 2) << (this->bbt_erase_shift - 1));
962 len = mtd->size >> (this->bbt_erase_shift + 2);
983 len = (1 << this->bbt_erase_shift);
1032 len = mtd->size >> (this->bbt_erase_shift + 2);
1034 len = (1 << this->bbt_erase_shift);
1203 block = (int)(offs >> (this->bbt_erase_shift - 1));