Lines Matching defs:page

51  *  onenand_oob_128 - oob info for Flex-Onenand with 4KB page
72 * onenand_oob_64 - oob info for large (2KB) page
89 * onenand_oob_32 - oob info for middle (1KB) page
183 * onenand_page_address - [DEFAULT] Get page address
184 * @param page the page address
186 * Return: combined page and sector address
190 static int onenand_page_address(int page, int sector)
195 fpa = page & ONENAND_FPA_MASK;
326 * Send command to OneNAND device. This function is used for middle/large page
327 * devices (1KB/2KB Bytes per page)
334 int block, page;
336 /* Now we use page size operation */
346 page = -1;
352 page = -1;
358 page = -1;
364 page = 0;
369 page = (int) (addr
371 page &= this->page_mask;
403 if (page != -1) {
423 value = onenand_page_address(page, sectors);
623 int blockpage, block, page;
630 page = (int) (addr >> (this->page_shift + 1)) & this->page_mask;
631 blockpage = (block << 7) | page;
805 * onenand_recover_lsb - [Flex-OneNAND] Recover LSB page data
810 * MLC NAND Flash cell has paired pages - LSB page and MSB page. LSB page has
811 * lower page address and MSB page has higher page address in paired pages.
812 * If power off occurs during MSB page program, the paired LSB page data can
813 * become corrupt. LSB page recovery read is a way to read LSB page though page
814 * data are corrupted. When uncorrectable error occurs as a result of LSB page
815 * read after power up, issue LSB page recovery read.
838 /* Issue the LSB page recovery command */
1434 /* Reject writes, which are not page aligned */
1436 printk(KERN_ERR "onenand_write_ops_nolock: Attempt to write not page aligned data\n");
1458 /* Partial page write */
1491 /* In partial page write we don't update bufferram */
1567 /* For compatibility with NAND: Do not allow write past end of page */
1570 "Attempt to write past end of page\n");
2622 /* OneNAND page size & block size */
2623 /* The data buffer size is equal to page size */
2648 /* It's real page size */