Lines Matching refs:blockpage
619 int blockpage, block, page; in onenand_get_2x_blockpage() local
627 blockpage = (block << 7) | page; in onenand_get_2x_blockpage()
629 return blockpage; in onenand_get_2x_blockpage()
643 int blockpage, found = 0; in onenand_check_bufferram() local
647 blockpage = onenand_get_2x_blockpage(mtd, addr); in onenand_check_bufferram()
649 blockpage = (int) (addr >> this->page_shift); in onenand_check_bufferram()
653 if (this->bufferram[i].blockpage == blockpage) in onenand_check_bufferram()
658 if (this->bufferram[i].blockpage == blockpage) { in onenand_check_bufferram()
686 int blockpage; in onenand_update_bufferram() local
690 blockpage = onenand_get_2x_blockpage(mtd, addr); in onenand_update_bufferram()
692 blockpage = (int)(addr >> this->page_shift); in onenand_update_bufferram()
696 if (this->bufferram[i].blockpage == blockpage) in onenand_update_bufferram()
697 this->bufferram[i].blockpage = -1; in onenand_update_bufferram()
702 this->bufferram[i].blockpage = blockpage; in onenand_update_bufferram()
704 this->bufferram[i].blockpage = -1; in onenand_update_bufferram()
726 loff_t buf_addr = this->bufferram[i].blockpage << this->page_shift; in onenand_invalidate_bufferram()
729 this->bufferram[i].blockpage = -1; in onenand_invalidate_bufferram()