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()
561 int blocktopage = this->bbt_erase_shift - this->page_shift; in search_bbt()
667 (this->bbt_erase_shift - this->page_shift); in get_bbt_block()
695 page = block << (this->bbt_erase_shift - this->page_shift); in get_bbt_block()
798 page = block << (this->bbt_erase_shift - this->page_shift); in write_bbt()
819 to = ((loff_t)page) << this->page_shift; in write_bbt()
835 ops.ooblen = (len >> this->page_shift) * mtd->oobsize; in write_bbt()
842 pageoffs = page - (int)(to >> this->page_shift); in write_bbt()
843 offs = pageoffs << this->page_shift; in write_bbt()
870 (len >> this->page_shift)* mtd->oobsize); in write_bbt()
1088 len += (len >> this->page_shift) * mtd->oobsize; in nand_update_bbt()
1151 block = td->pages[i] >> (this->bbt_erase_shift - this->page_shift); in mark_bbt_region()
1277 len += (len >> this->page_shift) * mtd->oobsize; in nand_scan_bbt()