Lines Matching defs:blockpage
811 * onenand_get_2x_blockpage - [GENERIC] Get blockpage at 2x program mode
814 * @return blockpage address
816 * Get blockpage address at 2x program mode
821 int blockpage, block, page;
829 blockpage = (block << 7) | page;
831 return blockpage;
845 int blockpage, found = 0;
849 blockpage = onenand_get_2x_blockpage(mtd, addr);
851 blockpage = (int) (addr >> this->page_shift);
855 if (this->bufferram[i].blockpage == blockpage)
860 if (this->bufferram[i].blockpage == blockpage) {
888 int blockpage;
892 blockpage = onenand_get_2x_blockpage(mtd, addr);
894 blockpage = (int) (addr >> this->page_shift);
898 if (this->bufferram[i].blockpage == blockpage)
899 this->bufferram[i].blockpage = -1;
904 this->bufferram[i].blockpage = blockpage;
906 this->bufferram[i].blockpage = -1;
926 loff_t buf_addr = this->bufferram[i].blockpage << this->page_shift;
928 this->bufferram[i].blockpage = -1;