Lines Matching refs:page_shift
180 from = ((loff_t)page) << this->page_shift; in read_bbt()
396 scan_read(this, buf, (loff_t)td->pages[0] << this->page_shift, in read_abs_bbts()
405 scan_read(this, buf, (loff_t)md->pages[0] << this->page_shift, in read_abs_bbts()
532 int blocktopage = this->bbt_erase_shift - this->page_shift; in search_bbt()
634 (this->bbt_erase_shift - this->page_shift); in get_bbt_block()
662 page = block << (this->bbt_erase_shift - this->page_shift); in get_bbt_block()
765 page = block << (this->bbt_erase_shift - this->page_shift); in write_bbt()
786 to = ((loff_t)page) << this->page_shift; in write_bbt()
802 ops.ooblen = (len >> this->page_shift) * mtd->oobsize; in write_bbt()
809 pageoffs = page - (int)(to >> this->page_shift); in write_bbt()
810 offs = pageoffs << this->page_shift; in write_bbt()
837 (len >> this->page_shift)* mtd->oobsize); in write_bbt()
1055 len += (len >> this->page_shift) * mtd->oobsize; in nand_update_bbt()
1118 block = td->pages[i] >> (this->bbt_erase_shift - this->page_shift); in mark_bbt_region()
1244 len += (len >> this->page_shift) * mtd->oobsize; in nand_scan_bbt()