Lines Matching refs:blockpage
849 int blockpage, block, page; in onenand_get_2x_blockpage() local
857 blockpage = (block << 7) | page; in onenand_get_2x_blockpage()
859 return blockpage; in onenand_get_2x_blockpage()
873 int blockpage, found = 0; in onenand_check_bufferram() local
877 blockpage = onenand_get_2x_blockpage(mtd, addr); in onenand_check_bufferram()
879 blockpage = (int) (addr >> this->page_shift); in onenand_check_bufferram()
883 if (this->bufferram[i].blockpage == blockpage) in onenand_check_bufferram()
888 if (this->bufferram[i].blockpage == blockpage) { in onenand_check_bufferram()
916 int blockpage; in onenand_update_bufferram() local
920 blockpage = onenand_get_2x_blockpage(mtd, addr); in onenand_update_bufferram()
922 blockpage = (int) (addr >> this->page_shift); in onenand_update_bufferram()
926 if (this->bufferram[i].blockpage == blockpage) in onenand_update_bufferram()
927 this->bufferram[i].blockpage = -1; in onenand_update_bufferram()
932 this->bufferram[i].blockpage = blockpage; in onenand_update_bufferram()
934 this->bufferram[i].blockpage = -1; in onenand_update_bufferram()
954 loff_t buf_addr = this->bufferram[i].blockpage << this->page_shift; in onenand_invalidate_bufferram()
956 this->bufferram[i].blockpage = -1; in onenand_invalidate_bufferram()