Lines Matching defs:blockpage
866 * onenand_get_2x_blockpage - [GENERIC] Get blockpage at 2x program mode
869 * @return blockpage address
871 * Get blockpage address at 2x program mode
876 int blockpage, block, page;
884 blockpage = (block << 7) | page;
886 return blockpage;
900 int blockpage, found = 0;
904 blockpage = onenand_get_2x_blockpage(mtd, addr);
906 blockpage = (int) (addr >> this->page_shift);
910 if (this->bufferram[i].blockpage == blockpage)
915 if (this->bufferram[i].blockpage == blockpage) {
943 int blockpage;
947 blockpage = onenand_get_2x_blockpage(mtd, addr);
949 blockpage = (int) (addr >> this->page_shift);
953 if (this->bufferram[i].blockpage == blockpage)
954 this->bufferram[i].blockpage = -1;
959 this->bufferram[i].blockpage = blockpage;
961 this->bufferram[i].blockpage = -1;
981 loff_t buf_addr = this->bufferram[i].blockpage << this->page_shift;
983 this->bufferram[i].blockpage = -1;