Lines Matching refs:bbt_erase_shift

191 		len = min(totlen, (size_t)(1 << this->bbt_erase_shift));  in read_bbt()
227 this->bbt_erase_shift); in read_bbt()
239 this->bbt_erase_shift); in read_bbt()
277 this->chipsize >> this->bbt_erase_shift, in read_abs_bbt()
281 offs += this->chipsize >> this->bbt_erase_shift; in read_abs_bbt()
285 mtd->size >> this->bbt_erase_shift, td, 0); in read_abs_bbt()
473 numblocks = mtd->size >> this->bbt_erase_shift; in create_bbt()
482 numblocks = this->chipsize >> this->bbt_erase_shift; in create_bbt()
485 from = (loff_t)startblock << this->bbt_erase_shift; in create_bbt()
507 from += (1 << this->bbt_erase_shift); in create_bbt()
534 int blocktopage = this->bbt_erase_shift - this->page_shift; in search_bbt()
538 startblock = (mtd->size >> this->bbt_erase_shift) - 1; in search_bbt()
548 bbtblocks = this->chipsize >> this->bbt_erase_shift; in search_bbt()
552 bbtblocks = mtd->size >> this->bbt_erase_shift; in search_bbt()
563 loff_t offs = (loff_t)actblock << this->bbt_erase_shift; in search_bbt()
576 startblock += this->chipsize >> this->bbt_erase_shift; in search_bbt()
644 numblocks = (int)(this->chipsize >> this->bbt_erase_shift); in write_bbt()
653 numblocks = (int)(mtd->size >> this->bbt_erase_shift); in write_bbt()
690 (this->bbt_erase_shift - this->page_shift); in write_bbt()
723 to &= ~((loff_t)((1 << this->bbt_erase_shift) - 1)); in write_bbt()
724 len = 1 << this->bbt_erase_shift; in write_bbt()
791 einfo.len = 1 << this->bbt_erase_shift; in write_bbt()
975 nrblocks = (int)(this->chipsize >> this->bbt_erase_shift); in mark_bbt_region()
978 nrblocks = (int)(mtd->size >> this->bbt_erase_shift); in mark_bbt_region()
986 block = td->pages[i] >> (this->bbt_erase_shift - this->page_shift); in mark_bbt_region()
992 this->bbt_erase_shift); in mark_bbt_region()
1014 this->bbt_erase_shift); in mark_bbt_region()
1056 table_size = this->chipsize >> this->bbt_erase_shift; in verify_bbt_descr()
1058 table_size = mtd->size >> this->bbt_erase_shift; in verify_bbt_descr()
1063 BUG_ON(table_size > (1 << this->bbt_erase_shift)); in verify_bbt_descr()
1086 len = mtd->size >> (this->bbt_erase_shift + 2); in nand_scan_bbt()
1111 len = (1 << this->bbt_erase_shift); in nand_scan_bbt()
1159 len = (1 << this->bbt_erase_shift); in nand_update_bbt()
1321 block = (int)(offs >> this->bbt_erase_shift); in nand_isreserved_bbt()
1336 block = (int)(offs >> this->bbt_erase_shift); in nand_isbad_bbt()
1363 block = (int)(offs >> this->bbt_erase_shift); in nand_markbad_bbt()