Lines Matching refs:page_shift
183 from = ((loff_t)page) << this->page_shift; in read_bbt()
393 scan_read(mtd, buf, (loff_t)td->pages[0] << this->page_shift, in read_abs_bbts()
402 scan_read(mtd, buf, (loff_t)md->pages[0] << this->page_shift, in read_abs_bbts()
529 int blocktopage = this->bbt_erase_shift - this->page_shift; in search_bbt()
685 (this->bbt_erase_shift - this->page_shift); in write_bbt()
713 to = ((loff_t)page) << this->page_shift; in write_bbt()
729 ops.ooblen = (len >> this->page_shift) * mtd->oobsize; in write_bbt()
736 pageoffs = page - (int)(to >> this->page_shift); in write_bbt()
737 offs = pageoffs << this->page_shift; in write_bbt()
764 (len >> this->page_shift)* mtd->oobsize); in write_bbt()
981 block = td->pages[i] >> (this->bbt_erase_shift - this->page_shift); in mark_bbt_region()
1106 len += (len >> this->page_shift) * mtd->oobsize; in nand_scan_bbt()
1160 len += (len >> this->page_shift) * mtd->oobsize; in nand_update_bbt()